Read the statement by Michael Teeuw here.
MM Windows 11 install - 3rd party modules won't work
-
Kristjan, can you help here?
-
Update:
I found an error in the log:
[2025-05-27 19:59:04.742] [ERROR] [MMM-OneCallWeather] Error: Unauthorized
I’m not sure why I’m getting this, I triple check my API key and it’s correct. I hope that helps someone to help me resolve this.Thank you for any help you can give me!
-
@lvolkjr Show us the config of the module from the windows machine. Did you write
apikey
orapiKey
? -
{ module: "MMM-OneCallWeather", position: "top_right", header: "Weather in San Ramon", config: { latitude: "37.76470886457069", // Longitude from https://www.latlong.net/ longitude: "-121.9619230575287", // Longitude from https://www.latlong.net/ apikey: "*mysecretkey*", // openweathermap.org API key iconset: "4a", // Icon set to use. iconsetFormat: "png", // File format of the icons. } },
I just copied what you had on the example and then plugged in my information. I tried apiKey, because I was using apikey from the beginning, but still get the same error.
-
@lvolkjr please always use code block around config entries, else the quote marks are changed and anyone copying the text will get junk. it also keeps the indentation of the source
to use code block
paste text into message editor, blank line above and below
select the text just pasted
hit the </> button to wrap in a code blockfor info
code block is three backtics in a row starting in column 1 on line by itself, start and end of the blockbacktic is lowercase left of the 1 key on US keyboard
-
@lvolkjr I copied your config and changed to my apikey and it worked as expected… (On windows 11)
maybe you have missed a character in the apikey at the start or end on a copy/paste -
@sdetweil Thank you for all your help, I’ll be sure to use the Code Block in the future.
I’ll have to go back to the default weather module, as the firewall I’m behind won’t let me use the OpenWeathermap api. It took me a while to figure out, but I found out what the issue was.
Thanks again, Sam!
-
-
@lvolkjr the default weather module, using the OpenWeather provider uses the same api url…