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.

    Version 2.30.0 weather module, stuck loading, worked fine before upgrade

    Scheduled Pinned Locked Moved Troubleshooting
    52 Posts 6 Posters 15.5k Views 6 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.
    • AssassinsA Offline
      Assassins @sdetweil
      last edited by

      @sdetweil
      I can only see the header now, where is write Ballerup

      {
        module: 'weather',
        position: 'bottom_left',
        header: 'Ballerup',
        config: {
          apiVersion: "2.5",
          weatherEndpoint: "/current",
           lat: "55.7317",
           lon: "12.3633",
           apiKey: "xxxxx765xxxx98xxxjhx888"
         }
      },
      
      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Assassins
        last edited by

        @Assassins

        sorry

        weatherEndpoint: “current” or 'forecast" , no /

        also, the old api use location or locationID, not lat/lon
        and I see you can’t look them up anymore on OWM site

        here is from the old doc

        locationID	Location ID from OpenWeatherMap This will override anything you put in location.
        
        Leave blank if you want to use location. <------=======
        
        Example: 1234567
        Default value: false
        
        Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
        
        ======================================================================
        location	The location used for weather information.
        
        Example: 'Amsterdam,Netherlands'
        Default value: false
        
        Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
        

        so it ‘seems’ that location by itself would do it.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        AssassinsA 1 Reply Last reply Reply Quote 0
        • AssassinsA Offline
          Assassins @sdetweil
          last edited by Assassins

          @sdetweil
          This is the same, can only see the header.
          Is work yesterday on MM 2.29.0

          {
            module: 'weather',
            position: 'bottom_left',
            header: 'Ballerup',
            config: {
              apiVersion: '2.5',
             apiBase: 'https://api.openweathermap.org/data/',
              weatherEndpoint: '/no',
              location: 'Ballerup',
              locationID: '2624341',
              apiKey: 'BBnjsdnsdfnsdj8789dsfjsdnfnXX',
              showHumidity: true,
              initialLoadDelay: 1500
            }
          },
          
          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Assassins
            last edited by

            @Assassins said in Version 2.30.0 weather module, stuck loading, worked fine before upgrade:

            apiBase: ‘https://api.openweathermap.org/data/’,
            weatherEndpoint: ‘/no’,

            no apiBase, that didn’t change

            the weatherEndpoint is either “current” OR “forecast”

            I originally gave them to you with leading / , so my comment was without the / (no /)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            AssassinsA 1 Reply Last reply Reply Quote 0
            • AssassinsA Offline
              Assassins @sdetweil
              last edited by

              @sdetweil
              Is the same mate

              {
                module: 'weather',
                position: 'bottom_left',
                header: 'Ballerup',
                config: {
                  apiVersion: '2.5',
                  weatherEndpoint: 'current',    // i have try the forecast to
                  location: 'Ballerup',
                  locationID: '2624341',
                  apiKey: 'xxjljkjsksldjkj3478bjjk',
                  showHumidity: true,
                  initialLoadDelay: 1500
                }
              },
              
              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @Assassins
                last edited by

                @Assassins seems it doesn’t work anymore… using my old 2.5 key I get code failure with openweathermap

                but we changed the sample defaults to a free provider that might work

                		{
                			module: "weather",
                			position: "top_right",
                			config: {
                				weatherProvider: "openmeteo",
                				type: "current",
                				lat: 40.776676,
                				lon: -73.971321
                			}
                		},
                		{
                			module: "weather",
                			position: "top_right",
                			header: "Weather Forecast",
                			config: {
                				weatherProvider: "openmeteo",
                				type: "forecast",
                				lat: 40.776676,
                				lon: -73.971321
                			}
                		}
                

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                AssassinsA 1 Reply Last reply Reply Quote 0
                • AssassinsA Offline
                  Assassins @sdetweil
                  last edited by

                  @sdetweil said in Version 2.30.0 weather module, stuck loading, worked fine before upgrade:

                  @Assassins seems it doesn’t work anymore… using my old 2.5 key I get code failure with openweathermap

                  Strange, works on my sd card with MM2.29.0 and also works on MMM-DynamicWeather and on MMM-WeatherOrNot with MM2.33.0.
                  Don’t know why openweathermap doesn’t work with MM2.33.0.
                  Besides that, it may have something to do with the code in MM2.33.0 that has been rewritten.

                  1 Reply Last reply Reply Quote 0
                  • 1
                  • 2
                  • 3
                  • 4
                  • 5
                  • 6
                  • 1 / 6
                  • 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