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.

    Modules fetching online/network info fail to refresh

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 4 Posters 79 Views 4 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
      RonR @TAGinside
      last edited by sdetweil

      @TAGinside Using MMM-Config, many thanks to sdetweil/MMM-Config, I now have a new config.js that offers many more options for the default Weather modules. I wondered if mine was updating regularly so In kept notes of the temp and time I checked and things were working properly. Below is the contents of the default weather module config. Note they have an “updateInterval: 600000” in the second instance which should be about 10 minutes.

      Hope this helps,
      RonR

       {
              module: "weather",
              position: "top_right",
              header: "Weather Forecast",
              label: "instance 1",
              order: "*",
              index: 0,
              animateIn: "none",
              animateOut: "none",
              config: {
                weatherProvider: "openmeteo",
                lat: 28.560201,
                lon: -82.32106,
                apiBase: "https://api.open-meteo.com/v1",
                pastDays: 0,
                type: "current",
                units: "imperial",
                tempUnits: "imperial",
                windUnits: "imperial",
                timeFormat: "12",
                useBeaufort: true,
                lang: "en",
                useKmh: false
              },
              disabled: false,
              hiddenOnStartup: false,
              configDeepMerge: false
            },
            {
              module: "weather",
              position: "top_right",
              header: "Weather Forecast",
              label: "instance 2",
              order: "*",
              index: 1,
              animateIn: "none",
              animateOut: "none",
              config: {
                weatherProvider: "openmeteo",
                lat: 28.560201,
                lon: -82.32106,
                apiBase: "https://api.open-meteo.com/v1",
                maxNumberOfDays: 5,
                pastDays: 0,
                type: "forecast",
                units: "imperial",
                tempUnits: "imperial",
                windUnits: "imperial",
                updateInterval: 600000,
                animationSpeed: 1000,
                timeFormat: "12",
                showPeriod: true,
                showWindDirection: true,
                useBeaufort: true,
                lang: "en",
                showHumidity: "none",
                showSun: true,
                decimalSymbol: ".",
                maxEntries: 5,
                fade: true,
                fadePoint: 0.25,
                initialLoadDelay: 0,
                appendLocationNameToHeader: true,
                calendarClass: "calendar",
                tableClass: "small",
                showFeelsLike: true,
                roundTemp: false,
                useKmh: false,
                showPeriodUpper: false,
                showWindDirectionAsArrow: false,
                degreeLabel: false,
                showIndoorTemperature: false,
                showIndoorHumidity: false,
                ignoreToday: false,
                onlyTemp: false,
                showPrecipitationAmount: false,
                colored: false,
                absoluteDates: false
              },
              disabled: false,
              hiddenOnStartup: false,
              configDeepMerge: false
            },
      
      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @RonR
        last edited by

        @RonR

        Please see this post about the code block

        https://forum.magicmirror.builders/post/128761

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • A Offline
          alex2 @TAGinside
          last edited by

          @TAGinside I used the OneCallWeather module. Again, I’m unsure if it is wifi as the camera seemed to be stuck too until I rebooted the whole pi. Now the camera comes up, but the weather module still hasn’t re-loaded.
          I’m unsure of how to start troubleshooting it to determine what the issue truly is. I will see if the camera has continued to work live and then post back.

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            alex2 @alex2
            last edited by

            camera was frozen up again. Rebooted the pi. I also can’t connect to the pi remote and see the mirror using IP:8080. Running iwconfig i see the link quality as 51/70. I do see power management is on for the wifi, and I read a report that this can be problematic. any other thoughts?

            S 1 Reply Last reply Reply Quote 0
            • S Do not disturb
              sdetweil @alex2
              last edited by

              @alex2 just for test, if you disable the camera module does this still happen?

              I just debugged a weird hardware problem that turned out to be a power problem.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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