Hi Kike, I'm glad you're enjoying the skin. You've mentioned this problem of yours before <https://groups.google.com/d/msg/weewx-user/VyVMEfuxClo/n8D_YVjbAQAJ>. I have it written down to look into. I volunteer my time to this project and haven't had enough time to add this feature to development.
If you implement a way to do this before I can, a pull request is welcomed so it can be added in. It could possibly take the "crontab" approach of "generate = daily" or "generate = hourly" in the graph group. Then belchertown.py would have to translate that to a timestamp and compare that on every run. A lot of testing would have to take place. On Monday, September 16, 2019 at 4:30:26 AM UTC-4, Kike .Asekas wrote: > > This skin allows us to make amazing graphics and this makes us want to > have many. > The problem is that when we want to make a graph that compares the average > temperatures of the last 10 years per month and another similar with the > rain, it causes in my rpi 2b + to have blockages in the database when it > coincides that weewx is writing in the database. > These graphs do not need to be made at each turn because only the last > query will change minimally and the queries are repeated to obtain data > already calculated and that do not vary. I believe that something would > have to be changed so that only the last query (the last month of the last > year in the example) should be done and take advantage of the previous json > data. I don't know if it's possible or complicated to do this. > Another way could be marking some graphs so that they are not generated > every turn. > In my case with the rpi in theory I can have amazing graphics but in > practice I have to remove them by having many queries that cause me to have > blockages and data loss. > -- 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/1db7b861-d36d-426e-9764-22348d8b6165%40googlegroups.com.
