So, I had a storm come through the area and MyAcurite shows 8 strikes today 
with last one at 9:36 PM EDT at 1 mile. I don't see anything regarding 
strike data in the web display for Weewx.

I have the model 06075M lightning detector installed in my Atlas:

https://www.acurite.com/shop-all/weather-instruments/weather-sensors-and-parts/accessories/atlas-lightning-detection-sensor.html?ref=name

I am using the sdr.py to retrieve the data from my Atlas.

[SDR]
    # This section is for the software-defined radio driver.

    # The driver to use
    driver = user.sdr
    path = /usr/local/bin

    [[sensor_map]]
        outTempBatteryStatus = battery.0222.AcuriteAtlasPacket
        outTemp = temperature.0222.AcuriteAtlasPacket
        outHumidity = humidity.0222.AcuriteAtlasPacket
        windSpeed = wind_speed.0222.AcuriteAtlasPacket
        windDir = wind_dir.0222.AcuriteAtlasPacket
        UV = uv.0222.AcuriteAtlasPacket
        rain_total = rain_total.0222.AcuriteAtlasPacket
        radiation = lux.0222.AcuriteAtlasPacket
        strikes_total = strike_count.0222.AcuriteAtlasPacket
        strike_distance = strike_distance.0222.AcuriteAtlasPacket
        lux = lux.0222.AcuriteAtlasPacket
        log_unknown_sensors = True
        log_unmapped_sensors = True

    [[deltas]]
        rain = rain_total
        Lightning_Strikes = strikes_total

Here's a bit of the syslog output:

Sep 25 22:09:43 raspberrypi weewx[11886] DEBUG user.sdr: lines=['{"time" : 
"2020-09-26 02:09:40", "model" : "Acurite-Atlas", "id" : 546, "channel" : 
"A", "sequence_num" : 0, "battery_ok" : 1, "subtype" : 39, "wind_avg_mi_h" 
: 6.000, "uv" : 0, "lux" : 0, "strike_count" : 9, "strike_distance" : 0, 
"exception" : 0, "raw_msg" : "c222e70300000082a0f0"}\n', '{"time" : 
"2020-09-26 02:09:40", "model" : "Acurite-Atlas", "id" : 546, "channel" : 
"A", "sequence_num" : 1, "battery_ok" : 1, "subtype" : 39, "wind_avg_mi_h" 
: 6.000, "uv" : 0, "lux" : 0, "strike_count" : 9, "strike_distance" : 0, 
"exception" : 0, "raw_msg" : "c622e70300000082a0f4"}\n', '{"time" : 
"2020-09-26 02:09:40", "model" : "Acurite-Atlas", "id" : 546, "channel" : 
"A", "sequence_num" : 2, "battery_ok" : 1, "subtype" : 39, "wind_avg_mi_h" 
: 6.000, "uv" : 0, "lux" : 0, "strike_count" : 9, "strike_distance" : 0, 
"exception" : 0, "raw_msg" : "ca22e70300000082a0f8"}\n']
Sep 25 22:09:43 raspberrypi weewx[11886] DEBUG user.sdr: 
packet={'outTempBatteryStatus': 0, 'windSpeed': 6.0, 'UV': 0, 'radiation': 
0, 'lux': 0, 'dateTime': 1601086180, 'usUnits': 1}
Sep 25 22:09:43 raspberrypi weewx[11886] DEBUG user.sdr: 
packet={'outTempBatteryStatus': 0, 'windSpeed': 6.0, 'UV': 0, 'radiation': 
0, 'lux': 0, 'dateTime': 1601086180, 'usUnits': 1}
Sep 25 22:09:43 raspberrypi weewx[11886] DEBUG user.sdr: 
packet={'outTempBatteryStatus': 0, 'windSpeed': 6.0, 'UV': 0, 'radiation': 
0, 'lux': 0, 'dateTime': 1601086180, 'usUnits': 1}
Sep 25 22:09:46 raspberrypi weewx[11886] DEBUG user.sdr: lines=[]
Sep 25 22:09:50 raspberrypi weewx[11886] DEBUG user.sdr: lines=[]
Sep 25 22:09:53 raspberrypi weewx[11886] DEBUG user.sdr: lines=['{"time" : 
"2020-09-26 02:09:50", "model" : "Acurite-Atlas", "id" : 546, "channel" : 
"A", "sequence_num" : 0, "battery_ok" : 1, "subtype" : 37, "wind_avg_mi_h" 
: 4.000, "temperature_F" : 70.000, "humidity" : 100, "strike_count" : 9, 
"strike_distance" : 0, "exception" : 0, "raw_msg" : 
"c222658288cce482a025"}\n', '{"time" : "2020-09-26 02:09:50", "model" : 
"Acurite-Atlas", "id" : 546, "channel" : "A", "sequence_num" : 1, 
"battery_ok" : 1, "subtype" : 37, "wind_avg_mi_h" : 4.000, "temperature_F" 
: 70.000, "humidity" : 100, "strike_count" : 9, "strike_distance" : 0, 
"exception" : 0, "raw_msg" : "c622658288cce482a029"}\n', '{"time" : 
"2020-09-26 02:09:50", "model" : "Acurite-Atlas", "id" : 546, "channel" : 
"A", "sequence_num" : 2, "battery_ok" : 1, "subtype" : 37, "wind_avg_mi_h" 
: 4.000, "temperature_F" : 70.000, "humidity" : 100, "strike_count" : 9, 
"strike_distance" : 0, "exception" : 0, "raw_msg" : 
"ca22658288cce482a02d"}\n']

So, how can I properly get the lightning data via sdr.py and that displayed 
in Weewx html output?

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/924074e2-ed03-4f85-ab71-44307546b9bbn%40googlegroups.com.

Reply via email to