Lightning sensor from Ecowitt PWS problem

117 views
Skip to first unread message

Riccardo Rossi (RikyUnreal - IU4APB)

unread,
Apr 20, 2024, 2:40:57 PM4/20/24
to weewx-user
Hi all,
I'm running WeeWX 4.10.2 on a Raspberry PI3 and I'm getting data from an Ecowitt PWS.

To do this, I used this tutorial https://www.cougar.eu.com/useful-guides/weewx-guides/rasberry-pi/add-ecowitt/index.html

It works like a charm and recently I added a lightning sensor to the PWS: today the sensor finally detected two lightnings.

As you can see in the screenshot, the lightning strikes in the "Current Conditions" section are correct, but in the "Statistics" section the number is weird and it keeps increasing right now even though no more lightning are occurring.  The bar graph is also anomalous.

Any suggestions to fix the issue?

Riky
weewx-eco-lightnining.jpg

vince

unread,
Apr 20, 2024, 4:05:38 PM4/20/24
to weewx-user
One is since the last archive period, the other is the sum of all archive periods in that longer time period.

Check your db and see if the records add up.

Riccardo Rossi (RikyUnreal - IU4APB)

unread,
Apr 20, 2024, 5:34:46 PM4/20/24
to weewx-user
Hi Vince,
unfortunaly I have no idea to how to to that (I have a very basic knowledge of Linux/Python programming).

But since the PWS is still sending the value "2" every minute (60 seconds is the weewx polling time), the db value is still increasing counting 120 hits in an hour.

The problem is that the "2" is a daily/sum itself, and not an instant value.

After the midnight the PWS will reset its counter.
Reply all
Reply to author
Forward
0 new messages