Matt, just to understand:
with your driver is sufficient to map the output of the sensors and make them 
coincide with the database tables?
and,
with this method it is possible to map unknown sensors ?


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