Read the statement by Michael Teeuw here.
Version 2.33 - module 'weather' - openweathermap and 'One Call by Call' plan
-
Currently I migrate from Magicmirror v2.26.0 to v2.33.0. One issue , the weather module does not start. The module provide me from the provider openweathermap the message:
{"cod":401, "message": "Please note that using One Call 3.0 requires a separate subscription to the One Call by Call plan. Learn more here https://openweathermap.org/price. If you have a valid subscription to the One Call by Call plan, but still receive this error, then please see https://openweathermap.org/faq#error401 for more info."}I don’t have a supscription for the ‘One Call by Call’ plan. But, if I copy the weather module (complete directory) from MM v2.26 to v2.33 I get the forecast weather data from openweathermap without any difficulty and everything is working fine. So there must be a modification in the weather module which leads to the described issue.
For the moment I’ve a workaround by overriting the wether module with the old version, but it would be nice and helpful if an expert could do a deeper analysis for the cause and understanding of the issue.
Thanks!
Here is my configuration for the module:module: 'weather', position: 'top_right', header: 'Wetter Vorhersage für ', config: { weatherProvider: "openweathermap", type: "forecast", tableClass: 'small', locationID: "2879315", apiKey: "2xxxxxxxxx...xxxxxxxxxd", //apiKey from http://www.openweathermap.org tempUnits: "metric", roundTemp: true, onlyTemp: true, colored: true, maxNumberOfDays: 4, ignoreToday: true, updateInterval: 3600000, // every hour initialLoadDelay: 3000, } -
