Ok thanks. I've got about an hour now so I'll see if I can play around with it too
On Sunday, March 1, 2020 at 12:57:09 PM UTC-5, Brett Cooper wrote: > > I have added `aggregate_interval = 300` to skin.conf, both in the > [homepage] segment and as a global. Will see what happens soon. > > On Sunday, March 1, 2020 at 11:07:26 AM UTC-6, Pat wrote: >> >> your reply went to me as a private message thats why it disappeared :) >> >> Your homepage graphs come up as every 3 mins for me when the graph is >> zoomed out. But when you click-to-drag to zoom in a section, it's every 1 >> minute. So I think this is highchart's way of showing a lot of data >> truncated to a viewable zoomed-out view? >> >> In terms of dialing it back to save on json size and data, I'm not sure >> an option exists right now. aggregate_interval exists in the code, but I >> don't think I've ever tested overriding it in graphs.conf - you could try >> something like aggregate_interval = 300 in graphs.conf to see if it changes >> it to every 5 mins? Some testing would need to happen here (I might be >> able to do this later this afternoon) >> >> On Sunday, March 1, 2020 at 11:51:48 AM UTC-5, Brett Cooper wrote: >>> >>> Not sure if google ate the URL or if it's in perpetual approval - added >>> a couple of spaces; https : / / weewx . potatoforinter . net >>> >>> On Sunday, March 1, 2020 at 10:24:16 AM UTC-6, Pat wrote: >>>> >>>> 60 seconds is a bit aggressive for archives, that'll explain why your >>>> json is so large. That said, your charts should be showing 60s of data, >>>> not >>>> 3 minutes, so i'm a little confused by it from this distance. Is your site >>>> public? >>>> >>>> On Sunday, March 1, 2020 at 10:50:06 AM UTC-5, Brett Cooper wrote: >>>>> >>>>> No, it is not - it's 60 seconds as per weewx.conf `archive_interval` >>>>> setting. >>>>> >>>>> All of the data is being pulled from the archive table in the weewx >>>>> SQL DB. Worth noting that I do have a weewx 'rapid' plugin active. It is >>>>> saving every loop packet (about 2-3 second wait per loop) to its own >>>>> unique >>>>> mySQL table. However, I am not seeing that data on the highcharts data >>>>> sets >>>>> anywhere. Granted, that'd likely cause my computer browser to catch on >>>>> fire. :-) >>>>> >>>>> It's a little confusing when it's pulling data on a three-minute >>>>> interval, all the while the config is 60s. >>>>> >>>>> >>>>> On Sunday, March 1, 2020 at 9:43:22 AM UTC-6, Pat wrote: >>>>>> >>>>>> The data should correlate to your archive interval. Is your archive >>>>>> interval in weewx.conf set to 3 minutes? >>>>>> >>>>>> On Saturday, February 29, 2020 at 8:50:29 PM UTC-5, Brett Cooper >>>>>> wrote: >>>>>>> >>>>>>> Quick question, is there an option somewhere on Belchertown / >>>>>>> highcharts to reduce the granularity of data outputted? I've tried >>>>>>> multiple >>>>>>> combinations to reduce the data being thrown to the JSON file for my >>>>>>> index >>>>>>> page, and it always will defer to three minutes. I would like to set it >>>>>>> to >>>>>>> five or ten minutes. >>>>>>> >>>>>>> My JSON file is currently 27500 lines of data when formatted. It's >>>>>>> causing my mobile client to become unresponsive when scrolled >>>>>>> into/out-of-the viewport. >>>>>>> >>>>>> -- 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/71ec04e3-0d5a-4a4c-aea8-eb45c0a7e84b%40googlegroups.com.