dataMine 0.965 has been approved by MCV. This issue fixes a number of small issues and adds some small/simple features that people have requested. Most of these are the same as for the 0.964, with a few additions (v0.964 was deleted as I submitted both 0.964 and 0.965 for approval over the Christmas break and MCV have just approved the latest version).
[ul][li]Fixed axis names when graphing text values[/li]
[li]Added default wind direction lookup table[/li]
[li]Added whole house graph to energy dashboard (10 minute update)[/li]
[li]Updated version of graphing library (2.3.5)[/li]
[li]Added mechanism to save GUI configuration data on Vera[/li]
[li]Added configuration for min/max values on whole house energy meter[/li]
[li]Limit energy graph value to within min/max limits[/li]
[li]Added support for energy generation[/li]
[li]Allow multiple whole-house energy devices[/li]
[li]Added error message if dataMine fails to load[/li]
[li]Added offset property to varible configuration[/li]
[li]Added configuration for drowsy warning and error times[/li]
[li]Forced full status update if Lua restarts[/li]
[li]Forced full status update if long period between updates (eg if PC was sleeping)[/li]
[li]Modified tooltip on energy usage graph[/li]
[li]Add startup function to check for time of last update for each channel[/li]
[li]Added function to ensure values are plotted if there is a long gap between points[/li]
[li]Fixed bug with mount points not named “dataMine”[/li]
[li]Added “loading” dialogue when data being retrieved and processed[/li]
[li]Added “error” dialogue if graph data retreival error[/li][/ul]
I updated to 0.965, and I got back the “Unable to download configuration data from Vera” that I had in 0.964, which you did a fix for. Maybe the fix did not make it into 965. Can I use the L_DataMine1.lua which fixes this on 0.965, or is it incompatible?
Hi Micael,
If you have v0.965, then this should be included (I’ve just had a look at the version that’s in the appstore, and it’s there). If you have 0.964 that others seem to (somehow!) be getting, then this doesn’t have this included.
In any case, you can use the lua file I emailed you last weekend. A check of the logfile would be interesting…
Hi Chris, not sure what just happened. ??? I went down and watched a movie, and when I came back to my computer, dataMine worked just fine again!! Maybe some caching issue, or something. Hmm. Anyway, you must disregard what I wrote.
Hi all, noit sure if this is a 0.965 problem. If I select the to be monitored channels I can make a graph. I also see the channels counter in my Vera UI numbered up (3).
All works fine and I can save in datamine etc. But if I press “reload” in Vera, all met datamine settings are gone… Is that normal? Is there a way to overcome?
No - this isn’t normal. It sounds like a USB mount issue maybe. Can you look at the log and post what is logged for dataMine. Using WinSCP, press the TERMINAL button, and type “cat /var/log/cmh/LuaUPnP.log | grep dataMine” to get the latest entries. If you do this a minute or so after a restart it should be the most useful.
The easiest way (at the moment, and in my opinion ;)) is to download a program called WinSCP ([url=http://winscp.net/eng/download.php]http://winscp.net/eng/download.php[/url]). With this, you can log into Vera. The root password for your Vera is printed on the bottom (more info here - [url=http://wiki.mios.com/index.php/Logon_Vera_SSH]http://wiki.mios.com/index.php/Logon_Vera_SSH[/url]). If you have a VeraLite, then take a look at the link as it will tell you where the password can be found.
Once you have WinSCP running, click on the terminal button (lille black button with HOM on it). Then type in “cat /var/log/cmh/LuaUPnP.log | grep dataMine”.
This prints out all dataMine entries that are in the log. The log does reset occasionally (ie quite often), so this is normally only the last hour or two of data (max).
Alternatively, you can view live logs in a browser, but it’s not the nicest interface (take a look here - [url=http://wiki.mios.com/index.php/View_Logfiles]http://wiki.mios.com/index.php/View_Logfiles[/url]).
One question. How can I overcome that the line between a 0 and a 1 is not “direct” if the time is longer. So to say no “steap” line but a 90 degree angle as it is for real?
Changing graph type to 1 in the channel configuration will do this. One point to note (with a health warning) - using graph type 1 will also disable subsampling. dataMine subsamples data to speed up the data return - this can make some graphs look wrong (especially status graphs), so for graph type 1 this is disabled. However, if you’re graphing channels with a lot of data, this can mean it takes a long time for Vera to return the data, and this can cause Luup to reset.
There won’t be a problem if you’re not graphing high frequency data such as power or other sensor data - in these cases, you should leave the graph type at 0. If you’re graphing status channels that only change every few minutes (or less) then it will be fine.
The next version of dataMine will have a timeout in it to at least avoid these problems.
other question… after having days of information “to mine” ;). Do you have any hint to “backup” the data to a remote target? Let’s say FTP server or whatever?
Another option should be possible with WinSCP since it has the option to script downloads. If you have a Linux box, then take a look at the above post as it’s quite a nice simple solution.
Your NAS is probably running Linux - I’m not sure if you can telnet/SCP into it, but you might still be able to do the same thing as @Vespaman. This is effectively what I’ve done - I have a Linux box that is effectively my NAS. Currently I run this manually, which is probably a bit stupid really…
First of all thank you for the amazing App! I love dataMine. I have a question about a device (Trane Thermostat) that I had to remove and re-add to my Z-Wave network. Now in dataMine any of the points I was polling from the old Thermostat have a little ghost icon and I can’t delete them, I’ve tried selecting them and clearing those channels but it doesn’t seem to be working. Any Advice on how to clear or delete these old data points?
I also have question on my USB mount points, I’m using a USB Hub with a Vera Lite with only 1 usb port. I have a AD2USB USB to Serial device on 1 usb port to connect to my Alarm System and I’m using the other port on the USB Hub for a USB Thumbdrive (DataMine Logging). Everything works great until I restart my Vera Lite and then the USB mount point is changing from /dev/sda1 to /dev/sde1 or /dev/sdb1 (seems random) (using Fdisk -l). This breaks DataMine until I point it to the new mount point after the restart. I think this is caused by the USB hub and how OpenWRT is mounting the USB drive when it restarts. I’m looking for a way to create a static USB mount point on the Vera Lite. I think using the UUID of the USB Drive might work but I’m having problems figuring out how to get this to work correctly on the Vera Lite (OpenWRT).
I’m not sure I follow what you’ve tried, but you should be able to remove ghost variables by going to the configuration tab and clicking on “ghost variables” in the accordian list in the bottom left. This should list all ghost variables, and there should be a red cross to delete it.
Thank you! I didn’t even see that ghost option under configuration, good to go now. Any ideas on the USB mount point issues? I know the problem isn’t your plugin just looking for some help.
Sorry - had meant to comment on that as well, but forgot… Unfortunately I can’t be a lot of help. I would do a search online with “openwrt” as part of your search (openWRT being the base system on which Vera is built).
If you can’t find anything, then I suggest that you see if you can find something that’s statically linked to the USB stick each time Vera starts. I just did a quick “fdisk”, and I see there’s an “Id” field (mine says ‘b’) - maybe it’s possible to use something like this to detect the drive and link it to the correct mount point. If so, I’d be happy to write a routine that does this during dataMine startup and automounts… I’d just need a reliable way to identify the drive…
If you do find a solution, please post it here as I’m sure it would be of interest to others…