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

2.29.0 Weather Module w/api v3.0 works, sort of…

Scheduled Pinned Locked Moved Solved Troubleshooting
25 Posts 5 Posters 3.9k Views 5 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.
  • R Offline
    reilley @Peter
    last edited by Oct 8, 2024, 7:13 PM

    @Peter - Unfortunately, not yet. I’m wondering if anyone has been able to using the 3.0 API!

    1 Reply Last reply Reply Quote 0
    • H Offline
      HeikoGr
      last edited by Oct 8, 2024, 7:34 PM

      I got it working and think there are a few tricky typos in your config.

      module: “weather”,
      position: “top_center”,
      config: {
      weatherProvider: “openweathermap”,
      type: “current:,
      weatherEndpoint: ‘/onecall’,
      lat: ‘34.17188’.
      lon: ‘-84.57056’,
      apiVersion: ‘3.0’,
      apiKey: 'nunya”
      

      Line 5: closing quotation marks are missing
      Line 7: point as line ending instead of comma
      Line 10: wrong quotation mark

      Your config entry type is from line 5 - 10.

      P R 2 Replies Last reply Oct 8, 2024, 8:14 PM Reply Quote 1
      • P Offline
        Peter @HeikoGr
        last edited by Oct 8, 2024, 8:14 PM

        @HeikoGr does it show country and city in the header?
        Peter

        H 1 Reply Last reply Oct 8, 2024, 8:24 PM Reply Quote 0
        • H Offline
          HeikoGr @Peter
          last edited by Oct 8, 2024, 8:24 PM

          @Peter no, unfortunately not

          P 1 Reply Last reply Oct 8, 2024, 8:27 PM Reply Quote 0
          • P Offline
            Peter @HeikoGr
            last edited by Oct 8, 2024, 8:27 PM

            @HeikoGr what does it show in the header?
            And do you see the right weather for your location?
            Peter

            H 1 Reply Last reply Oct 8, 2024, 8:28 PM Reply Quote 0
            • H Offline
              HeikoGr @Peter
              last edited by Oct 8, 2024, 8:28 PM

              @Peter it shows the timezone „EUROPE/BERLIN“, but the weather is correct.

              P R 2 Replies Last reply Oct 8, 2024, 8:33 PM Reply Quote 0
              • P Offline
                Peter @HeikoGr
                last edited by Oct 8, 2024, 8:33 PM

                @HeikoGr can you share your config?
                Without the key and only the weatherpart.
                Thanks!
                Peter

                H 1 Reply Last reply Oct 8, 2024, 8:37 PM Reply Quote 0
                • H Offline
                  HeikoGr @Peter
                  last edited by Oct 8, 2024, 8:37 PM

                  @Peter of course

                  
                        {
                              disabled: false,
                              module: "weather",
                              position: "top_right",
                              config:
                              {
                                  // See 'Configuration options' for more information.
                                  weatherProvider: 'openweathermap',
                                  weatherEndpoint: '/onecall',
                                  apiKey: 'apikey',
                                  apiVersion: '3.0',
                                  lat: '50.465',
                                  lon: '9.481',
                                  type: 'forecast',
                                  colored: true,
                                  fade: false,
                                  maxNumberOfDays: 3,
                                  degreeLabel: 'true',
                                  showWindDirectionAsArrow: 'true',
                                  decimalSymbol: ','
                              }
                          },
                  
                  
                  P 1 Reply Last reply Oct 8, 2024, 8:38 PM Reply Quote 0
                  • P Offline
                    Peter @HeikoGr
                    last edited by Oct 8, 2024, 8:38 PM

                    @HeikoGr thanks.
                    I will try tomorrow.
                    I will let you know!
                    Peter

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      reilley @HeikoGr
                      last edited by Oct 8, 2024, 9:19 PM

                      @HeikoGr - so as it was said before, we’re not going to see our city the way we did under v2.5 of the API. That’s going to likely need a response from the MM2 dev team because if /open call is used, it’s timezone/city only. It seems api 3.0 broke the location/locationID functionality when using “current” or “forecast”. Or did someone else get it to work?

                      S 1 Reply Last reply Oct 8, 2024, 10:05 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        13/25
                        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