Author Topic: DataLogger Plugin - Energy Monitoring  (Read 25474 times)

los93sol

  • Guru
  • ****
  • Posts: 396
    • View Profile
Re: DataLogger Plugin - Energy Monitoring
« Reply #15 on: May 30, 2010, 11: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?

apagg

  • Veteran
  • ***
  • Posts: 60
    • View Profile
Re: DataLogger Plugin - Energy Monitoring
« Reply #16 on: May 31, 2010, 12:32:35 am »
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 :) 



apagg

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: DataLogger Plugin - Energy Monitoring
« Reply #17 on: May 31, 2010, 10:11:16 am »
Just to clarify on the image-graph dependency. It is the datalogger plugin that depend on this package.

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

best regards,
sambuca

rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: DataLogger Plugin - Energy Monitoring
« Reply #18 on: May 31, 2010, 10: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

los93sol

  • Guru
  • ****
  • Posts: 396
    • View Profile
Re: DataLogger Plugin - Energy Monitoring
« Reply #19 on: June 02, 2010, 02: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?

rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: DataLogger Plugin - Energy Monitoring
« Reply #20 on: June 02, 2010, 09: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

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: DataLogger Plugin - Energy Monitoring
« Reply #21 on: June 02, 2010, 10: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?

rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: DataLogger Plugin - Energy Monitoring
« Reply #22 on: June 02, 2010, 10: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

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: DataLogger Plugin - Energy Monitoring
« Reply #23 on: June 02, 2010, 11: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.

rages

  • Guru
  • ****
  • Posts: 182
    • View Profile
Re: DataLogger Plugin - Energy Monitoring
« Reply #24 on: June 02, 2010, 11:49:53 pm »

valent

  • Guru
  • ****
  • Posts: 381
    • View Profile
    • /kernel_reloaded/
Re: DataLogger Plugin - Energy Monitoring
« Reply #25 on: June 05, 2010, 10:51:18 am »
@apagg What devices you used to gather power usage data?
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
Re: DataLogger Plugin - Energy Monitoring
« Reply #26 on: June 05, 2010, 04: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

valent

  • Guru
  • ****
  • Posts: 381
    • View Profile
    • /kernel_reloaded/
Re: DataLogger Plugin - Energy Monitoring
« Reply #27 on: June 05, 2010, 10: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 :(

Thanks!
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
Re: DataLogger Plugin - Energy Monitoring
« Reply #28 on: June 05, 2010, 10:50:34 pm »

valent

  • Guru
  • ****
  • Posts: 381
    • View Profile
    • /kernel_reloaded/
Re: DataLogger Plugin - Energy Monitoring
« Reply #29 on: June 06, 2010, 08:44:20 pm »
http://wiki.linuxmce.org/index.php/User:Apagg#Home_Automation this is what I use at the moment

I updated you user page with climate and zwave categories, hope you don't mind.
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent