dataMine v0.962 available

I do have usb logging enabled. Turn it off for datamine???

Yes - its safest. When I get back from holiday I can explain how to set up both, but its not good to have it enabled with dataMine.

Sorry I missed your earlier post - its not so easy keeping up with the forum on a phone…

Cheers
Chris

thanks. Great app. Enjoy your vaca. I can wait to sort thru this till your done relaxing

I really like what you have done with this app!! Thumbs Up!

I got this up and running in no time and it is what I was looking for for quite some time. Keep up the good work!

Now I have to figure out a way to prevent energy data send to the Mios server… ;D

Hi All,

I updated the plug in and it is working correctly.

But I cannot delete the all variable and I cannot add/edit nothing. Please check attachments.

Do you have any idea?

Thank you
Matteo

[quote=“teonebello, post:25, topic:173191”]I’m
I updated the plug in and it is working correctly.

But I cannot delete the all variable and I cannot add/edit nothing. Please check attachments.

Do you have any idea?[/quote]
Hi
Sorry, but I don’t understand what you mean. Please can you explain further.

Thanks
Chris

Hi Chris,

first thanks for your answer.

To be more clear.

I have now lets say 10 ten variable with the green flag set up and data mine is recording the data.

My problem is that I cannot delete any of this ten variables (remove the green flag) and I cannot also add new variable.

Thank you
Matteo

[quote=“teonebello, post:27, topic:173191”]I have now lets say 10 ten variable with the green flag set up and data mine is recording the data.

My problem is that I cannot delete any of this ten variables (remove the green flag) and I cannot also add new variable.[/quote]
Hi Matteo,
To enable/disable logging, you should just need to go to the configuration tab, click on the variable name (as per your first image you uploaded), and then on the right side where it says “LoggingEnabled”, change this to false (or true if you want to enable logging for another variable).

Please let me know if that works or if there’s a problem with this somewhere.

Cheers
Chris

I have only been using this plugin for a day (it is great for monitoring power consumption!).
However, I think I have stumble on a bug, of some kind;
I have two Aeon micro smart switches, which are both controlling/reporting two electric under floor heaters. The issue I see, is that if I select to log both of these, the graph draws them almost “consolidated” (well, not really, but just to give this a name). I.e. there’s one line seemingly following the highest (at a given moment) consumer. So if one floor consumes 500W, and the other 0W graph draws 500. If one draws 500W and the other 1000W, graph draws 1000W.
Even if I deselect one of them from the graph draw selection (either one), I will get the the “consolidated” graph. The only way to get one under floor heater, is to deselect the other one from logging - then it will eventually give me the singular graph. (as time progresses and the log data are being reported)
So, afaict, it is the logging part that gets mixed up.

Maybe there’s an issue with my set-up, but all other channels I am logging works just fine.

Hi,
Can you send me some graphs showing what you mean? I would be surprised if the logging part is doing something funny - unless the two switches have the same name? I’ve added something in to check for this, but I don’t think it’s in the current version (I’d need to check).

Chris

Hi Chris,

Initially, the first time i activated these sensors, they did in fact have exactly the same name (although in different rooms). I have since changed them (and excluded/reincluded them, but the behavior is still the same.

As you can see, there are two levels, the higher is my kitchen heating, the lower is the one in the toilet.

… and here’s an screen capture from yesterday, when I removed the toilet from logging, and then re-added it @ around 09:30 (as you can see, the kitchen floor heating has the same height as with the ‘consolidated’ screen capture).

If I select to display the other “Värmegolv” (for the toilet), dataMine will show me the exact same data as with the “Värmegolv kök”.

Could it be related to the umlauts?

Unfortunately (in your case), dataMine doesn’t change the filenames when you change the device names - the filename gets set when you first start logging a variable. If you then change the name, the file doesn’t change (otherwise you’d loose your data).

How’s your “Vera Skills”? If you know how to use WinSCP, then you can edit the dataMine config file in the /dataMine directory. Open the file dataMineConfig.json and cut/paste the contents into the box at jsonlint.com and hit Validate. This will just format it up in a more readable format. If you then search through you will find the variable configuration - you want the change the “Archive” setting - this is the filename. Save this onto Vera and restart Lua.

This should resolve the issue - let me know if this is ok…

Chris

Chris, I am running UI5 now and most of my scenes survived the transfer. This means I have Datamine up and running in the UI5 flavour and I am very impressed with it, many thanks for all the work that must have taken.

I have come up with a feature that I would like to see and if you are doing any work on it and it’s easy then it may be useful to others as well

My heating is driven by an appliance switch which is triggering the heat pump enable contacts and it would be very useful to be able to log a derivative of the enable signal (which is logged) to give me a readout of duty cycle. I can get a rough idea of this from looking at the enable signal graphically but it would be even nicer to have a curve for duty cycle. It would need to be averaged over an hour or two, typically I get up to 3 cycles in an hour.

If this makes sense and is easy to do then it would be great.

The other interesting log from it would be the ability to count the total time on as a cumulative and put in a rate for electricity so I can get an estimate of running costs on a daily basis. My Aeon HEM has not survived the transfer to UI5.

Many thanks for all your efforts

Nick

Hi Nick,
Glad you like the app…

I’m planning something similar. Currently I’m trying to increase my power monitoring around the house so this is taking my time away from dataMine, but once this is done I plan to add power monitoring features into dataMine. This will include trending - eg. average per hour/day, and this may do what you’re after?

Interestingly, I noted recently that my HEM is not working correctly. I’ve only used the total power reading, and I just noticed that the 2 individual channels are static and have not changed for months. I haven’t properly checked, but I think it was probably when I changed over to UI5… I’m thinking about removing it and adding it back into Vera…

Cheers
Chris

thanks for the update, what I had in mind was making more use of binary switch data by being able to measure how long it was on for and what percentage of the time it was on.

I am looking at your energy monitoring with interest and thinking of trying it out soon

My Aeon has always been dodgy and removing and reinstalling it didn’t help.

Nick

Unfortunately (in your case), dataMine doesn’t change the filenames when you change the device names - the filename gets set when you first start logging a variable. If you then change the name, the file doesn’t change (otherwise you’d loose your data).

How’s your “Vera Skills”? If you know how to use WinSCP, then you can edit the dataMine config file in the /dataMine directory. Open the file dataMineConfig.json and cut/paste the contents into the box at jsonlint.com and hit Validate. This will just format it up in a more readable format. If you then search through you will find the variable configuration - you want the change the “Archive” setting - this is the filename. Save this onto Vera and restart Lua.

This should resolve the issue - let me know if this is ok…

Chris[/quote]

Even if I disable logging of a particular item, rename and re-enable the logging? This is what I tried.
Will do the manual trick later on!

I’d like to say that I’m tweaking my air-water heat pump using datamine along with a Fibaro tempmeter + a a aeon HEM (three phase), and it is working just great, the only thing that I am kind of missing, is viewing more channels than four. I guess this limit is to reduce the stress on the Vera? Anyway a great help tweaking the heat pump, so thanks!
If only Vera could do better resolution than 1 degree…

Yes - sorry. When you disable logging, it just sets a flag - it doesn’t change the data at all. The idea is to keep consistent filenames throughout life to keep history. It’s a good idea (I think), but it needs to also ensure unique filenames, and that’s something that’s going into the next version.

Yes - the idea was to reduce stress. I can probably increase this as the Vera3 is definately faster than the Vera2 so I might look at adding a few more channels.

Vera can do better - it’s the Z-Wave stuff that can’t. If you use some other sensors (I’ve used One-Wire) then you can get 0.1degC. I hate that the Z-Wave interface rounds everything to 1 deg - it’s just about useless…

Cheers
Chris

Vera can do better - it’s the Z-Wave stuff that can’t. If you use some other sensors (I’ve used One-Wire) then you can get 0.1degC. I hate that the Z-Wave interface rounds everything to 1 deg - it’s just about useless…

Cheers
Chris[/quote]

I’m using 4 1-wire 18B20 connected to a Fibaro Universal sensor. I thought Fibaro Homecenter 2 had higher resolution, but I may be wrong.

Having more channels would be great (as an option)! And while at it :slight_smile: is there a way, or could it be an option to disable the rounded graph that are produced with temperature? Reason I ask, is that it seams to use only the changing point when drawing, so (especially with only 1degree resolution), the output is very misleading.

In the attached picture, Temp_A, Vera UI shows 46 degrees up until the drop @9:27, but the graph is showing a slow decline as you can see.
Having greater resolution, this is probably ok, but with the harsh 1degree resolution, it is not optimal when huge temp changes are occurring.

My plan is to allow different graph settings per channel - I just haven’t added this yet, but it’s not too hard. So, this will allow you to have the “splined” (rounded) graphs on some channels, and “square” ones on others.

I think the basic problem with the temperature resolution on Vera is that MCV have implemented 1 deg resolution for their Z-Wave temperature class, so it doesn’t matter what sensor you use - if it goes over Z-Wave, you see 1 deg. For my OneWireServer plugin, I get 0.1 deg resolution (in fact, it’s higher than this, but I round to 0.1C as anything more just gets noisy).

I’ve been working on a power monitoring system over the past couple of weeks - this is now working so I’ll be spending some time on dataMine again (currently I’m looking at adding power monitoring features to dataMine - a few graphs/gauges to show where all my power is going (in real-time at the moment). I’ll take a look at the graph types as that should be easy - it might be a few days as I’m currently working long hours for work, but I’ll try and get an update out toward the end of the week.

Cheers
Chris