Atlas Lightning Data Not Showing

71 views
Skip to first unread message

wxwatching

unread,
Sep 25, 2020, 10:29:43 PM9/25/20
to weewx-user

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:


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?

Graham Eddy

unread,
Sep 25, 2020, 11:27:37 PM9/25/20
to weewx...@googlegroups.com
looks like lightning count and distance are in the weewx packet, so presumably it is ‘in the weewx system'.
what skin are you using, and how does it display those values?

--
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+...@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.

wxwatching

unread,
Sep 25, 2020, 11:40:53 PM9/25/20
to weewx-user
Using default skin, and I don't see any values regarding lightning.

Graham Eddy

unread,
Sep 26, 2020, 12:00:27 AM9/26/20
to weewx...@googlegroups.com
look in weewx.conf to see which skin is enabled. if you are running weewx 4.1.1 (i didn’t see version stated) then likely this is Seasons skin, and you will need to hear back from Seasons skin folk on whether it auto-configures to pick up lightning values (i think there has been recent work on this but i don't think it has hit release yet)

Tom Keffer

unread,
Sep 26, 2020, 6:42:50 AM9/26/20
to weewx-user
The Seasons skin does not include lightning data by default. You would have to add it to both the skin, and if you are not using the wview_extended schema, to the database schema.

Reply all
Reply to author
Forward
0 new messages