You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PPlatform: Electron 5.0.2 / Raspberry Pi 3 B+ / Stretch.
Node Version: 10.15.3
MagicMirror Version: JavaScript version (v2).
Description: The forecastEndpoint param is configured to "forecast/daily." However, this throws an error when I manually create the URL and enter it into a browser (invalid API key response). If I change the endpoint to "forecast" per the 5-day forecast API documentation the call works fine. The "forecast/daily" endpoint is for paid accounts.
However, using the "forecast/daily" endpoint in the module code doesn't throw an error. I get a forecast, with the correct city name (I'm using the city ID in the config), but the forecast doesn't seem correct; it doesn't match the forecast from the openweathermap website. If I look at the raw data returned in browser from the 5-day forecast API ("forecast" endpoint) it's not clear which data the module is pulling. In fact, looking at the code, it doesn't seem like the module should be working at all with the 5-day forecast API. So, I guess my question is this: does this module require a paid 16-day forecast account? I'm using a free account API key and (1) the forecast seems incorrect and (2) the module code seems to be for the 16-day forecast endpoint which requires a paid account.
Configuration: Nothing special; using a free openweathermap account
The text was updated successfully, but these errors were encountered:
PPlatform: Electron 5.0.2 / Raspberry Pi 3 B+ / Stretch.
Node Version: 10.15.3
MagicMirror Version: JavaScript version (v2).
Description: The forecastEndpoint param is configured to "forecast/daily." However, this throws an error when I manually create the URL and enter it into a browser (invalid API key response). If I change the endpoint to "forecast" per the 5-day forecast API documentation the call works fine. The "forecast/daily" endpoint is for paid accounts.
However, using the "forecast/daily" endpoint in the module code doesn't throw an error. I get a forecast, with the correct city name (I'm using the city ID in the config), but the forecast doesn't seem correct; it doesn't match the forecast from the openweathermap website. If I look at the raw data returned in browser from the 5-day forecast API ("forecast" endpoint) it's not clear which data the module is pulling. In fact, looking at the code, it doesn't seem like the module should be working at all with the 5-day forecast API. So, I guess my question is this: does this module require a paid 16-day forecast account? I'm using a free account API key and (1) the forecast seems incorrect and (2) the module code seems to be for the 16-day forecast endpoint which requires a paid account.
Configuration: Nothing special; using a free openweathermap account
The text was updated successfully, but these errors were encountered: