Read the statement by Michael Teeuw here.
2.29.0 Weather Module w/api v3.0 works, sort of…
-
@reilley that’s open weather 3.0 is /onecall only
nothing we can do but force you to specify the header yourself
does that work or get overridden by the weather data?i am not where i can test
-
@sdetweil - sure, I’d be happy to force my header if that’s possible. So for example, with forecast I would want it to say:
Forecast - Canton, GA
Or similar, of course. I could test it if you could let me know where to insert that line of code.
-
@HeikoGr - sorry, I didn’t copy/paste from the actual editor. I typed all that in and made a few errors! Sorry for the goose chase!
-
@reilley header is a property beside module
-
I just tested it. You can pass a header by yourself but need to add
appendLocationNameToHeader: false,
Otherwise it will add the timezone again.
{ disabled: false, module: "weather", header: "YOURCITY", position: "top_right", config: { // See 'Configuration options' for more information. weatherProvider: 'openweathermap', appendLocationNameToHeader: false, weatherEndpoint: '/onecall', apiKey: 'API', apiVersion: '3.0', lat: '51.5', lon: '9.52', type: 'forecast', colored: true, fade: false, maxNumberOfDays: 3, degreeLabel: 'true', showWindDirectionAsArrow: 'true', decimalSymbol: ',' } },
-
@HeikoGr - lol, adjusted my headers and saw that the timezone was concatenated to the header. Snapped a photo to post and saw your comment. That fixed it!!! Thank you and Sam both!!!
-
@reilley here it works also!
Thank you, everyone who helped.
My MM is up and running great!
Peter -