I've finally fixed it, in the weewx-sdr extension the delta for lightning
is:
DEFAULT_DELTAS = {
'rain': 'rain_total',
'strikes': 'strikes_total'}
Which is different to all the posts I've seen and to the database, all of
which state:
'lightning_strike_count': 'strikes_total'
After changing the delta over to lightning_strike_count I can now see a
graph for lightning strikes.
On Tuesday, 28 March 2023 at 07:52:16 UTC+1 Mark Fraser wrote:
> Wondering if I need to change lightning_strike_count to strikes as
> lightning_strike_count doesn't seem to be setup anywhere.
> Same goes for
> observations_current = outTemp, heatindex, windchill, dewpoint,
> outHumidity, barometer, windSpeed, rain, rainRate, UV, radiat
> ion, lightning_strike_count, inTemp, inHumidity, extraTemp1, extraHumid1,
> extraTemp2, extraHumid2, extraTemp3, extraHumid3, extraTemp4, extraHumid4,
> soilMoist1, pm1_0, pm2_5, pm10_0
>
>
> On Monday, 27 March 2023 at 14:39:40 UTC+1 Rainer Lang wrote:
>
>> what console or device does weewx read from ?
>> which driver/extension are you using for catching the lightning data of
>> your Ecowitt WH57/Ambient WH31L ?
>>
>> On 27.03.2023 12:27, Mark Fraser wrote:
>> > Revisiting my lightning sensor configuration as I've got no graphs on
>> > the Seasons skin and wondering if I've set it up correctly.
>> >
>> > In my sensor map I have:
>> > strikes_total = strikes_total.52017.FOWH31LPacket
>> > lightning_distance = distance.52017.FOWH31LPacket
>> > txBatteryStatus = battery.52017.FOWH31LPacket
>> >
>> > [StdCalibrate]
>> >
>> > [[Corrections]]
>> > lightning_distance = lightning_distance if
>> > lightning_strike_count > 0 else None
>> >
>> > and
>> >
>> > [Accumulator]
>> > [[lightning_distance]]
>> > extractor = last
>> >
>> > When I start up weewx I see
>> > Mar 24 08:54:06 server weewx[537130] INFO user.sdr: deltas is {'rain':
>> > 'rain_total', 'strikes': 'strikes_total'}
>> > in the log.
>> >
>> > Is this correct?
>> >
>>
>>
--
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/0bc74abf-a17e-410d-a53f-811e617d4b36n%40googlegroups.com.