Vantage Weather Envoy / RPi / Power Failure = CRC error

81 views
Skip to first unread message

Marty T

unread,
Aug 26, 2024, 6:45:03 PM8/26/24
to weewx-user
I've had weewx running on my RaspberryPi for ages with no issues. Connected to a Davis Weather Envoy via USB. 

We had a power failure Saturday night and ever since then, weewx has not been able to communicate with the Davis unit. 

Standard CRC messages in the log: 

Aug 26 17:27:38 wxman weewxd[2609]: ERROR weewx.drivers.vantage: Unable to pass CRC16 check while sending data to Vantage console
Aug 26 17:27:38 wxman weewxd[2609]: ERROR weewx.drivers.vantage: DMPAFT try #1; error: Unable to pass CRC16 check while sending data to Vantage console
Aug 26 17:27:50 wxman weewxd[2609]: ERROR weewx.drivers.vantage: Unable to pass CRC16 check while sending data to Vantage console
Aug 26 17:27:50 wxman weewxd[2609]: ERROR weewx.drivers.vantage: DMPAFT try #2; error: Unable to pass CRC16 check while sending data to Vantage console
Aug 26 17:28:03 wxman weewxd[2609]: ERROR weewx.drivers.vantage: Unable to pass CRC16 check while sending data to Vantage console
Aug 26 17:28:03 wxman weewxd[2609]: ERROR weewx.drivers.vantage: DMPAFT try #3; error: Unable to pass CRC16 check while sending data to Vantage console
Aug 26 17:28:15 wxman weewxd[2609]: ERROR weewx.drivers.vantage: Unable to pass CRC16 check while sending data to Vantage console
Aug 26 17:28:15 wxman weewxd[2609]: ERROR weewx.drivers.vantage: DMPAFT try #4; error: Unable to pass CRC16 check while sending data to Vantage console
Aug 26 17:28:15 wxman weewxd[2609]: ERROR weewx.drivers.vantage: DMPAFT max tries (4) exceeded.

I installed the (awful) WeatherLink software on my Windows PC and connected the Davis Weather Envoy and it immediately connected and downloaded about 500 data packets. So the issue doesn't seem to be with the Davis unit. 

I upgraded to the latest weewx, rebooted the RPi, still no joy. 

Any ideas why it would suddenly start failing after many months of flawless operation?

Tom Keffer

unread,
Aug 26, 2024, 6:47:34 PM8/26/24
to weewx...@googlegroups.com
I don't see it in the little log excerpt that you included, but double check that you don't have two instances of weewxd running. If that's not the case, set debug=1, restart weewx, let it run for a couple of reporting cycles, then post the log.

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/93106b2f-3c5c-4fe5-963b-39756f7d1f1cn%40googlegroups.com.

Marty T

unread,
Aug 27, 2024, 10:46:20 AM8/27/24
to weewx-user
I think there must have been some data corruption in the packets that were on the Weather Envoy, likely owing to the power failure. 

I used weectl to dump the data and clear memory on the Weather Envoy and everything came back to life and is working as expected. 

Reply all
Reply to author
Forward
0 new messages