Wrote an extension for rtl_433 for a setup containing humidity, pressure,
and temperature sensors. Since it is custom, it's not clear what the 3-part
sensor id should be in weewx's [[sensor-map]] section, particularly the 3rd
part.
Some debug output for illustration:
$ env PATH=/home/pi/rtl_433-master/build/src/:$PATH
PYTHONPATH=`pwd`:`pwd`/weewx python ./user/sdr.py --debug
*out: ['{"time" : "2018-11-20 04:53:26", "model" : "McCrew Model", "id" :
105, "temp_C" : 21.700, "pres_mbar" : 1009.830, "humidity" : 32.300}\n']*
If I want to capture the humidity value, seems like I should be using an
identifier like the following:
humidity.105.*what_goes_here?*
Compare with the output of a known, already-supported temperature sensor:
*out*: ['{"time" : "2018-11-20 04:53:33", "model" : "LaCrosse TX Sensor",
"id" : 73, "temperature_C" : 4.200}\n', '{"time" : "2018-11-20 04:53:33",
"model" : "LaCrosse TX Sensor", "id" : 73, "temperature_C" : 4.200}\n']
*parsed*: {'humidity.73.LaCrosseTXPacket': None,
'temperature.73.LaCrosseTXPacket': 4.2, 'usUnits': 16, 'dateTime':
1542689613}
*parsed*: {'humidity.73.LaCrosseTXPacket': None,
'temperature.73.LaCrosseTXPacket': 4.2, 'usUnits': 16, 'dateTime':
1542689613
(Also, why does this have both an 'out' and 'parsed' outputs?)
--
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].
For more options, visit https://groups.google.com/d/optout.