>    From:     Clay Jackson
>    Subject:     Acurite Lighning Sensor
>    Date:     13 February 2017 23:21:23 EST
>
> Hi, Matthew – new topic/question.   I have one of the Acurite Lighting 
sensors and would like to
> integrate it into the weewx SDR.  It looks right now as if it’s not 
really supported. I tried just
> mapping the senors and got some screwy results (see an earlier post).  
Then I went back
> and read the code; and it looks like the RTL driver is just dumping data, 
rather than doing
> a “real” decode.   I’d be happy to work with you on seeing if we can get 
it working – let me
> know if you’d like to try that.
> 
> Thanks!
> 
> Clay Jackson

clay,

this is typical output from the lightning detector, as returned by rtl_433:

2016-11-04 04:34:58 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % 
RH Strikes 50 Distance 69 - c0  53  6f  3a  d1  0f  b2  c5  13*
2016-11-04 04:43:14 Acurite lightning 0x536F Ch A Msg Type 0x51: 15 C 58 % 
RH Strikes 55 Distance 5 - c0  53  6f  3a  d1  0f  b7  05  58*

with a SDR configuration and sensor_map like this:

[SDR]
    driver = user.sdr
    cmd = rtl_433 -q -U -G -F json
    [[sensor_map]]
        windDir = wind_dir.0BFA.Acurite5n1Packet
        windSpeed = wind_speed.0BFA.Acurite5n1Packet
        outTemp = temperature.0BFA.Acurite5n1Packet
        outHumidity = humidity.0BFA.Acurite5n1Packet
        outTempBatteryStatus = battery.0BFA.Acurite5n1Packet
        inTemp = temperature.24A4.AcuriteTowerPacket
        inHumidity = humidity.24A4.AcuriteTowerPacket
        txBatteryStatus = battery.24A4.AcuriteTowerPacket
        extraTemp2 = temperature.526F.AcuriteLightningPacket
        extraHumid2 = humidity.526F.AcuriteLightningPacket
        distance = distance.526F.AcuriteLightningPacket
        strikes_total = strikes_total.526F.AcuriteLightningPacket
    [[deltas]]
        strikes = strikes_total

the weewx-sdr driver parses lightning sensor output into packets something 
like this:

LOOP:   2017-02-14 09:50:31 EST (1487083831) altimeter: None, appTemp: 
None, barometer: None, cloudbase: None, dateTime: 1487083831, dewpoint: 
None, distance: 15.0, extraHumid2: 35.0, extraTemp2: 55.4, heatindex: None, 
humidex: None, inDewpoint: None, maxSolarRad: None, rainRate: 0, strikes: 
0.0, strikes_total: 61.0, usUnits: 1, windchill: None

is that what you see?

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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to