I’ve put forward an updated dataMine for approval. This has the following fixes/additions -:
[ul][li]Added ghost variable list[/li]
[li]Added function to remove ghost variables[/li]
[li]Fixed error saving graph[/li]
[li]Graphs with no recent update now show last value (rather than -999999)[/li]
[li]Added device id to archive filename to avoid filename conflicts[/li]
[li]Added ability to change graph types[/li]
[li]Added real-time energy graph (beta)[/li][/ul]
There are two significant changes -:
[ul][li]Selection of graph types. In the channel config, there’s now a GraphType option. 0=default spline, 1=line, 2=scatter, 3=area. Note that if you select scatter graph for a channel, it will only show if if you have data points enabled.[/li]
[li]There’s now a real-time energy display. This is still beta, and there are some display issues still with this that I’m aware of, but I thought I’d release it as it seems stable. I’ve attached a screenshot to show what this looks like, but basically there are two graphs - a gauge which displays the total house energy, and a donut graph which breaks this down into types.[/li][/ul]
A note on energy types…
There’s now an option in the variable configuration called EnergyCategory. This can be set to the following - 0=none, 1=Whole House, 2=Lighting, 3=Heating, 4=Entertainment, 5=Appliances, 6=Computing, 7=Utilities. This is used to categorise energy usage - I’ve specifically kept this separate from the Vera device categories!
NOTE: Only one “Whole House” item should be selected. I haven’t got a check to ensure this, so for now, try not to do it or your energy graph will be a bit “wrong”.
The Dashboard will then show the real-time consumption of devices, and their categories. This is updated as the data is updated. Its effectiveness will depend greatly on how many devices you have that record energy.
Hopefully MCV will approve this in the coming days - I welcome any comments, suggestions etc.
Please excuse me, I’m now to UI5. How does one go about updating if auto update doesn’t work? I have a check box to auto update data mine but it isn’t clickable.
You have two options, I suggest you follow option 1 to understand how the app installation are located and what Chris is referring to the latest version. It can also used to revert back to a previous version. The options are:
Option 1
Goto apps.mios.com login and then select your unit if presented with muliple units.
From the My Account select View Plugin Details
Identify the plugin you wish to update and open it by either clicking in the Plugin Nane or View located on the right side.
Click on Versions located on the top right of the screen to display the version history sceen.
Under Actions click on Install for the version you wish to install.
Option 2
In your browser use the following command. You need to replace Vera_IP and Plugin_ID to details obtained from your unit.
http://Vera_IP:3480/data_request?id=update_plugin&Plugin=Plugin_ID
Firstly, I must say thanks again for the great app.
Originally there were some serious concerns on the defaulting auto update and that there was no options to opt-out.
Therefore, a Mantis bug raised and there was suitable design to enable the user to either turn it on of off by the check-box. However, by all reports, this is now not functioning. The last bug reported reversed the logic to automatically disable and have the user enable this function… Maybe time to raise a new bug report.
No - this isn’t something I’ve (currently) implemented. Something can’t reasonably easily be done… Currently there are 2 graphs - the usage donut graph that shows where all your energy is going, and the gauge that shows total house usage. I could easily adjust the gauge so that it has a negative consumption to indicate power generated… I think I’d keep the usage graph the same though…
If that sounds useful, it can easily be added - alternatively I['m open to other suggestions…
Perhaps is posible to show the generated power also as a inverted consumer in the donut graph. And if the powermeter has a negative consumption al the people with solar power can see what’s going on with the home power.
One question. Can I change the maximum gauge value for total house gauge? Now it is “only” 6000W. I live in Finland and here is quite cold now. Yesterday my total house maximum energy usage was about 8700W and highest value that I have seen was 10623W. So for me the maximum value should be 11000W (or maybe 12000W). It would be nice if I can change that value to the gauge. Now the hand/pointer is going to the “second round”.
No - not yet anyway. I haven’t made the dataMine “stuff” configurable (eg the names of the categories, and the values on the graph). My usage normally sits around 400W to 500W except when the oven comes on (or the microwave/kettle) when it can shoot up, but 10kW is going some (I have gas heating).
I’ll take a look at making these configurable in a future version.
I am having big problems with the update. I first updated via command line and could not graph anything. I than removed the app and reinstalled via apps centre. Still no graphing. I shut down vera and installed a fresh USB. I now have limited graphing, timeline is out of sync on graph, selecting 2 channels to graph works intermittent, 3 channels graph does not work, single channel of Power Watt does not graph - no axis, no data although updates are displayed on the main screen (Solar does graph), no graph for wind direction, very slow generating the graph if at all, vera z-wave indicator goes off when I try to generate a graph and tries to restart services…
Not sure how I can fix it, have not touched EnergyCategory or GraphType…
Any suggestion? Like to revert to the 0.962 as this was working nicely and stable, could you offer a download somehow as the apps centre has only the update. (may just load a backup and use another fresh USB as “plan B”)
Not getting any better. Loaded a backup I did prior to installing the update, just to learn that this does not recover the older version of an application, still running on 0.963 and with the same issues posted earlier.
[quote=“maaxmelbourne, post:13, topic:173609”]Me again
Not getting any better. Loaded a backup I did prior to installing the update, just to learn that this does not recover the older version of an application, still running on 0.963 and with the same issues posted earlier.
Ax[/quote]
Hello Ax,
You can revert (install a previous version) follow the logic here but of course select the previous version.
Some more resets, and after mapping the mounting point to the 2nd usb port, things started to get normal again. Looks like it required more due to the new file names used for a channel. I think selecting a different port got it out of the problem…
Chris, the dashboard remains unresponsive (but I have not tried a lot with it yet), what does definitely not work in the new version is graphing of a non numerical value, in my case the wind direction from Wunderground api (which was OK in 0.962). Frequent updates of the channel status confirms new data, but a graph is not populated if requested (refer to my graphs in a recent post, graph showed abbreviations for wind direction).
Thanks for your feedback. I had a look and it looks like the way to downgrade using apps.mios.com. I have to say that I did not yet do it as 0.963 starts working now, but good to know anyhow!
@ Chris
Not sure what happened now, but wind direction graph is populating (have not changed anything). Although I do get a graph now, the y-axis units are now numbers and not direction abbreviations as they used to be in 0.962. If you have a tip to get the direction instead of a number, happy to hear from you
Secondly Dashboard does something now. It looks like an actual reading on the dial followed by a pie chart expanding. Once the full circle is drawn, the pie chart goes to a single line, than shows the last reading of the power gauge (eg 835 or 3265) and the dial jumps to a value around the 5500 W mark (same value every time). The textbox under the needle shows NaN. The graph remains unchanged until I reload dataMine. I have only one (i.e. total power of the 3 phase HEM monitor in Watt registered as EnergyCategory 1). Hope this is of some help to you.
Thanks again to all for the feedback & Merry Christmas from Down Under!
Ax
To be honest, I’m a bit surprised that the wind graph was showing directions rather than numbers. This was something that I implemented in the previous version, but hadn’t tested it recently and thought it still didn’t work (hey - and now I’m right :)). I’ll take a look at this as I can replicate it here.
The power meter works ok here so I need to look at what’s different about your setup… What do you mean by “single line”? Do you mean it’s actually a line, or a single circle?
Do you only have a single power meter? I’ve not tested a single meter (I have a bunch configured for different categories). There may be an issue if there’s only the whole house category set.
Enjoy your warm Christmas I’m originally from across the pond from you - been in the UK for a few years now tho…
Yes, I only have one device set to monitor power (HEM, 3 phase, total Watt registered as EnergyCategory 1). Re line, see screenshot attached. The full pie is drawn, dial shows right reading (shot0) and about a second later it all goes away (shot1) and remains until I reload dataMine. What is interesting now is that I can not change the value anymore, even on any other device. It does not matter if I try a channel which is logging or not logging. When I change the value and hit save, the value reverts back to 0 (or 1 for the HEM).
Unrelated but maybe of interest, I tried playing with the GraphType. A graph when plotted does not appear different when another value is selected in the config area. I leave it on 2 for one channel as my vera reboots automatically at 14:00, lets see what happens after the reset.
Thanks - the first plots look about what I’d expect with just a single energy meter. It looks like when it updates, it’s getting screwed up… I’ll see what I can find…
On a positive note - I’ve fixed the problem withe the text graphs…