I installed Datamine last weekend. There were no issues. Yesterday I enabled logging of several variables. Last night, I noticed that I was unable to change values from my iPhone, but I was able to make changes to the individual switches & thermostats. I re-booted Vera and the problem went away. My nightly scenes worked.
This morning, the basic web interface is responsive, but when I went to open Datamine window gets hung up while trying to get the plugin version number. I tried loading infoviewer and the child window also hangs. I can?t turn devices on or off with the web interface. When I re-booted Vera the the pugins work and the iPhone apps work fine.
I remember reading that there is potential for corruption in the Datamine guide. I?m guessing that the mountLocation is causing some sort of conflict, but I?m not sure what to change or what to change it to.
Any help is appreciated!
Here are my settings:
I?m using a USB drive for log storage.
local_udn: uuid:4d494342-5342-5645-0045-000001c9ce4c
SetDataDirectory: /tmp/log/cmh/dataMine/
SetManualMount: 1
SetTimeoutPeriod: 12
SetHistoryEnable:1
SetUseBackup:1
SetEventsEnable: 1
ChannelCnt: 3
mountLocation: ** Manual
mountType: ** Manual
You can not use the vera usb logging and datamine on the same usb drive. This is most likely your issue. You will experience data corruption with both the logging and datamine. And device conflicts at the os level.
Hi Chris -
I want to make sure I’m understanding this correctly as I have 4 Vera Lites in remote locations that have datamine running and Vera USB logging enabled. I followed the instructions on the datamine installation page and it showed how to set the path on the USB for datamine to coexist with Vera logging to the USB. Is this not recommended now? If not, is there any other recommendation to run datamine on a vera lite while still being able to have Vera log to the USB?
If you’re using separate drives, or using the configuration in the docs, then this should be fine and shouldn’t cause any problems. The issue is caused if the drive is mounted twice - the instructions in the doc avoids this.
I’d really recommend reading the manual. If dataMine is working, then you’re probably ok, and I’m more than happy to help answer questions, but I did write the manual for a reason so it’s worth checking there first
Hi, looking at my graph, it appears that my Vera and/or datamine stopped operating between 3 and 3:30 AM, 7:30 to 9AM and this afternoon around 2 PM. At 3 PM when I tried to see the datamine graph, no answer, then I try to open my UI interface, non answer. With a ping, I could reach the Veralite, but still no web interface. Then I’ve made an hard reset.
Any idea? Datamine or Vera problem???
Configuration is respected because I’ve read the manual
[quote=“nullx8, post:10, topic:175602”]i have semilar outputs …
i have got gray hairs over try tuning a battery powered temperature sensor … i just gave up at some stage.
here s a graph of a AEON Labs Smart switch, where the device was in off status over night (but on permanent power) …
also quite some gaps, not sure its the device, vera or DM[/quote]
Without knowing exactly when the device was on or off, this looks “normal”. It’s reading fine when the device is on, it looks like it goes to 0 when it’s off, and when it comes back on it looks like there’s an inrush surge (hence the large spike). However, you need to change a configuration of the graph to make it look better. Go to the config of this variable (in the configuration tab in dataMine) and change the “Graph Type” to Line - I think it’s probably Spline at the moment.
The issue is that Vera only sends out updates when data updates. These devices normally don’t update when something is off (since there is no power draw) so dataMine doesn’t produce any log entries. This needs to be handled differently by dataMine, so changing the graph type will hopefully help.
I’ll blame Vera
I’m afraid I don’t know. It shouldn’t be dataMine - if the dataMine plugin was to hang, then Vera will restart Lua after something like 40 seconds.
In your case, I doubt my answer to @nullx8 is the same issue. Your data is noisy - the fan is presumably changing a little all the time, so I would guess that data should be being logged during these times - but you still should consider this if the fan can go to 0 (or some other number) for a certain time since dataMine only logs the changes. If something is static, it will not update the data during that time.
;D
Probably in this case the logfile would be reset, but it’s always worth taking a look at the log (or pressing the debug link in dataMine) after something like this. I’m always happy to take a quick look to see if there’s anything in there that can help.
I’m not sure I can say too much more - I honestly doubt the problem is with dataMine, but I can’t be sure of course. I also know that USB support can cause strange things, so it’s always possible that it is an indirect dataMine issue. I would keep an eye on it and see how it goes - if you have any further issues I’m happy to take a look.
I’ve got a similar issue. Everyhing works just fine up until I install datamine.
Datamine works without problems and i can store data on a usb stick.
I don’t do my vera logging on the usb drive.
After some hours my sytem goes down (Vera 2 +veralite – bridged).
Only the vera 2 goes down. When I reset, everything works again untill the next crash.
The longer I leave the plugin working the faster the vera 2 breaks down.
eg. first once an hour, then once per 10 minutes, …
Anyone simular problems and even better an answer ?
Mine too. At least this is what Datamine GUI is telling from time to time (can be 3 times in ten minutes).
I’m with version 0.979 of the plug-in and I read the manual However I had to create manually the directory tree. Then I log only one temperature sensor.
I discovered I have a “Notification” file which size is growing fast (1 MB in 20 min). Inside I have the same kind of error repeating :
The id, the notification number and the timestamp are changing. The graph takes time to draw: I don’t know if it linked to this large file…
I keep having the same issue even reinstalling the plug-in. Also; in an other notification file, there is some references to old dates and sensors which have been deleted for several months and the Vera has been reinstalled in the meantime. So, I don’t understand where do these references may come from.
[quote=“jduchon, post:16, topic:175602”]I discovered I have a “Notification” file which size is growing fast (1 MB in 20 min). Inside I have the same kind of error repeating :
The id, the notification number and the timestamp are changing. The graph takes time to draw: I don’t know if it linked to this large file…[/quote]
Interesting. To me, this indicates that your Vera has a problem and it’s logging lots of notifications. If you look at the “My Alerts” page in UI5, does it also show these errors? I think it’s unlikely that this is a problem with dataMine (at least not directly) and given that the times are changing it seems each alert is actually a separate event.
dataMine gets these from the MCV servers and caches them locally. There was meant to be an option to turn this off, but I’ve just realised it isn’t coded… I’ll add this in for the next version, but as above, this may actually indicate there’s another problem…