Lightning Strikes Weewx Database

If you are not logging the energy data in evt_strike packets (since what it even represents in the AS3935 is up for debate), hijacking energy.AR-00015732.evt_strike from the LOOP packets may get you half way there.

strike_count=energy.AR-00015732.evt_strike

We don’t care what’s in it, just that it exists and contains a value. The next step is to modify WeeWX’s StdCalibrate section to make it always be 1.

[StdCalibrate]
[[Corrections]]
strike_count = 1

If that doesn’t work, this one looks valid from the examples in the link above:
strike_count = strike_count - strike_count + 1

Let me know if this crazy roundabout idea works…