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

v2.29.0 weather module issue

Scheduled Pinned Locked Moved Bug Hunt
21 Posts 8 Posters 2.2k Views 8 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.
  • K Offline
    kent79 @MarcLandis
    last edited by Oct 1, 2024, 2:38 PM

    @MarcLandis

    Thank you for information

    H 1 Reply Last reply Oct 2, 2024, 7:44 PM Reply Quote 0
    • D Offline
      dawookie1979
      last edited by Oct 1, 2024, 5:11 PM

      Hi,

      i have same issue. I have signed up for the v3 api. Does anyone have a config for me to copy my api into?

      my code:
      {
      module: “weather”,
      position: “top_left”,
      header: “Weather Forecast”,
      config: {
      weatherProvider: “openweathermap”,
      type: “forecast”,
      location: “Haverhill”,
      locationID: “2647310”, //
      apiKey: “LEFT BLANK”
      }

      R 1 Reply Last reply Oct 2, 2024, 12:41 AM Reply Quote 0
      • R Offline
        reilley @dawookie1979
        last edited by Oct 2, 2024, 12:41 AM

        @dawookie1979 - Be sure to add apiVersion: ‘3.0’ to your config

        D K 2 Replies Last reply Oct 2, 2024, 8:33 AM Reply Quote 0
        • D Offline
          dawookie1979 @reilley
          last edited by Oct 2, 2024, 8:33 AM

          @reilley Hello, where do i add it? can you help me edit my script?

          Thanks

          S R 2 Replies Last reply Oct 2, 2024, 11:16 AM Reply Quote 0
          • S Away
            sdetweil @dawookie1979
            last edited by Oct 2, 2024, 11:16 AM

            @dawookie1979 see the documentation. its a property in the config section of the weather module configuration

            documentation is linked from the top menu here

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • A Offline
              Andreas1956 @MarcLandis
              last edited by Oct 2, 2024, 12:37 PM

              @MarcLandis
              i only added

              apiVersion: “2.5”,

              to my config, now its all fine again.

              S 1 Reply Last reply Oct 2, 2024, 12:55 PM Reply Quote 0
              • S Away
                sdetweil @Andreas1956
                last edited by Oct 2, 2024, 12:55 PM

                @Andreas1956 tgat means you gave the old apikey, which will fail ‘soon’

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                P 1 Reply Last reply Oct 2, 2024, 5:53 PM Reply Quote 0
                • P Offline
                  Peter @sdetweil
                  last edited by Oct 2, 2024, 5:53 PM

                  @sdetweil Sam, do you know how many calls the default weather module makes per day?
                  Am I right: default is every 10 minutes, so 24x6 per day?
                  I have two Magic mirrors (1 for me and 1 for my daughter) using the same API.
                  I would like to use the API (3.0) for free, so use not more than 1000 calls per day.
                  Thanks for your answer in advance.
                  Peter

                  S 1 Reply Last reply Oct 2, 2024, 7:53 PM Reply Quote 0
                  • R Offline
                    reilley @dawookie1979
                    last edited by Oct 2, 2024, 7:30 PM

                    @dawookie1979 - just add it somewhere in the config for your weather module. I added "apiVersion: “3.0"” just above the apiKey.

                    I’d help you write yours, but I’m struggling with mine as well so you might get better assistance from the gurus here!

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      HeikoGr @kent79
                      last edited by Oct 2, 2024, 7:44 PM

                      @kent79 @dawookie1979
                      it’s all in the docs - but you need to read it carefully.

                      in short: forecast needs

                      • lat/lon , locationID isn’t working for forecast
                      • weatherEndpoint: ‘/onecall’, must be set

                      This works for me;

                              {
                                  disabled: false,
                                  module: "weather",
                                  position: "top_right",
                                  config:
                                  {
                                      // See 'Configuration options' for more information.
                                      weatherProvider: 'openweathermap',
                                      weatherEndpoint: '/onecall',
                                      apiKey: 'xxx',
                                      apiVersion: '3.0',
                                      lat: '49.8',
                                      lon: '8.49',
                                      type: 'forecast',
                                      colored: true,
                                      fade: false,
                                      maxNumberOfDays: 3,
                                      degreeLabel: 'true',
                                      showWindDirectionAsArrow: 'true',
                                      decimalSymbol: ','
                                  }
                              },
                      
                      R S 2 Replies Last reply Oct 2, 2024, 7:51 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        11/21
                        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