root : interval is ?

79 views
Skip to first unread message

areax99

unread,
Oct 8, 2024, 1:39:22 PM10/8/24
to weewx-user
Hi, I've been having trouble refreshing web pages with the Belchertown skin lately. The graphs were not updating and were about half an hour behind. After repeatedly dumping and clearing my Davis Vantage pro2 I've almost fixed the problem, but I don't understand these DEBUG messages: Start time is....Interval is.... What do they mean?
Screenshot 2024-10-08 alle 19.05.30.png

vince

unread,
Oct 8, 2024, 3:24:12 PM10/8/24
to weewx-user
Look in belchertown.py near line 3330 for those.  To me, they're just noise messages you can quiet down by just commenting those two lines out.  You might need to restart weewx after doing so, as Belchertown seems to require that more than some other skins.

       if observation == "haysChart":

            start_ts = int(start_ts)
            end_ts = int(end_ts)

            # Set aggregate interval based on timespan and make sure it is
            # between 5 minutes and 1 day
            logging.debug("Start time is %s and end time is %s" % (start_ts, end_ts))
            aggregate_interval = (end_ts - start_ts) / 360
            if aggregate_interval < 300:
                aggregate_interval = 300
            elif aggregate_interval > 86400:
                aggregate_interval = 86400
            logging.debug("Interval is: %s" % aggregate_interval)

Reply all
Reply to author
Forward
Message has been deleted
0 new messages