RedNax67 / MMM-WunderGround

28 stars 43 forks source link

it stops updating #13

Closed dinkybluebug closed 7 years ago

dinkybluebug commented 7 years ago

Hi - my mmm-Wunderground module keeps freezing and doesnt update. it works fine for a few hours, and then stops....and then doesn't update ever after this - with other modules working fine - including the clock. I can get it working if I restart the mirror

Any ideas whats going on?

could it be because node got an update?

ostfilinchen commented 7 years ago

@dinkybluebug: i also have the same error. i thought, the Software Needs an update. So i updated with sudo apt-get update && sudo apt-get dist-upgrade.

The error remains.... i think the updatefunction in the module has an Problem... :-/

lsumner4 commented 7 years ago

I have the same issue. I've looked around and seen that it is somewhat common but nobody has posted a solution.

ostfilinchen commented 7 years ago

I work on a solution. I think it's a not implmented errorhandling with the sunrise/sunset times. In some cases the Module gets a wrong json File back. That seems produce the error.

RedNax67 commented 7 years ago

Added a commit just now which should resolve the issue.. Please test!

ostfilinchen commented 7 years ago

i updated this module and test this. Tomorrow i give u a Feedback.

dinkybluebug commented 7 years ago

Can't test this until Friday, but thanks for the update.

ostfilinchen commented 7 years ago

It works for 6 times and then i get the error, that this key does not exist.

RedNax67 commented 7 years ago

How fast are you updating? ie what is your updateinterval?

ostfilinchen commented 7 years ago

my initialLoadDelay is 1000

my updateIntervall is still Default (10 Minutes)

lsumner4 commented 7 years ago

@RedNax67 It appears to be working for me now, thanks!

dinkybluebug commented 7 years ago

Works for me.... thanks!