I’ve just pushed another bunch of changes to https://github.com/vaughano/OpenSprinkler-Controller/tree/timeline-logs. These changes fix some introduced bugs in the preview timeline (due to component name clashes), introduce a new action in main.php for looking up detailed log data (including water pressure, flow, air temps, whatever else we can think of), and changes in main.js.php to render the new detailed JSON on the timline component.
It is still serving static JSON for this data, but the infrastructure is there now to plug in an external web service that can produce it.
- Allow configuration to enable/disable extra log details and/or timeline view in logs
- Allow configuration of water pressure thresholds for timeline bar colouring
- Allow configuration of external web service that will provide detailed logs (might branch the interval program to do this; still thinking this through)
- Plenty of other things I haven’t yet thought of!