Not a netatmo user but I suspect that the client thread in the netatmo
driver encounters an error and silently dies thus leaving WeeWX running but
with no data coming in so no activity happens. Suggest you make the
following changes to /usr/share/weewx/user/netatmo.py (circa line 310):
def collect_data(self):
"""Loop forever, wake up periodically to see if it is time to
quit."""
last_poll = 0
while self._collect_data:
now = int(time.time())
if now - last_poll > self._poll_interval:
for tries in range(self._max_tries):
try:
CloudClient.get_data(self._sd, self._device_id)
break
except (socket.error, socket.timeout, urllib2.HTTPError,
urllib2.URLError), e:
logerr("failed attempt %s of %s to get data: %s" %
(tries + 1, self._max_tries, e))
logdbg("waiting %s seconds before retry" %
self._retry_wait)
time.sleep(self._retry_wait)
except Exception, e:
logerr("Caught unrecoverable exception in
netatmo-client:")
logerr(" **** %s" % e)
else:
logerr("failed to get data after %d attempts" %
self._max_tries)
last_poll = now
logdbg('next update in %s seconds' % self._poll_interval)
time.sleep(1)
Restart WeeWX and monitor the log and post a log extract showing the error
when it occurs.
Gary
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.