04-18-2024, 07:33 PM
(10-24-2023, 03:50 AM)rcl27 Wrote: I noticed the slow down too. A work around I use:
I like real time-ish data displayed, but I don't need it saved. So I duplicated the variables in Arduino. Set 1 is tied to their value displays & refresh at 3 second intervals. Set 2 feeds the chart and data buckets, but only refreshes once a minute. Chart data is stored for 2 days. I only have 2 variables, temp and humidity.
It's still not perfectly smooth, but I went from about 0.5 frames per second to maybe 20-25 fps. With 1 day period selected it slows down to ~20 fps. At 12 hrs selected ~25 fps.
The slow down makes sense when you realize 3 second readings * 48 hours = 57,600 data points. With 60 second readings, it drops down to 2880.
Hope this helps!
Здравствуйте. Этим способом я пользуюсь давно, еще с Virtuino Mqtt. Мне только это и помогает. Очень, надеюсь, что позже Ilias сможет найти решение этого вопроса.
С уважением, Сергей.