Hi,
Another way to go, if you want to have the sunshine time recorded as hours,
is to mofify the end of the extension to divide it by 60, as follows :
if mesure > seuil:
event.record['sunshine_time'] = event.record['interval']/60
--
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/60201244-0231-4bf9-af62-8f58d766ec25%40googlegroups.com.