"Using the interval field from the current archive record should always 
give the correct value.".

I use it in my extension and it works very well: *event.record['interval'] *

Le vendredi 10 juin 2022 à 05:04:45 UTC+2, gjr80 a écrit :

> Whilst in almost all cases the archive interval used by WeeWX will match 
> the archive_interval config option in weewx.conf [StdArchive] this is not 
> always the case. Installs that use software record generation always use an 
> archive interval that matches the archive_interval config option; 
> however, when using hardware record generation if the archive interval set 
> in the station hardware is different to the archive_interval config 
> option the archive_interval config option is ignored and the station 
> hardware archive interval is used instead. This is most commonly seen with 
> Davis stations used with a default WeeWX install. The Davis station uses an 
> out-of-the-box 30 minute archive interval and that value overrides the 
> default WeeWX archive interval of five minutes.
>
> Using the interval field from the current archive record should always 
> give the correct value.
>
> Gary
>

-- 
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/5000bcff-7e75-4229-a2e8-d2f4f524f529n%40googlegroups.com.

Reply via email to