That worked! Thank you so much! I got this:
pi@weatherstationpizero:~ $ sudo PYTHONPATH=/usr/share/weewx python
/usr/share/weewx/user/sdr.py --cmd='rtl_433 -R 39 -f 433919000'
out: []
unparsed: []
out: []
unparsed: []
out: []
unparsed: []
out: []
unparsed: []
out: ['2016-09-26 18:59:04 Acurite 5n1 sensor 0x0566 Ch A, Msg 38, Wind 5
kmph / 3.1 mph, 18.6 C 65.5 F 38 % RH\n']
parsed: {'wind_speed.0566.Acurite5n1Packet': 5.0,
'temperature.0566.Acurite5n1Packet': 18.6,
'temperature_F.0566.Acurite5n1Packet': 65.5, 'dateTime': 1474916344,
'wind_speed_mph.0566.Acurite5n1Packet': 3.1,
'humidity.0566.Acurite5n1Packet': 38.0, 'usUnits': 16}
out: ['2016-09-26 18:59:04 Acurite 5n1 sensor 0x0566 Ch A, Msg 38, Wind 5
kmph / 3.1 mph, 18.6 C 65.5 F 38 % RH\n']
parsed: {'wind_speed.0566.Acurite5n1Packet': 5.0,
'temperature.0566.Acurite5n1Packet': 18.6,
'temperature_F.0566.Acurite5n1Packet': 65.5, 'dateTime': 1474916344,
'wind_speed_mph.0566.Acurite5n1Packet': 3.1,
'humidity.0566.Acurite5n1Packet': 38.0, 'usUnits': 16}
out: ['2016-09-26 18:59:04 Acurite 5n1 sensor 0x0566 Ch A, Msg 38, Wind 5
kmph / 3.1 mph, 18.6 C 65.5 F 38 % RH\n']
parsed: {'wind_speed.0566.Acurite5n1Packet': 5.0,
'temperature.0566.Acurite5n1Packet': 18.6,
'temperature_F.0566.Acurite5n1Packet': 65.5, 'dateTime': 1474916344,
'wind_speed_mph.0566.Acurite5n1Packet': 3.1,
'humidity.0566.Acurite5n1Packet': 38.0, 'usUnits': 16}
out: []
unparsed: []
out: []
unparsed: []
out: []
unparsed: []
out: []
unparsed: []
out: []
unparsed: []
Should I be concerned about the five out:/unparsed: bits I get after every
cycle? Is that the mapping business of which you speak?
Thanks again.
On Sunday, September 25, 2016 at 9:59:05 PM UTC-5, mwall wrote:
>
> On Sunday, September 25, 2016 at 9:39:45 PM UTC-4, Richard Scruggs wrote:
>>
>> I'm assuming it means I have something configured wrong. Any ideas?
>>
>
> hi richard,
>
> by default, the cmd is simply 'rtl_433'
>
> when you invoke the driver directly, it does not use the weewx
> configuration file or other weewx plumbing. so you need to tell it the
> command you want it to use, something like this:
>
> sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py
> --cmd='rtl_433 -R 39 -f 433919000'
>
> if that works, then you can put the cmd in the weewx config file like this:
>
> [SDR]
> driver = user.sdr
> cmd = rtl_433 -R 39 -f 433919000
>
> at that point you will also need to specify the sensor_map to associate
> sensor output with fields in the weewx database schema.
>
> these inexpensive sdr are pretty fun, eh?
>
> m
>
--
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.