• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Weather one call reason for "onecall"

Scheduled Pinned Locked Moved Solved Requests
8 Posts 4 Posters 1.3k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    A Former User
    last edited by A Former User Sep 22, 2022, 1:48 PM Jan 15, 2022, 9:42 PM

    This post is deleted!
    S 1 Reply Last reply Jan 15, 2022, 11:01 PM Reply Quote 0
    • S Offline
      sdetweil @Guest
      last edited by Jan 15, 2022, 11:01 PM

      @hango not the way the API works. choose which data u want. can’t get all in one call

      one call means one endpoint instead of multiple

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 1
      • C Offline
        cowboysdude Module Developer
        last edited by cowboysdude Jan 16, 2022, 2:18 AM Jan 16, 2022, 2:18 AM

        I say look for another module that’ll give you what you want. This isn’t going to do what you want it to do. The ONLY way you can get this to work is use your original mirror as your main mirror and clone that on other mirrors that way you’re only making ‘onecall’.

        BUT as far as getting ALL the info that’s not how it’s built. It’s built to pick onecall to get the info you need. There are 3 options:

        Current weather
        Daily forecast
        Hourly forecast

        S 1 Reply Last reply Jan 16, 2022, 4:03 AM Reply Quote 0
        • S Offline
          sdetweil @cowboysdude
          last edited by sdetweil Jan 16, 2022, 5:23 AM Jan 16, 2022, 4:03 AM

          @cowboysdude no. the only way to get this to work is to have multiple userids with different API keys

          three mirrors w the same apikey counts against the requests for that apikey ( ask me how I know!)

          I added the Climacell support to the smart-mirror weather plugin, after @Mykle1 showed me how easy it could be.

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          M 1 Reply Last reply Jan 23, 2022, 8:47 PM Reply Quote 1
          • S Offline
            sdetweil
            last edited by Jan 16, 2022, 1:57 PM

            @hango you can increase the time, every module has some update interval

            currently the node_helper does not cache or share data between modulename.js callers

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @sdetweil
              last edited by Jan 23, 2022, 8:47 PM

              @sdetweil said in Weather one call reason for "onecall":

              I added the Climacell support to the smart-mirror weather plugin, after @Mykle1 showed me how easy it could be.

              Huh? What?

              Don’t accuse me of doing something correctly.

              Create a working config
              How to add modules

              S 1 Reply Last reply Jan 23, 2022, 8:56 PM Reply Quote 0
              • S Offline
                sdetweil @Mykle1
                last edited by Jan 23, 2022, 8:56 PM

                @mykle1 lol! you are my inspiration… you have more modules than I ever thought about!!

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Jan 24, 2022, 1:42 AM Reply Quote 1
                • M Offline
                  Mykle1 Project Sponsor Module Developer @sdetweil
                  last edited by Jan 24, 2022, 1:42 AM

                  @sdetweil

                  Well, thanks to you and John I had the best help available when I got stuck (which was quite often). John gets the lion’s share of credits in my readMe files. I am indebted to you both and am forever in your debt.

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy