Moisture Sensor Chart - Printable Version +- SIP (https://nosack.com/sipforum) +-- Forum: SIP (Sustainable Irrigation Platform) (https://nosack.com/sipforum/forumdisplay.php?fid=1) +--- Forum: Writing plugins (https://nosack.com/sipforum/forumdisplay.php?fid=8) +--- Thread: Moisture Sensor Chart (/showthread.php?tid=324) |
Moisture Sensor Chart - cdesouza - 2024 Feb 16 The purpose of this plugin is to display charts for the following data
Sometime in the future I would also like to display charts for
I have played around with chart.js and have a rudimentary framework setup to configure and display charts: I do however have some questions:
I'm playing with the idea of turning this into a chart plugin that takes a sets of datasource/configuration and displays a chart for each. RE: Moisture Sensor Chart - dan - 2024 Feb 18 For 1 and 2 the manifest should work. Not sure about 3. Could you use a symbolic link? for 4, the accumulated watering time is not currently calculated. You could get the durations from gv.lrun or possibly from gv.rs. gv.lrun would have the correct durations of a program was cut short. RE: Moisture Sensor Chart - cdesouza - 2024 Mar 04 I put the data files under static/data What is program 0? I see that log_run() in helpers.py ignores this program. More or less done with the plugin but I found a few cases where the station_completed signal is not sent when I think it should be sent:
RE: Moisture Sensor Chart - dan - 2024 Mar 05 I will take a look at this. RE: Moisture Sensor Chart - cdesouza - 2024 Mar 08 I'm done with testing and I did not find any more issue apart from those mentioned in the previous post. So from my point of view the pull request containing the schedule_data_collector and the simple_chart plugins could be merged. |