Hi there,
This is a cool plugin.
I wanted to share what I did over a year ago to get graphs in Grafana. I wrote a script that gets a list of variables and devices from indigo (API), then tails the sqlite database and gets all values. It outputs json document which is parsed by Logstash and values are inserted into Elasticsearch. I chose this solution because I get precise timestamps from sqlite when the values are changing and I see all the data points on my graphs. Additionally, some devices have more than one value (thermostats output current temperature, humidity, and all setpoints) and I wanted to capture and graph all those.
The script is in
https://github.com/radekw/indigo_scripts git repo but it lacks the documentation on the setup process for Logstash and Elasticsearch.
I would love to see indigo also write a log file of device and variable changes (in addition to sqlite database). I was thinking about writing a plugin to do that but I wasn't sure where to begin and whether it's possible to subscribe to the data somehow. Let me know if my script can be somehow turned into a plugin.