Read the statement by Michael Teeuw here.
weather module just shows loading?
-
@scumbelly single or double doesn’t matter as long as they are the same
please use code markers around config info.
there is a third kinds of quote mark used by the forum without code blocks. they are word processing type, they are curved, both single and double. they are bad." and ’
notice the difference" and '
-
O.K.
and… onlyTemp: ‘true’, would not have any quotes.
-
@scumbelly right…
general config.js rules
thing to the left of colon (:) does not need quotes
if the thing to the right of colon is a number or true/false,
should NOT have quotes,
otherwise the thing to the right needs quotes.
single or double doesn’t matter, as long as both ends are the same -
Thanks, I always thought I needed double quotes.
-
Ok, I found out what was wrong, despite the confusion with the ’ or " use.
It’s the appid, it’s called apiKey in the weather module.
So after changing that (and also changing all ’ to " in the config), removing quotes around numbers, only have the locationID instead of both location and locationID and other cleanup stuff, it is shows properly :-)So I replaced both my currentweather and YrThen modules with two weather modules:
{ module: "weather", position: "top_right", classes: "day_schedule", config: { weatherProvider: "openweathermap", type: "current", units: "metric", timeFormat: 24, decimalSymbol: ",", initialLoadDelay: 0, onlyTemp: false, locationID: 2621215, apiKey: "xxx" } }, { module: "weather", position: "top_right", classes: "day_schedule", config: { weatherProvider: "openweathermap", type: "forecast", units: "metric", timeFormat: 24, decimalSymbol: ",", initialLoadDelay: 0, onlyTemp: true, maxNumberOfDays: 7, colored: true, appendLocationNameToHeader: false, locationID: 2621215, apiKey: "xxx" } },
Looks very nice indeed