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.
On Fri, Sep 25, 2020 at 9:00 PM Graham Eddy <[email protected]> wrote: > 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) > > On 26 Sep 2020, at 1:40 pm, wxwatching <[email protected]> wrote: > > Using default skin, and I don't see any values regarding lightning. > > On Friday, September 25, 2020 at 11:27:37 PM UTC-4 [email protected] > wrote: > >> 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? >> >> On 26 Sep 2020, at 12:29 pm, wxwatching <[email protected]> wrote: >> >> >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/924074e2-ed03-4f85-ab71-44307546b9bbn%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/924074e2-ed03-4f85-ab71-44307546b9bbn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> >> > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/93aaab7c-0b17-41e2-a9a4-a350a52ad8ddn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/93aaab7c-0b17-41e2-a9a4-a350a52ad8ddn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/D69F3BB2-1734-4CA4-AE7B-A86C171F74AF%40gmail.com > <https://groups.google.com/d/msgid/weewx-user/D69F3BB2-1734-4CA4-AE7B-A86C171F74AF%40gmail.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEA-ZLZEvL%2BjgR9Vng8AqatHCJUe2KyCSXrAoWa%3DSZT2mg%40mail.gmail.com.
