@codac you need to add
weatherEndpoint: '/onecall',
for the weather module as it is using API 3.0 from openweathermap.
For the other modules i may look later if i have more time and access to my homelab
@codac you need to add
weatherEndpoint: '/onecall',
for the weather module as it is using API 3.0 from openweathermap.
For the other modules i may look later if i have more time and access to my homelab
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: ','
}
},
@Peter of course
{
disabled: false,
module: "weather",
position: "top_right",
config:
{
// See 'Configuration options' for more information.
weatherProvider: 'openweathermap',
weatherEndpoint: '/onecall',
apiKey: 'apikey',
apiVersion: '3.0',
lat: '50.465',
lon: '9.481',
type: 'forecast',
colored: true,
fade: false,
maxNumberOfDays: 3,
degreeLabel: 'true',
showWindDirectionAsArrow: 'true',
decimalSymbol: ','
}
},
Can you post your (anonymized) config file?
@Peter it shows the timezone „EUROPE/BERLIN“, but the weather is correct.
@Peter no, unfortunately not
I got it working and think there are a few tricky typos in your config.
module: “weather”,
position: “top_center”,
config: {
weatherProvider: “openweathermap”,
type: “current:,
weatherEndpoint: ‘/onecall’,
lat: ‘34.17188’.
lon: ‘-84.57056’,
apiVersion: ‘3.0’,
apiKey: 'nunya”
Line 5: closing quotation marks are missing
Line 7: point as line ending instead of comma
Line 10: wrong quotation mark
Your config entry type is from line 5 - 10.
Which version of the docker container do you use?
@rabbit83ka you can try my newest commit (https://github.com/HeikoGr/MMM-Webuntis/). just add a line to your config.js:
mode: "compact",
@rabbit83ka I‘m not a developer either, but i think this is something i could do. But maybe it will take a few days