You are correct, I've located the sensor.
Now, for the parsing:
When I run it manually like this:
sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py
--cmd="rtl_433 -q -U -F json -R 33"
I get this:
.AcuriteWT450Packet': 1, 'temperature.1:2.AcuriteWT450Packet': 23.74}
parsed: {'battery.1:2.AcuriteWT450Packet': 0, 'dateTime': 1505595396,
'channel.1:2.AcuriteWT450Packet': 2, 'humidity.1:2.AcuriteWT450Packet':
50.0, 'usUnits': 16, 'sensor_id.1:2.AcuriteWT450Packet': 1,
'temperature.1:2.AcuriteWT450Packet': 23.77}
6 20:56:36", "model" : "WT450 sensor", "id" : 1, "channel" : 2, "battery" :
"OK", "temperature_C" : 23.740, "humidity" : 50}\n', '{"time" : "2017-09-16
20:56:36", "model" : "WT450 sensor", "id" : 1, "channel" : 2, "battery" :
"OK", "temperature_C" : 23.770, "humidity" : 50}\n']
parsed: {'battery.1:2.AcuriteWT450Packet': 0, 'dateTime': 1505595396,
'channel.1:2.AcuriteWT450Packet': 2, 'humidity.1:2.AcuriteWT450Packet':
50.0, 'usUnits': 16, 'sensor_id.1:2.AcuriteWT450Packet': 1,
'temperature.1:2.AcuriteWT450Packet': 23.72}
parsed: {'battery.1:2.AcuriteWT450Packet': 0, 'dateTime': 1505595396,
'channel.1:2.AcuriteWT450Packet': 2, 'humidity.1:2.AcuriteWT450Packet':
50.0, 'usUnits': 16, 'sensor_id.1:2.AcuriteWT450Packet': 1,
'temperature.1:2.AcuriteWT450Packet': 23.74}
parsed: {'battery.1:2.AcuriteWT450Packet': 0, 'dateTime': 1505595396,
'channel.1:2.AcuriteWT450Packet': 2, 'humidity.1:2.AcuriteWT450Packet':
50.0, 'usUnits': 16, 'sensor_id.1:2.AcuriteWT450Packet': 1,
'temperature.1:2.AcuriteWT450Packet': 23.77}
So it seems to parse the data as configured in weewx.conf.
But this does not happen when I run it as a service. (sudo service weewx
start)
Any clues?
--
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.