Re: [weewx-user] weewx with davis weather station and ecowitt gw1000

2023-04-08 Thread Graham Eddy
congratulations to gary for a brilliant diagnosis
⊣GE⊢

> On 9 Apr 2023, at 12:44 pm, Mike  wrote:
> 
> i have found the excluded fields option for rain in weewx.conf, I have added 
> all the lightning fields and it has sorted the issue.

-- 
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/1F174B9B-C96E-4500-9541-C1C33E568A32%40geddy.au.


[weewx-user] weewx with davis weather station and ecowitt gw1000

2023-04-07 Thread Mike
Hi,
I have a davis weather station which is polled roughly every 2 seconds. I 
have recently purchased an ecowitt wh57 lightning sensor and gw1000 gateway 
which I am polling using the user.gw1000 driver found here: 
https://github.com/gjr80/weewx-gw1000 as a service in weewx. I have found a 
way to generate test lightning and have noticed that the numbers recorded 
in the database are higher than the gw1000 interface reports. All other 
entries such as distance and time are recorded correctly.

For example 1 strike would be recorded in the db as 10 strikes.

After some messing around I noticed that 10 is basically the number of 
loops my davis was doing in the 20 second window between the gw1000 
polling. To confirm this I have set the gw1000 polling to 1 second and now 
1 strike is counted as 1 in the DB. If I set the polling to 4 seconds 1 
strike is counted as 2.

Is this something that can be resolved in code or is the fix to simply poll 
the gw1000 every 1 second?

Many Thanks
Mike

-- 
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/c444ac68-c13d-4a55-a5ee-a813bef5070fn%40googlegroups.com.