I’m trying to get Datamine working with my VeraLite (firmware 1.5.622), DataMine version .98.
I read and followed the “DataMine Overview.pdf”, and tried searching the forums here but to no avail.
The Graphing Page asks to select my USB drive every time. I Reload Vera and refresh the graph page as directed, and when I revisit the graphing page it says “Vera has been reloaded, it is advisable that you refresh the datamine GUI”. I click Ok and I see a Red light for Online Status.
If I refresh at this point, as directed, it just brings me back to the “USB Configuration” page.
I’ve tried 2 USB drives, both formatted to FAT32. I’ve reloaded, and powered off/on the Vera, uninstalled/reinstalled Datamine.
Debug page is attached. Would appreciate any help - sorry if the answer is out there; if it is, I missed it.
The same thing happen to me once, i had forgotten to type in the “SetMountUUID - USB UUID”
It’s listed in the DataMine Overview.pdf – Table 1: Suggested configuration for use with Vera USB logging.
Have you got these values correct?
Same thing here. I’ve checked that the values from table 1 (in the datamine Overview.pdf) are set correctly after I chose an USB drive from the “USB Configuration” dialog Box. When I relaod Vera Lite I get this Message in the dataMin GUI: “Vera has restarted. Data may have changed and it is advisable to reload the dataMine GUI.” When i reload this page it asks for me to choose USB drive again.
I have also tried uninstalling/installing, refarmatting USB drive and reloading UI5 several times. Any suggestions?
Edit: SetMountUUID was actually set to the “USB drive’s ID”, somtehing like A870-30E1. I now changed it to “USB UUID” and datamine is working.
However, I am not sure which my two USD drives I am actually using for datamine and there are no values in the “mountLocation” and “mountType”…
These values are supposed to be populated automatically, and in my case they did.
[My copy of the manual reads: “The configuration dialogue will set the variables shown in Table 1.”. Understanding that this automatic process may not take place, the manual reads on to say they CAN be set manually.]
Anyone else? I’ve managed to implement a number of hacks/workarounds to get different things working in Vera. This is the one thing that has me stumped!
I changed the SetMountUUID field (in the device setting, advanced tab) to the LABEL of the usb drive.
Forgive me if this information is out there already and this post was in vain; I think it could be clearer in the instructions if this is a necessary step!
Been working just fine for the last 24 hours. Big fan - thanks to the developer.
Well I have exactly the same issue on my Veralite
My label is USB1G, but the usb configuration screen drop down finds something called E2DA-1910 (USB1G) which I select. When I restart and look in properties SetMountUUID is set to E2DA-1910
So which is correct
E2DA-1910
USB1G
Neither work.
I have read pdfs, forum comments, changed usb sticks, reformated, different sticks, power off on etc.
Can anyone spot what I’m not?
Here are some txt files:
luup_log:62: dataMine: Initialising dataMine System (0.980) LEAK this:12288 start:790528 to 0xa4a000 <0x2c39f680>
50 09/19/13 14:36:49.623 luup_log:62: dataMine: Error reading tmpfile during mountcheck <0x2c39f680>
50 09/19/13 14:36:49.640 luup_log:62: dataMine: Mounting dataMine storage (/dev/sda1) to (/dataMine/) <0x2c39f680>
50 09/19/13 14:36:49.681 luup_log:62: dataMine: Error reading tmpfile during mountcheck <0x2c39f680>
50 09/19/13 14:36:49.698 luup_log:62: dataMine: Mount point error: ::/dev/sda1 <0x2c39f680>
50 09/19/13 14:36:49.710 luup_log:62: dataMine: ERROR: Startup state is ‘uninitialised’! <0x2c39f680>
50 09/19/13 14:36:49.711 luup_log:62: dataMine: Reinitialising configuration structure <0x2c39f680>
50 09/19/13 14:36:49.712 luup_log:62: dataMine: Startup complete <0x2c39f680>
50 09/19/13 14:37:04.248 luup_log:62: dataMine: Delete backups complete - No files found <0x2d79f680>
50 09/19/13 14:37:04.276 luup_log:62: dataMine: Error reading tmpfile during spacecheck <0x2d79f6
You can get this error (but not always) if:
a) dataMine was working but you have just updated your firmware
b) there is no “dataMine” directory at the root level on your Vera - you’ll need to use WinSCP or similar to find out.
\dataMine folder was completely gone. (I was NOT using USB)
After reboot it showed only after going to it directly in command line (did not show in WinSCP GUI)… but throws an error when trying to CD to it. The www/dm folder exists and is fine.
I suspect a bug in dataMine, or the interaction with Vera, causing this as I have made ZERO changes to dataMine in a long time.
THE “FIX” (not really but it gets it running again)…
I’ve had many problems where DM stops working when there were too many files in \dataMine - so I put a fresh 4GB USB drive in (Vera is not set to log to USB). This may not be required, I just did it to eliminate potential space issues.
[ul][li]Create \dataMine folder and copy backed up files/folders to it[/li]
[li]Copy backup files/folders to of 4GB USB drive
[/li][li]Set UUID in the DM device[/li]
[li]Reboot[/li][/ul]
oddly enough…
DM is using the \dataMine folder to put in the files.
DM does NOT look like it is using the USB drive at all – No updated files are in the \overlay\dataMine folder, only what I copied there!?
… questions: (1) do we need \overlay\dataMine at all? (2) is \dataMine a mount point for <root>?
Right adding the dataMine directory did the trick. Thanks for that.
However I am still not sure it’s working correctly.
I have started logging 4 variables.
The main UI Icon now says ‘Channels 4’ and nothing more. Shouldn’t it say how many variables(‘Total channals’) it has found as well? Perhaps this is a clue? Also when I click the spanner I only get 2 options, datamine and Advanced. Its says Channels 4. (config is missing) . When I select datamine, nothing is listed under Channel.
50 09/23/13 13:34:58.431 luup_log:62: dataMine: Initialising dataMine System (0.980) LEAK this:98304 start:290816 to 0xc19000 <0x2c153680>
50 09/23/13 13:34:58.456 luup_log:62: dataMine: Mounted: /dev/sda1 on /dataMine type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) <0x2c153680>
50 09/23/13 13:34:58.615 luup_log:62: dataMine: D[42] S[urn:micasaverde-com:serviceId:EnergyMetering1] V[Watts] newVal on startup is 0 was 1462 LEAK this:180224 start:471040 to 0xc45000 <0x2c153680>
50 09/23/13 13:34:58.616 luup_log:62: dataMine: D[4] S[urn:upnp-org:serviceId:SwitchPower1] V[Status] newVal on startup is 1 was 0 <0x2c153680>
50 09/23/13 13:34:58.616 luup_log:62: dataMine: D[42] S[urn:upnp-org:serviceId:TemperatureSensor1] V[CurrentTemperature] newVal on startup is 22.9 was 22.7 <0x2c153680>
50 09/23/13 13:34:58.641 luup_log:62: dataMine: Startup complete <0x2c153680>
I can’t seem to produce any graphs. It’s as if part of the plug is missing / not working. It’s difficult to know what to ask. My firmware is 1.5.622. Any thoughts?
I added the dataMine directly manually after installing, but it’s not working correctly. It’s currently errorStatus = false, but if I try to populate the UUID field, it switches to true.
I have attached an image of the dataMine plugin’s advanced tab to show a working set up.
I have an 8GB USB stick and its mounted on /dev/sda1. Note that the mounting points are not preassigned by the OS to particular sockets. They are assigned by the OS as they come into use - ie as you plug them into a socket. I have monitored 9 channels in the past but currently I am only recording 7. The Plugin front page says “Channels 9” only. There are a large number of variables that dataMine can potentially monitor, which are configured via dataMine’s own web pages.
@DeltaNu1142
It sounds like you haven’t clicked on the “dataMine graphing page” link that takes you to the actual dataMine web page?