Read the statement by Michael Teeuw here.
Default weather module - only showing one location
-
@Ausnet OpenWeathermap new v3 apikey uses
lat/lon instead of location -
@Ausnet are you using MMM-Pages? (classes: properties)
the openmeteo don’t have classes: and wouldn’t be displayed by default on pages -
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", } },
-
@Ausnet what is units: above the module list set to?
-
@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: [ -
@Ausnet I thought so, but this module looks at the global value for some reason
-
@Ausnet can you tell me what version of MM you are running
grep version ~/MagicMirror/package.json -
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 <-----
-
@sdetweil said in Default weather module - only showing one location:
grep version ~/MagicMirror/package.json
It’s showing 2.34.0
-
@sdetweil That did it. Thanks!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login