Read the statement by Michael Teeuw here.
[MMM-OpenWeatherMapForecast] ** ERROR ** null
-
[15.10.2023 13:51.43.569] [INFO] Checking git for module: MMM-OpenWeatherMapForecast
[15.10.2023 13:51.43.609] [LOG] [MMM-OpenWeatherMapForecast] 15-Oct-23 13:51 ** ERROR ** nullCan someone tell me why I get the error null?
I use a Pi 3b and latest MM2 version. ( MagicMirror: v2.25.0)
The default weather app function
Open weather Map "loaded
I install it from here:
https://github.com/MarcLandis/MMM-OpenWeatherMapForecastconfig
{
module: “MMM-OpenWeatherMapForecast”,
header: “Open Weather Map”,
position: “top_right”,
classes: “default everyone”,
disabled: false,
config: {
apikey: “4xxxxSecret”,
latitude: “51.003610”,
longitude: “6.889070”,
iconset: “4c”,
concise: false,
forecastLayout: “table”
}},
-
I have the same issue and I spent some time debugging it. It turns out that the API call reference the onecall API which is not free. It requires a subscription https://openweathermap.org/api/one-call-3#error401
The call is using 2.5 but the documentation online only reference 3.0
https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&exclude={part}&appid={API key}I tried changing the API call to use hte free one but the layout is probably diffrent and therefore fails.
I think this module won’t work unless you have the OneCall subscription. -
As you described, the solution was to upgrade the subscription to the One Call API 3.0. Subsequently, I created a new API key and configured it in the config.js file for the module. Thank you for the suggestion.
Now, I just need to align everything to the right.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
