Open kollin78 opened 5 months ago
Make sure you haven't reached your allowance of API within a 24 hour period. You only get 50 API calls per 24 hour period if you're using the free package. - https://developer.accuweather.com/packages
The current README is outdated as it states the free package is 1000 calls a day. By default the "updateInterval" in the config is set to 10 (minutes), meaning after roughly 8.5 hours you'll get no further updates. And if you restart MagicMirror with no API calls left it will just say loading.
When I checked the pm2 logs it showed the json data, and I had just created the api key so that shouldn't be the issue haha might also be an issue with magic mirror in general because I noticed if I ever have two weather modules (even if one is 3rd party and uses a different api), only one will ever display any data. Weird
I'm seeing the same issue with the display just showing "Loading..." despite seeing data retrieved in MagicMirror-out.log. FWIW, I'm a first time MM user... :D
I'm having the same issue. MM just shows "Loading..." even though my api is working.
I'm having the same issue. MM just shows "Loading..." even though my api is working.
Just to update everyone::
I was using Firefox to debug this issue. I get an error at line 391:
Uncaught (in promise) TypeError: this.weatherData.hourly is undefined
.
What I discovered: AccuWeather does not return an element labeled "hourly" in either /currentconditions/v1 or /forecasts/v1/daily. Instead, AccuWeather provides a separate hourly api that needs to be polled.
My workaround: In config.js under module { MMM-AccuWeatherForecastDeluxe } I manually set hourly to false.
showHourlyForecast: false
While this workaround is functional, we lose complete access to hourly forecasts.
Hopefully maxbethge can update this module to be compatible with AccuWeather's current APIs. In the meantime I'm going to fork this module and attempt it myself.
I'm having the same issue. MM just shows "Loading..." even though my api is working.
Just to update everyone:: I was using Firefox to debug this issue. I get an error at line 391:
Uncaught (in promise) TypeError: this.weatherData.hourly is undefined
.What I discovered: AccuWeather does not return an element labeled "hourly" in either /currentconditions/v1 or /forecasts/v1/daily. Instead, AccuWeather provides a separate hourly api that needs to be polled.
My workaround: In config.js under module { MMM-AccuWeatherForecastDeluxe } I manually set hourly to false.
showHourlyForecast: false
While this workaround is functional, we lose complete access to hourly forecasts.
Hopefully maxbethge can update this module to be compatible with AccuWeather's current APIs. In the meantime I'm going to fork this module and attempt it myself.
This was a great find, I was having the same issue and making showHourlyForecast: false
fixed it. Thanks so much for sharing!
Hopefully someone can update to include hourly back in
Thanks!
I'm having the same issue. MM just shows "Loading..." even though my api is working.
Just to update everyone:: I was using Firefox to debug this issue. I get an error at line 391:
Uncaught (in promise) TypeError: this.weatherData.hourly is undefined
.What I discovered: AccuWeather does not return an element labeled "hourly" in either /currentconditions/v1 or /forecasts/v1/daily. Instead, AccuWeather provides a separate hourly api that needs to be polled.
My workaround: In config.js under module { MMM-AccuWeatherForecastDeluxe } I manually set hourly to false.
showHourlyForecast: false
While this workaround is functional, we lose complete access to hourly forecasts.
Hopefully maxbethge can update this module to be compatible with AccuWeather's current APIs. In the meantime I'm going to fork this module and attempt it myself.
This was a great find, I was having the same issue and making
showHourlyForecast: false
fixed it. Thanks so much for sharing!Hopefully someone can update to include hourly back in
Thanks!
I forked this project and fixed a few issues, including the hourly forecast. Check it out on my profile.
I can't find my LocationKey. it looks like this link is invalid http://dataservice.accuweather.com/locations/v1/cities/search?apikey={apiKey}&q={cityName}
on {apikey} I put my code and on {cityName} the city name but it gives error.
example: { "Code": "Unauthorized", "Message": "Api Authorization failed", "Reference": "/locations/v1/cities/search?apikey={APIKEY}&q={London}" }
I'm having the same issue. MM just shows "Loading..." even though my api is working.
Just to update everyone:: I was using Firefox to debug this issue. I get an error at line 391:
Uncaught (in promise) TypeError: this.weatherData.hourly is undefined
. What I discovered: AccuWeather does not return an element labeled "hourly" in either /currentconditions/v1 or /forecasts/v1/daily. Instead, AccuWeather provides a separate hourly api that needs to be polled. My workaround: In config.js under module { MMM-AccuWeatherForecastDeluxe } I manually set hourly to false.showHourlyForecast: false
While this workaround is functional, we lose complete access to hourly forecasts. Hopefully maxbethge can update this module to be compatible with AccuWeather's current APIs. In the meantime I'm going to fork this module and attempt it myself.This was a great find, I was having the same issue and making
showHourlyForecast: false
fixed it. Thanks so much for sharing! Hopefully someone can update to include hourly back in Thanks!I forked this project and fixed a few issues, including the hourly forecast. Check it out on my profile.
@BigBot89 I used your forked project, and am still getting Loading. I've also attempted to change the hourly forecast to False, no change. Got any ideas?
I also tried to post this to your page, but couldn't see where I could do so!
Hey, I followed one of the example layouts and when I run my magic mirror I can see in my terminal all of the weather data that is fetched but the actual magic mirror just shows "loading" where the forecast should display :,) pls help