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.

    MagicMirror² v2.15.0 is available don't work.

    Scheduled Pinned Locked Moved Troubleshooting
    44 Posts 9 Posters 13.9k Views 10 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 @Stoffbeuteluwe
      last edited by sdetweil

      @stoffbeuteluwe valid-url was removed from the mm package. do

       npm install valid-url 
      

      in the mm folder

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      StoffbeuteluweS 1 Reply Last reply Reply Quote 0
      • StoffbeuteluweS Offline
        Stoffbeuteluwe Project Sponsor @sdetweil
        last edited by Stoffbeuteluwe

        @sdetweil Hi Sam that works… thank you … weatherforcast shows wrong time for the first 3 lines (night instead of day)Bildschirmfoto 2021-04-02 um 19.22.08.png

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Stoffbeuteluwe
          last edited by

          @stoffbeuteluwe forecast and currentweather have been replaced by new code, old code is still there for a while…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          StoffbeuteluweS 1 Reply Last reply Reply Quote 0
          • StoffbeuteluweS Offline
            Stoffbeuteluwe Project Sponsor @sdetweil
            last edited by

            @sdetweil do i have to replace current weather and forecast?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Stoffbeuteluwe
              last edited by

              @stoffbeuteluwe no… but there won’t be any fixes…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              StoffbeuteluweS 1 Reply Last reply Reply Quote 0
              • StoffbeuteluweS Offline
                Stoffbeuteluwe Project Sponsor @sdetweil
                last edited by Stoffbeuteluwe

                @sdetweil how can I get the new module or code ?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Stoffbeuteluwe
                  last edited by

                  @stoffbeuteluwe yes, both in one

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  StoffbeuteluweS 1 Reply Last reply Reply Quote 0
                  • StoffbeuteluweS Offline
                    Stoffbeuteluwe Project Sponsor @sdetweil
                    last edited by

                    @sdetweil how can I get the new one ?

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      linuxha
                      last edited by

                      I’ve been playing with weather.gov and it seems to be having problems. My config:

                      		{
                      			module: "weather",
                      			position: "top_right",
                      			type: "current",
                      			weatherProvider: "weather.gov", //
                      			windUnits: "imperial",
                      			tempUnits: "imperial",
                      			useBeaufort: false,
                      			fade: false,
                      			config: {
                      				// See 'Configuration options' for more information.
                      				apiBase: "https://api.weather.gov/points/",
                      				weatherEndpoint: "/forecast/hourly", // for current
                      				lat:        40.25571,
                      				lon:        -74.39416,
                      			}
                      		}, /* * /
                      		{
                      			module: "weather",
                      			position: "top_right",
                      			type: "daily",
                      			weatherProvider: "weather.gov", //Default value: openweathermap
                      			windUnits: "imperial",
                      			tempUnits: "imperial",
                      			useBeaufort: false,
                      			fade: false,
                      			config: {
                      				// See 'Configuration options' for more information.
                      				apiBase: "https://api.weather.gov/points/",
                      				weatherEndpoint: "/forecast", // for forecast
                      				lat:        40.25571,
                      				lon:        -74.39416,
                      			}
                      		}, /* */
                      
                      

                      and from the browser:

                      api.weather.gov/points/2.5/forecast/hourly?lat=40.25571&lon=-74.39416&units=imperial&lang=en&APPID=:1 Failed to load resource: the server responded with a status of 404 ()
                      openweathermap.js:45 Could not load data ...  XMLHttpRequest
                      (anonymous) @ openweathermap.js:45
                      

                      That URL is all sorts of wonky. The points URL returns the points to get the needed properties:
                      Mine: https://api.weather.gov/points/40.25571,-74.39416 (under properties “gridId”: “PHI”,“gridX”: 73,“gridY”: 92, )
                      then builds:
                      Mine: https://api.weather.gov/gridpoints/PHI/73,92/forecast

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @linuxha
                        last edited by sdetweil

                        @linuxha forecast has a problem… there is a timing bug in the module…

                        if u change the updateInterval to 1 minute it will update then , or 2 minutes,
                        default is 10 and it will update then, but 10 minutes is a long time to wait for 1st update…

                        I opened an issue , someone has to work on it.
                        sadly it is not any easy fix

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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