Hi, I'm unable to get Weewx to light lightning - even with a clean install of 4.5.1.
My lightning sensor is the one that fits inside the Acurite Atlas 7 in 1 sensor. I'm intercepting the data via a BME280 plugin. In sdr.py, I've modified the AcuriteAtlasPacket class to include the below additional lines that reference lightning: if 'lux' in obj: pkt['lux'] = Packet.get_int(obj, 'lux') * if 'strike_count' in obj:* * pkt['strike_count'] = obj.get('strike_count')* * if 'strike_distance' in obj:* * pkt['strike_distance'] = obj.get('strike_distance')* pkt['battery'] = 1 if Packet.get_int(obj, 'battery_ok') == 0 else 0 In weewx.conf: [[sensor_map]] outTemp = temperature.02BC.AcuriteAtlasPacket outHumidity = humidity.02BC.AcuriteAtlasPacket windSpeed = wind_speed.02BC.AcuriteAtlasPacket windDir = wind_dir.02BC.AcuriteAtlasPacket UV = uv.02BC.AcuriteAtlasPacket #rain_total = rain_total.02BC.AcuriteAtlasPacket radiation = lux.02BC.AcuriteAtlasPacket lux = lux.02BC.AcuriteAtlasPacket Atlas_rain_total = rain_total.02BC.AcuriteAtlasPacket strikes_total = strike_count.02BC.AcuriteAtlasPacket strike_dist = strike_distance.02BC.AcuriteAtlasPacket windBatteryStatus = battery.02BC.AcuriteAtlasPacket [[deltas]] rain = Atlas_rain_total lightningStrikes = strikes_total lightningDistance = strike_dist What the heck am I doing wrong? -- 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/c645fe43-df10-48f3-a4cf-61db37630404n%40googlegroups.com.