Documentation about Vantage archive packet and txBatteryStatus/consBatteryVoltage

51 views
Skip to first unread message

Jiří Činčura

unread,
Nov 30, 2023, 2:58:23 PM11/30/23
to weewx...@googlegroups.com
Hi,

I'm looking at the http://www.weewx.com/docs/hardware.htm#vantage_data and the table claims that `txBatteryStatus` and `consBatteryVoltage` are provided by hardware in archive packet. But looking at the https://github.com/weewx/weewx/blob/master/bin/weewx/drivers/vantage.py#L1695 does not support this. Is the documentation correct and I'm missing something from the code?

--
Mgr. Jiří Činčura
https://www.tabsoverspaces.com/

gjr80

unread,
Nov 30, 2023, 3:27:18 PM11/30/23
to weewx-user
Both are correct. txBatteryStatus and consBatteryVoltage appear in loop packets not archive records. WeeWX accumulates these values and then adds them to the archive record when the archive record is received (from the station) or generated (by WeeWX).

Gary

Reply all
Reply to author
Forward
0 new messages