Change the battery line just below IDENTIFIER = "Fineoffset-WH51" in the
bin/user/sdr.py driver to:
pkt['battery'] = 0 if obj.get('battery_ok') == 1 else 1
On Monday, July 4, 2022 at 4:19:02 AM UTC-7 [email protected] wrote:
> It is also reporting battery low even though
> 'battery_ok.00dc59.FOWH51Packet':
> 1.0
> On Monday, 4 July 2022 at 11:44:01 UTC+1 Mark Fraser wrote:
>
>> I've just added a WH51 soil moisture sensor to Weewx 4.8 running
>> Weewx_SDR by adding the following lines to weewx.conf:
>>
>> SoilMoist1 = soil_moisture_percent.00dc59.FOWH51Packet
>> batteryStatus1 = battery_ok.00dc59.FOWH51Packet
>> supplyVoltage = battery_mV.00dc59.FOWH51Packet
>>
>>
>> batteryStatus and supplyVoltage are showing on the Seasons skin, but I'm
>> not seeing a graph or anything under current conditions. Is there
>> anything else I need to change or should I be using soil_moisture_raw
>> instead of soil_moisture_percent?
>>
>
--
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/6987fa00-a794-475c-8593-37eb6044a31bn%40googlegroups.com.