After installing the rtl software and the weewx software on my Pi 4 and
getting everything configured I am getting things to work as expected.
Just no rain data. I was expecting to have this problem because the
output from running the command sudo PYTHONPATH=/usr/share/weewx python
/usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json" is missing the
rain data in the parsed section. Notice in the output below that there is
a value in the 'rain_in' for the out section, but that rain data is not in
the parsed section.
out:[u'{"time" : "2020-05-21 02:27:42", "model" : "Acurite-5n1", "subtype"
: 49, "id" : 1066, "channel" : "B", "sequence_num" : 0, "battery_ok" : 1,
"wind_avg_km_h" : 14.245, "wind_dir_deg" : 112.500, "rain_in" : 28.500,
"mic" : "CHECKSUM"}\n', u'{"time" : "2020-05-21 02:27:42", "model" :
"Acurite-5n1", "subtype" : 49, "id" : 1066, "channel" : "B", "sequence_num"
: 1, "battery_ok" : 1, "wind_avg_km_h" : 14.245, "wind_dir_deg" : 112.500,
"rain_in" : 28.500, "mic" : "CHECKSUM"}\n', u'{"time" : "2020-05-21
02:27:42", "model" : "Acurite-5n1", "subtype" : 49, "id" : 1066, "channel"
: "B", "sequence_num" : 2, "battery_ok" : 1, "wind_avg_km_h" : 14.245,
"wind_dir_deg" : 112.500, "rain_in" : 28.500, "mic" : "CHECKSUM"}\n']
parsed: {'wind_speed.042A.Acurite5n1PacketV2': 14.245,
'model.042A.Acurite5n1PacketV2': u'Acurite-5n1',
'channel.042A.Acurite5n1PacketV2': u'B',
'wind_dir.042A.Acurite5n1PacketV2': 112.5,
'battery.042A.Acurite5n1PacketV2': 1, 'dateTime': 1590028062,
'freq.042A.Acurite5n1PacketV2': None, 'mod.042A.Acurite5n1PacketV2': None,
'snr.042A.Acurite5n1PacketV2': None,
'sequence_num.042A.Acurite5n1PacketV2': 0, 'noise.042A.Acurite5n1PacketV2':
None, 'protocol.042A.Acurite5n1PacketV2': None,
'rssi.042A.Acurite5n1PacketV2': None, 'msg_type.042A.Acurite5n1PacketV2':
49, 'usUnits': 1}
I have done a lot of searching on this forum and the web and I understand
that there have been many changes to the labeling of rain data on the
Acurite 5n1 system. Howerver I just can't figure out where in the code I
can make a change that will accept label that my version of the weather
station uses for rain.
I have done a fair share of programming and I have the help of my son who
is a computer science graduate. I feel quite comfortable messing around in
the code
So far the only change in code that I have tried was to change the line in
sdr.py
I am running rtl_433 version 20.02-55-gc1d1f9f branch master at 202005162227
thanks for your help
--
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/cf75a52f-1ada-41c8-a6a8-48e111069cf4%40googlegroups.com.