The Dashboard/UI is useful to see what state devices are currently in. However, the UI is no good for debugging/tracing/visualisation of measurements or events over longer time (one might want to see how things develop over time).
I created a few scenes which dump periodically the state of sensors/devices in logfiles. Then I have a lua script in /www/cgi-bin/ which creates a webpage which uses google chart tools. In my web browser I then get something that looks like the attached image. It works, but I have a number of questions and maybe you can answer some of these…
-
Tracking data and display results with graphs seems to me essential. Will MCV have something along these lines (and better than my DIY thing) in future versions (or is it there and I just could not find it?). It seems on the mios page there are things like it for energy monitoring.
-
I created a folder /var/log/sensors/ where I dump my data. Something is removing this folder once in a while. Which shell script is that? How can I prevent this?
-
I would like to change the index.html page to include a link to my charts page. It seems I cant change index.html. Can I just delete the link and place a copy of index.html there and then modify it?
-
What happens with updates. Will I loose what I put in cgi-bin?
-
What is included in the backup in UI4 (scenes?, devices?, luup files? )
Thanks,
Utz