Just a quick update on the next version that I hope to upload by the end of the week.
I have been hard at work on the documentation.
I have discovered that doing this is a really good way of ironing out idiosyncrasies and bugs in the plugin.
I also got sidetracked on adding a new feature which is to create CSV output files from the PostgreSQL Indigo device history log.
This new feature works in a different manner to the existing CSV creation. The existing CSV processing updates the CSV file whenever one of the five monitored states changes.
The additional PostgreSQL CSV feature creates the CSV files from scratch and on demand. This is potentially more efficient as you don't need to create the CSV files until you actually need them. The Action to do this also allows you to override the default retention period. So you could create data for example 24, 12, 6 and 3 hours.
I drive this processing from Control Pages. I have a master page with the list of thermostats and clicking on one of the thermostats links to the relevant thermostat page with a server action to create the CSV files and then 3 seconds later to create the Matplotlib chart. This is displayed on the individual thermostat page as a refreshing image. I haven't done this yet but you could have buttons underneath the chart with say 24 / 12 / 6 / 3 and clicking on these buttons would recreate the CSV data accordingly.
I haven't done any of the processing to support SQLite as I am not using it but I could add that in due course.
To support this new CSV processing, I have had to change the plugin config and the TRV Controller device settings. So these will need to be edited and saved when the new version is installed in order to select the appropriate options (even if you intend to leave as is).
I just need to add this to the documentation and then complete a final bit of testing and I will then make it available.