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.6k 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

      This post is deleted!
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Guest
        last edited by

        @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
        • cowboysdudeC Offline
          cowboysdude Module Developer
          last edited by cowboysdude

          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 Reply Quote 0
          • S Offline
            sdetweil @cowboysdude
            last edited by sdetweil

            @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

            Mykle1M 1 Reply Last reply Reply Quote 1
            • S Offline
              sdetweil
              last edited by

              @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
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @sdetweil
                last edited by

                @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 Reply Quote 0
                • S Offline
                  sdetweil @Mykle1
                  last edited by

                  @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

                  Mykle1M 1 Reply Last reply Reply Quote 1
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @sdetweil
                    last edited by

                    @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