I tried with :
cmd = / usr / local / bin / rtl_433 -f 868.300000
with:
cmd = ' / usr / local / bin / rtl_433 -f 868300000 '
with:
cmd = " / usr / local / bin / rtl_433 -f 868300000 "

I even changed the sdr.py file
self._cmd = stn_dict.get ( ' cmd ' , ' rtl_433 -f 868300000 ' )

but it does not work .
I can not make run the cmd with the arguments correctly , that are used to 
tune the dongle at 868 mhz .

I also created a .sh file that contains the syntax correct rtl_433 to run , 
I made it executable , and I tried to  run from weewx.conf, nothing!


no one has an idea to run the command
cmd = / usr / local / bin / rtl_433 -f 868.300000
from inside weewx.conf with the correct arguments ?






Il giorno giovedì 8 settembre 2016 22:54:02 UTC+2, mwall ha scritto:
>
> On Thursday, September 8, 2016 at 3:20:58 PM UTC-4, Marco Tibaldi wrote:
>>
>>
>> Good evening everyone, I'm ' trying to use the SDR driver of Matt Wall 
>> changed today. the weewx web page updates to display the correct date and 
>> time , but do not get any value in the conditions .
>>
>
> you need to define a sensor map in the [SDR] stanza in weewx.conf (you 
> should also do another pull). for example, if you want to capture data from 
> a fine offset instrument cluster, do something like this:
>
> [SDR]
>     driver = user.sdr
>     [[sensor_map]]
>         wind_gust.0026.FOWH1080Packet = windGust
>         battery.0026.FOWH1080Packet = outBatteryStatus
>         total_rain.0026.FOWH1080Packet = rain
>         wind_speed.0026.FOWH1080Packet = windSpeed
>         wind_dir.0026.FOWH1080Packet = windDir
>         humidity.0026.FOWH1080Packet = outHumidity
>         temperature.0026.FOWH1080Packet = outTemp
>
> if you have some acurite sensors, do something like this:
>
> [SDR]
>     driver = user.sdr
>     [[sensor_map]]
>         wind_dir.0BFA.Acurite5n1Packet = windDir
>         wind_speed.0BFA.Acurite5n1Packet = windSpeed
>         temperature.0BFA.Acurite5n1Packet = outTemp
>         humidity.0BFA.Acurite5n1Packet = outHumidity
>         temperature.24A4.AcuriteTowerPacket = inTemp
>         humidity.24A4.AcuriteTowerPacket = inHumidity
>
> the left-hand side is a tuple with observation_name.sensor_id.packet_type
>
> you can use * as wildcard for any part of the tuple.
>
> details and examples in the readme.txt
>
> to see what your sdr is reporting, first run the driver directly like this:
>
> PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/sdr.py
>
> or set debug=1 in weewx.conf and look at all of the raw output from all 
> the sensors that your sdr can detect.
>
> 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