Try

sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py

On Wednesday, January 2, 2019 at 10:25:51 PM UTC-5, Charlie Thompson wrote:

> When I try to run that exact command I get this following:
>
> root@raspberrypi:/usr/share/weewx/user# python sdr.py --cmd="rtl_433 -q -U 
> -F json -G"
> Traceback (most recent call last):
>   File "sdr.py", line 88, in <module>
>     import weewx.drivers
> ImportError: No module named weewx.drivers
> root@raspberrypi:/usr/share/weewx/user
>
>
>
> On Wednesday, January 2, 2019 at 8:29:12 PM UTC-6, rich T wrote:
>>
>> Charlie
>>
>> I believe message 49 of the Acurite5n1Packet has two keys/value for 
>> rainfall:
>>
>> rainfall_accumulation_inch
>> raincounter_raw
>>
>> Try the following mapping:
>> rain_total = rainfall_accumulation_inch.0D67.Acurite5n1Packet.
>>
>> Can you post the results of the cmd Gary provided.
>>
>> Rich
>>
>>
>> On Wednesday, January 2, 2019 at 7:36:46 PM UTC-5, Charlie Thompson wrote:
>>
>>> Everything is working but I'm *not *getting the rain gauge data...at 
>>> all.
>>> Attached are my *sdr.py* and *weewx.conf* files.  
>>> There must be something wrong in one of them!
>>>
>>> *From the Acurite 5n1 senso*r:
>>>
>>> Wind speed works
>>> Wind direction works
>>> Humidity works
>>> Temperature works
>>> Rain gauge does *NOT *work.
>>>
>>> Any help appreciated.
>>>
>>> Thanks,
>>> -Charlie
>>>
>>>
>>>

-- 
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.

Reply via email to