@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
forecast need lot / lan set. locationID as in api 2.5 isn’t working anymore (with api 3.0) sorry, didn’t read your post properly…
openweather doesn’t add geoname in response. so i guess it’s the timezone.
@kent79 @dawookie1979
it’s all in the docs - but you need to read it carefully.
in short: forecast needs
This works for me;
{
disabled: false,
module: "weather",
position: "top_right",
config:
{
// See 'Configuration options' for more information.
weatherProvider: 'openweathermap',
weatherEndpoint: '/onecall',
apiKey: 'xxx',
apiVersion: '3.0',
lat: '49.8',
lon: '8.49',
type: 'forecast',
colored: true,
fade: false,
maxNumberOfDays: 3,
degreeLabel: 'true',
showWindDirectionAsArrow: 'true',
decimalSymbol: ','
}
},
@rabbit83ka I got it working, with a few modifications, so i can use the qr codes from my kids (our school uses MS365 Accounts for login, so unfortunately the username + password didn’t work…). You can find it here: https://github.com/heikogr/MMM-WebUntis wich is forked from https://github.com/r3wald/MMM-Webuntis wich is forked from https://github.com/thyed/MMM-Webuntis