Hello,
I have a vantage pro 2. It is connected via USB to a raspberry pi, running weewx 3.8.0. Everything runs normal. But, if I shutdown the pi (before I stopped weewx) and start it again a little bit later
1) After restart, I can see on the davis console, that the clock is out of tune
- clock was ok, before starting weewx
- raspberry time was ok
2) In the logs some strange messages appear:
Jul 3 20:26:24 nexus weewx[422]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead
Jul 3 20:26:24 nexus weewx[422]: vantage: Requesting 200 LOOP packets.
Jul 3 20:26:24 nexus weewx[422]: vantage: Rude wake up of console successful
Jul 3 20:26:28 nexus weewx[422]: vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead
Jul 3 20:26:28 nexus weewx[422]: vantage: Requesting 200 LOOP packets.
Jul 3 20:26:28 nexus weewx[422]: vantage: Rude wake up of console successful
Jul 3 20:26:32 nexus weewx[422]: vantage: LOOP try #3; error: Expected to read 99 chars; got 0 instead
Jul 3 20:26:32 nexus weewx[422]: vantage: Requesting 200 LOOP packets.
Jul 3 20:26:32 nexus weewx[422]: vantage: Rude wake up of console successful
3) no more records are added to the database
To solve the problem, I do the following
- stopping weewx
- correcting the time on the vantage pro
- using wee_device --dump to ensure, that all data is written to the database
- using wee_device --clear-memory to reset the state -> After that, weewex works like normal
The console was never restarted. It is reproduceable all the time, if I restart the pi
Does someone knows, what is wrong with my setup?
Thanks a lot
Regards
Jochen