$sun_visible_change.long_form

83 views
Skip to first unread message

Werner Krenn

unread,
Aug 9, 2025, 11:09:31 AMAug 9
to weewx-user
With $sun_visible_change.long_form I always get 0 minutes, 0 seconds.
I've now figured out the reason for this:
weewx.conf:
[StdReport]
 [[Defaults]]
   [[[Units]]]
      [[[[Groups]]]]
          group_deltatime = hour

With this setting, I get the correct display for sunshine duration and rainfall duration in hours
but not for $sun_visible_change.long_form.
How do I get the correct data for $sun_visible_change.long_form ?

Tom Keffer

unread,
Aug 9, 2025, 5:15:06 PMAug 9
to weewx...@googlegroups.com
Thank you! Turns out, this triggers a bug. See issue #1009. Fix in commit 153c74e.

Is there any particular reason why you are specifying that delta times should be in hours? That's not normally something a user cares about.

-tk

--
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+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/2a931076-291a-48e3-96ec-729c6c408d32n%40googlegroups.com.

Werner Krenn

unread,
Aug 10, 2025, 6:36:25 AMAug 10
to weewx-user
> Is there any particular reason why you are specifying that delta times should be in hours?

Graphic with delta_time = hour
Deltatime.png

and graphic where the user has not set delta_time = hour

Nodeltatime.png
I think the representation with delta_time = hour is clearer

Tom Keffer

unread,
Aug 10, 2025, 6:44:18 AMAug 10
to weewx...@googlegroups.com

vince

unread,
Aug 10, 2025, 12:03:04 PMAug 10
to weewx-user
Werner - can you share your configuration for the Sunshine and Precipitation duration tables ?    I'd like to add that to my setup here.
Reply all
Reply to author
Forward
0 new messages