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.

    Default weather module - only showing one location

    Scheduled Pinned Locked Moved Troubleshooting
    11 Posts 2 Posters 37 Views 2 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.
    • A Offline
      Ausnet
      last edited by

      Ok - so I tried the following - still said “Loading…”

      Replaced it with the same location as my local area and it came up.

      Restored it to the Australian location and now it’s working :/

      The only thing left is that it’s still displaying in Fahrenheit for Australia even though units are set to metric for those modules.

                      {
                              module: "weather",
                              position: "bottom_right",
                              header: "Current Weather",
                              config: {
                                      weatherProvider: "openmeteo",
                                      type: "current",
                                      lat: -27.24796,
                                      lon: 153.00886,
                                      showPrecipitationAmount: true,
                                      showPreciptitationProbability: true,
                                      degreeLabel: true,
                                      colored: true,
                                      units: "metric",
                              }
                      },
                      {
                              module: "weather",
                              position: "bottom_right",
                              header: "Forecast",
                              config: {
                                      weatherProvider: "openmeteo",
                                      type: "forecast",
                                      lat: -27.24796,
                                      lon: 153.00886,
                                      showUVIndex: true,
                                      fadePoint: 0.33,
                                      maxNumberOfDays: 7,
                                      degreeLabel: true,
                                      colored: true,
                                      units: "metric",
                              }
                      },
      
      

      b0dcb7fc-f11d-4aab-b451-55c4bd9a5a79-image.png

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

        @Ausnet what is units: above the module list set to?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil before the modules it’s set to imperial. Do the settings in the inner modules not override the outer setting?

                  timeFormat: 12,
                  showperiod: true,
                  units: "imperial",
          
                  modules: [
          
          
          S 2 Replies Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Ausnet
            last edited by sdetweil

            @Ausnet I thought so, but this module looks at the global value for some reason

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @Ausnet can you tell me what version of MM you are running

              grep version ~/MagicMirror/package.json
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                also set tempUnits:“metric”

                from the doc

                tempUnits

                What units to use for temperature.

                If not specified, the module uses the units value from config.js. <-----

                Possible values: config.units = Specified by config.js, metric = Celsius, imperial = Fahrenheit

                Default value: config.units <-----

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil said in Default weather module - only showing one location:

                  grep version ~/MagicMirror/package.json

                  It’s showing 2.34.0

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

                    @sdetweil That did it. Thanks!

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