I have a new version of dataMine (nearly) ready for testing. I’ll try and upload it here tomorrow - I intend to release it as a “beta” for more experienced/adventurous users before I put it on to apps. There’s a couple of reasons for this - it’s quite a big update (change in java libraries and Lua code) and it’s also got a few quirks still which I need to iron out, but I’d like to get some feedback.
This version has a slightly different UI as I’ve changed the java libs. I’m confident that this library will allow me to add the features I want without falling over, although it’s a bit more complicated, and has its own “issues”! The main screen looks largely the same as the current version of dataMine, with a few exceptions -:
[ul][li]The channel list is sortable, and you can add/remove different columns of data. It also categorises variables - currently this is an automatic thing, but the intention is to make this configurable.[/li]
[li]Currently, you can’t select the axis a channel is graphed on. I had trouble implementing this, so currently it puts different data types onto different axis automatically. This works fine for things like humidity or temperature where data is the same, but in some cases data types get grouped (eg weather variables) and they aren’t necessarily compatible when graphed[/li]
[li]There’s now a feature to save graphs. Just select the channels and click the save button. You’ll be asked for a name which appears in the list, and a reference. The reference is not currently used, but will be used to bring up a separate page with just this graph on it. Currently, if you save a graph with an existing name, it will not save - I’ll change this at some point to update the channels. Also, you can’t currently delete saved graphs…[/li]
[li]To recall a saved graph, click on the saved graphs header and then double click on the graph name.[/li][/ul]
In addition, you can now set up channels in a new “Configuration” tab. This is still work in progress, but currently allows you to enable/disable logging, configure the displayed name for the variable, and set a unit name. There may (likely!) be some quirks when saving channels, so if you change the configuration, you are advised to refresh dataMine after your done (for example, channels won’t immediately be available for graphing until you refresh). There is an area to display “ghost” variables (these are variables that still exist in the dataMine configuration, but the devices have previously been deleted) - this currently doesn’t do anything. I’ve attached a picture of the config screen.
I’ll upload this new version tomorrow night. It will need to be loaded manually, and I suggest that only users who are confident in using WinSCP and loading Lua files manually “upgrade” to this version. It won’t (or shouldn’t!) change your current configuration, so any channels currently being logged will continue to be logged. However, you can’t mix the new GUI with the old plugin as I’ve had to change the plugin to support the extra features.
Chris