I know this is an old question..... Has the change that Tom mentioned been incorporated in later versions of vantage.py? I’m using weewx v 3.9.2, but txBatteryStatus is always NULL in the database.
I’m using a Davis VantageVue. Thanks Geoff On Monday, 24 February 2014 13:45:43 UTC, Thomas Keffer wrote: > > This is a reasonable thing to want and nearly trivial to add. Here's a > version of the Vantage driver that saves the last value of txBatteryStatus > and consBatteryVoltage seen in a LOOP packet and puts them in the archive > record. > > Replace bin/weewx/drivers/vantage.py with this version: > > wget > https://sourceforge.net/p/weewx/code/HEAD/tree/trunk/bin/weewx/drivers/vantage.py?format=raw > > -O vantage.py > > -tk > > > On Mon, Feb 24, 2014 at 3:00 AM, Andrew Milner <[email protected] > <javascript:>> wrote: > >> mesowx would certainly be able to pick it up from the LOOP records and >> store in its raw table - and display it graphically also (from the raw >> table).... just not sure how to get the data from the raw table to the >> archive table!!! My mesowx raw table contains data from LOOP records that >> I am 99% sure nobody else is picking up or doing anything with - but I have >> no real need to move it from raw to archive as I also extended the duration >> of raw to be 14 days!! >> >> >> On 24 February 2014 09:41, Al <[email protected] <javascript:>> wrote: >> >>> Andrew Milner wrote: >>> > Doesn't the stats database have the info? I don't have a davis >>> station, >>> > but looking at your post it seems as though you have changed the schema >>> > and restarted weewx - in which case the stats DB should have been >>> > rebuilt with the additional info - and the stats part of weewx does >>> > (configurable in weewx.conf) process loop records.... so I would have >>> > thought it would 'capture' your info. >>> > Of course I may be completely off on a tangent here - as I said I don't >>> > have a vantage or the luxury of battery statuses!! >>> >>> That's not how it's working here. The data is in the loop record, but >>> apparently consBatteryVoltage and txBatteryStatus data cannot be >>> captured. So nothing in either the stats DB or the archive DB. >>> >>> I'm coming from wview, where consBatteryVoltage and txBatteryStatus data >>> is in the archive DB, so I thought that it would be the same with weewx. >>> >>> I have seen at least one Vantage station running weewx that has the >>> consBatteryVoltage/txBatteryStatus plot icons with current data, so it >>> must be possible. >>> >>> Al >>> >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Weewx user's group" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/weewx-user/q-k9stqZqYQ/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected] <javascript:>. >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Weewx user's group" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/e42336df-3f6f-4884-9339-17dc9af8d59a%40googlegroups.com.
