I hope to get 0.974 into the apps store over the weekend. This has quite a few changes - mostly minor, but…
The first point to note is that I’ve upgraded to the latest versions of the libraries I’m using. This fixes some issues that I’ve been waiting for for a while - eg. the configuration options for the graph now supports graph type names rather than having to type in numbers…
This version adds a day/night indicator. The plugin logs the sunrise / sunset times, and then there’s a button on the toolbar that will show night-time bands in the graph. Note that this builds up the times over time - it doesn’t calculate this on the fly, so it doesn’t display old data.
The other significant change is the graph screen configuration. I’ve added the ability to hide the graph config window (the channel list etc). The first picture attached shows a new button in the slider bar - clicking on this hides the channel list etc to the left and you’ll see a window as in the second picture. To temporarily display it again, click on the bar on the left - when you then select a graph, this should hide again, and you’ll have the full window space available for graphs.
On mobile devices, this defaults to collapsed to provide the maximum space on the smaller screens. I welcome feedback on how this works - some further tuning may be needed…
The full changelog is below.
Version 0.974
[ul][li]Removed function to retreive SysInfo - using luup variables instead[/li]
[li]Modified startup to split readConfig into separate function[/li]
[li]Added feature to use last backup file if main config file read fails[/li]
[li]Check if USB mount has changed. If so, unmount prior to mounting[/li]
[li]Cope with blank, or non CSV formatted lines in data[/li]
[li]Added reprocessing of data if alpha-lookup fails getting graph data[/li]
[li]Fixed some formatting errors in index.html[/li]
[li]Added sunrise/sunset logging[/li]
[li]Added night bands in plot and button to activate[/li]
[li]Fixed bug where notification updates were being requested too often[/li]
[li]Upgrade library to Ext4.2[/li]
[li]Upgrade graph library to 3.0 beta[/li]
[li]Add propper names to configuration property sheet[/li]
[li]Add dropdown lists in configuration to graph type, energy category[/li]
[li]Allow collapsible window in graph screen[/li]
[li]Default collapsible window to collapsed on mobile device[/li]
[li]Energy donut problem with 0W labels fixed[/li][/ul]
Cheers
Chris