On Tuesday, January 29, 2019 at 5:14:32 AM UTC-5, Wifi75 wrote:
>
> at each time I have already installed everything.
> just a problem I can not understand this important command to be given:
> # see how the sensor data from rtl_433 are mapped to fully-qualified names
> sudo PYTHONPATH = / usr / share / weewx python 
> /usr/share/weewx/user/sdr.py --cmd = "rtl_433 -M utc -F json -G"
>
> weewx is installed on raspberry in home / weewx
> can you help me to understand the correct command to execute?
>

please read the wiki page about paths:

https://github.com/weewx/weewx/wiki/Understanding-paths

assuming that rtl_433 works properly, and if you installed using setup.py 
to /home/weewx, and if your rtl_433 command is the invocation described in 
the sdr guide, then you probably want something like this:

sudo PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/sdr.py 
--cmd="rtl_433 -M utc -F json -G"

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.

Reply via email to