LinuxMCE Forums
May 21, 2013, 01:41:55 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: 1 [2] 3
  Print  
Author Topic: DataLogger Plugin - Energy Monitoring  (Read 6379 times)
los93sol
Guru
****
Posts: 396


View Profile
« Reply #15 on: May 30, 2010, 10:53:03 pm »

Apagg:  Looks like we'll have to do some further testing of the php-image-graph package, I see the sqlCVS changes were actually put in place, but I did do a sqlCVS update prior to starting on this last week and it did not work for me, I had to run pear install image_graph-0.7.1 to get the package before it would graph properly because the include was not there from the package.

Why did you decide to use the state changed event and a separate energy graph outside the generic graphing?  I have not tested your source at all, but with the way the datalogger works for graphing generically with labels for the x and y axis from the unit table of the database, I'd think that wouldn't really work out so well for this type of device since the state changed event is really targetted for generic data.  Can you post a screenshot of your work here?
Logged
apagg
Veteran
***
Posts: 60


View Profile
« Reply #16 on: May 30, 2010, 11:32:35 pm »

here is a screenshot of the energyGraph.

Quote
Why did you decide to use the state changed event and a separate energy graph outside the generic graphing?
The reason I use the state change event is that its the only data that was available to me for monitoring the energy consumption. I also like the fact that I can plot energy consumption per device.  The reason for making a separate energy graph was that I wanted a different look and the processing of the state data is different from sensor-data. When processing the state data you need to assume the state stays the same until the next state change.
I hope this was understandable English is not my strong point Smiley 



apagg
Logged
sambuca
Guru
****
Posts: 420


View Profile
« Reply #17 on: May 31, 2010, 09:11:16 am »

Just to clarify on the image-graph dependency. It is the datalogger plugin that depend on this package.

btw. nice work  Smiley
I really like the stacked bar you made, apagg. This way one can see which device uses the most power.

best regards,
sambuca
Logged
rages
Guru
****
Posts: 182


View Profile
« Reply #18 on: May 31, 2010, 09:49:23 pm »

Very great job,
you could extend this function to the EIB bus?
The  new generation of actuators have on board a current detector on each output.

Emanuele
Logged
los93sol
Guru
****
Posts: 396


View Profile
« Reply #19 on: June 02, 2010, 01:24:44 pm »

rages:  once the code for this device is in, you can extend it to the EIB devices.  That would actually be a very good 'get-your-feet-wet' kind of project.  You think you can take it on?
Logged
rages
Guru
****
Posts: 182


View Profile
« Reply #20 on: June 02, 2010, 08:16:07 pm »

I'm not a coder ... unfortunately ... I know well EIB / KNX but I find it difficult to write code, I tried to take parts of LMCE and try to understand what they do, but with poor results.
I just wanted to suggest a further development, I'm not here to ask someone to do this for me, I think that sometimes there is also need ideas, the creator of this project might not know the KNX actuators.

Emanuele
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #21 on: June 02, 2010, 09:38:14 pm »

Do you have a list of actuators supporting these current detections? And if they provide any kind of energy usage as well in READ telegrams?
Logged

rages
Guru
****
Posts: 182


View Profile
« Reply #22 on: June 02, 2010, 09:49:50 pm »

I have such an actuator Merten in my house with 12 outlets, each of which has at its disposal a group address that returns a float value of the peak current used.

The Merten is not the only company that produces this type, however once implemented reading from a device KNX open several possibilities for implementation (analog inputs, energy reading tools, etc. ..).

Emanuele
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #23 on: June 02, 2010, 10:00:56 pm »

Do you have the SKU of the Merten, so I can have a look at the details? I am not doing anything with the eib stuff atm, but am thinking of fitting my house with it.
Logged

rages
Guru
****
Posts: 182


View Profile
« Reply #24 on: June 02, 2010, 10:49:53 pm »

This is my ACTUATORS

http://www.merten.de/download/DL_doku/P6475_584_1_1_EN_Web.pdf

Emanuele
Logged
valent
Guru
****
Posts: 380


View Profile WWW
« Reply #25 on: June 05, 2010, 09:51:18 am »

@apagg What devices you used to gather power usage data?
Logged

LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent
apagg
Veteran
***
Posts: 60


View Profile
« Reply #26 on: June 05, 2010, 03:45:14 pm »

Quote
@apagg What devices you used to gather power usage data?

z-wave but I think all devices that report state should work
Logged
valent
Guru
****
Posts: 380


View Profile WWW
« Reply #27 on: June 05, 2010, 09:24:36 pm »

Quote
@apagg What devices you used to gather power usage data?

z-wave but I think all devices that report state should work

Could you please give me the link of the exact one you used, because I know that not all zwave devices are the same and not compatible, so I wouldn't like to blow money on wrong one Sad

Thanks!
Logged

LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent
apagg
Veteran
***
Posts: 60


View Profile
« Reply #28 on: June 05, 2010, 09:50:34 pm »

http://wiki.linuxmce.org/index.php/User:Apagg#Home_Automation this is what I use at the moment
Logged
valent
Guru
****
Posts: 380


View Profile WWW
« Reply #29 on: June 06, 2010, 07:44:20 pm »


I updated you user page with climate and zwave categories, hope you don't mind.
Logged

LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent
Pages: 1 [2] 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!