Read the statement by Michael Teeuw here.
MMM-OpenWeatherMapForecast 3.0 API calls and freeze issue
-
-
@jfields I don’t know the cause of the unexpected multiples, but the ‘freeze’ is because you hit the 1000 calls per day
limit of the free plan.can we see your config.js?
xxx out any api key or url etc that is
private but don’t change anything else, use the code block wrapperweather is done all in browser , so any messages are logged there
ctrl-shift-i to open the developers window and then select the console tab.
add weather to the files field to see messages just from the weather moduleyou can change filter to cal for Calendar
as well.
Calendar fetching is done server side, so the output ofpm2 logs --lines=100
might be helpful
as well as the output ofpm2 status
-
@sdetweil Thanks for the response. The freezing is not from exceeding the 1,000 API calls. The system is bogging down. I can watch it get worse over time by watching how often the seconds update on the clock. Also, I have a credit card on file and allow up to 2,000 call. I haven’t exceeded that but I have gone up to 1,700.
I have reverted to using MMM-OpenWeatherMapForecast for just one call and that is working fine. I’m using the standard weather module for the rest of the calls.
API calls
pm2 status
For the config.js, I copied the module section and pasted it above. Do you need more than that?
I wasn’t sure what to grab from the console tab, but I did see some errors and grabbed those.
Video of some error messages popping up. They were really flashing fast at first, hard to get a screen grab so I made a video. The longer it went, the more errors, and the longer you could see them. Something is compounding.
https://imgur.com/a/QXU5SzIThe longer it goes, the more errors I see.
One of the POST error messages
-
@jfields which version of MMM-OpenWeatherMapForecast are you using?
in the module folder do
git remote -v -
-
@jfields that one is quite old
I’d try this one, as the author is active
https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast -
@sdetweil Thanks. I haven’t tried that one. I honestly only thought there were two, one that was way old and the one I’m using (MarcLandis). The one I’m using did get a recent update so it is somewhat supported, although I cannot open an Issue on it.
From where I’m at now, I have a good working solution but using the MarcLandis version on one side and the built-in for everything else. If I do change, I will look at the Tom-Hirschberger version. It’s getting updates and has a tab to open Issues.
-
@jfields good debug on the multiple problem
lets try this temp fix
in the MM/js folder do
curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror/fixloading/js/app.js >app.js
stop and restart MM
this adds a hash to check for loading or already loading the node_helper for this module
-
Sorry to hijack this post. I can create a new one if needed. I’ve been using the “MMM-OpenWeatherMapForecast” module for a while, but for the past few weeks, it hasn’t been showing up on my MM. I’ve rebooted MM several times and made sure the module is up to date, but no luck.
-
@Socrates
yes openweather changed their api
module needs update