• 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.

Openweathermap api works for 2 of my modules but not for Hourly

Scheduled Pinned Locked Moved Unsolved Troubleshooting
9 Posts 2 Posters 635 Views 2 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.
  • S Offline
    sdetweil @hengy
    last edited by May 20, 2024, 3:50 AM

    @hengy hourly uses the /onecall endpoint, and I think the new apikey ONLY works with the v3.0 api on onecall

    SO,

    in config for hourly set

    apiVersion :'3.0'
    

    it defaults to 2.5 til next release

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    H 1 Reply Last reply May 21, 2024, 12:16 AM Reply Quote 0
    • H Offline
      hengy @sdetweil
      last edited by sdetweil May 21, 2024, 12:47 PM May 21, 2024, 12:16 AM

      @sdetweil

      I’ve added it here. No luck.

      {
      module: "weather",
              position: "top_right",
              header: "Hourly",
              config: {
                      weatherProvider: "openweathermap",
                     type: 'hourly',
                       apiVersion :'3.0',
                      apiKey: "new api key",
                      units: "imperial",
                      maxEntries: 10,
                      fadePoint: 0.12,
      	    showPrecipationAmount: true,
      	    AnimationSpeed: 1000,
                      ignoreToday: true,
                      colored: true,
                      fade: false,
                      timeFormat: 12,
                      showFeelsLike: true,
                      lat: 40.7128,
                      lon: -74.0060,
      	}
      }
      
      S 1 Reply Last reply May 21, 2024, 1:00 PM Reply Quote 0
      • S Offline
        sdetweil @hengy
        last edited by May 21, 2024, 1:00 PM

        @hengy I took your config (edited and added the code block and start/end {} in your post)
        and my apikey
        on version 2.27

        and got this

        Screenshot at 2024-05-21 07-57-53.png

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        H 1 Reply Last reply May 21, 2024, 4:13 PM Reply Quote 0
        • H Offline
          hengy @sdetweil
          last edited by May 21, 2024, 4:13 PM

          @sdetweil Maybe my mistake. I’m using the new ver 3 api. Should I be using the previous version I had running with no issues?

          S 1 Reply Last reply May 21, 2024, 6:28 PM Reply Quote 0
          • S Offline
            sdetweil @hengy
            last edited by May 21, 2024, 6:28 PM

            @hengy I don’t know. I am using my 3.0 apikey

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            H 1 Reply Last reply May 22, 2024, 6:48 PM Reply Quote 0
            • H Offline
              hengy @sdetweil
              last edited by May 22, 2024, 6:48 PM

              @sdetweil possible they changed the plan. I’m using free.

              41d4c485-3cdb-45ba-9ad6-89053529d1ab-image.png

              S 1 Reply Last reply May 22, 2024, 7:25 PM Reply Quote 0
              • S Offline
                sdetweil @hengy
                last edited by sdetweil May 22, 2024, 7:31 PM May 22, 2024, 7:25 PM

                @hengy yes that doesnt provide hourly, says so right there.

                that is the plan that is going away. 2.5

                you must provide a credit card for 3.0 onecall
                first 1000 calls per day are no charge

                note: 3 module instances is 3 calls
                so only 333/ day. only 4 calls per minute each module

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                H 1 Reply Last reply May 23, 2024, 3:15 PM Reply Quote 0
                • H Offline
                  hengy @sdetweil
                  last edited by May 23, 2024, 3:15 PM

                  @sdetweil
                  Thanks for your help, will do.

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    6/9
                    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