Thanks for that. Been wanting to have battery status appear, but wasn't wanting to change the driver. I couldn't find where the extensions were documented, so left things alone as it is a nice to have. As a plus, this is the first time I've seen mention of rain_total since I've used Interceptor. Jan 29 20:09:40 srvr weewx[13658] INFO user.interceptor: using 'totalrainin' for rain_total
On Wednesday, January 29, 2020 at 7:21:32 PM UTC-5, mwall wrote: > > > > On Wednesday, January 29, 2020 at 11:58:09 AM UTC-5, Vetti52 wrote: >> >> At the moment, I do all the changes directly in interceptor.py, as this >> is up to now the only way, I can understand, what I am doing. But, maybe, I >> should better manage to put all these things into my weewx.conf section >> [[sensor_map_extensions]], if not fixed otherwise. >> > > you should put your customizations in the weewx configuration file. > > for example, to map wh65_battery to the database field txBatteryStatus, do > this: > > [Interceptor] > ... > [[sensor_map_extensions]] > txBatteryStatus = wh65_battery > > that way you get all the standard mappings, and just override the > txBatteryStatus > > m > -- 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/5ab4a84b-91f1-4ad8-80dd-9fdde7979b71%40googlegroups.com.
