As per merbanan/rtl_433#1275
<https://github.com/merbanan/rtl_433/issues/1275> we just finished the
process of adding this new Ecowitt WH40 rain gauge sensor to rtl_433 driver.
It now runs fine after updating the driver to the newest version, but I
still cannot see the data in weewx.
Here are the details:
1. Running the driver apart from weewx.
rtl_433 -M utc -F json
{"time" : "2020-02-05 12:37:05", "model" : "EcoWitt-WH40", "id" : 52591,
"rain_mm" : 0.800, "data" : "0002ed0000", "mic" : "CRC"}
rtl_433 -M utc
time : 2020-02-05 12:35:27
model : EcoWitt-WH40 id : 52591
Total Rain: 0.8 mm Extra Data: 00027b0000 Integrity : CRC
(The 0.8mm just represents some manual tips of the rain bucket)
1. Then I added a line to the sensor map (where I have already other
sensors reporting)
"rain_total = rain_total.52591.EcoWittWH40Packet"
Running weewx in debug mode and reporting unmapped and unrecognized
sensors, I get this message:
Feb 5 10:13:05 raspberrypi weewx[14245]: sdr: MainThread: parse_json:
unknown model EcoWitt-WH40
Feb 5 10:13:05 raspberrypi weewx[14245]: sdr: MainThread: punt unrecognized
line '{"time" : "2020-02-05 13:13:01", "model" : "EcoWitt-WH40", "id" :
52591, "rain_mm" : 0.800, "data" : "0002de0000", "mic" : "CRC"}#12
<https://github.com/matthewwall/weewx-sdr/issues/12>'
I'd appreciate your help in understanding what else needs to be done for
Weewx to recognize this new sensor (how to overcome the "unrecognized
model..." and "unrecognized line..." messages), and/or any modification to
the sensor map line, but surely once we see an "unparsed..." message we
will be able to use the right naming for the sensor map definition.
Thanks in advance!
Best regards,
Helmut
--
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/2ea197a7-cdf5-4453-aedd-1d276ff103dc%40googlegroups.com.