Difference between revisions of "DataLogger Plugin"
From LinuxMCE
(Initial page about the datalogger plugin.) |
m (added category to datalogger plugin page.) |
||
Line 1: | Line 1: | ||
+ | [[Category: Programmer's Guide]] | ||
The datalogger plugin watches events of power usage, CO2 changes etc. | The datalogger plugin watches events of power usage, CO2 changes etc. | ||
Revision as of 18:42, 31 October 2011
The datalogger plugin watches events of power usage, CO2 changes etc.
To record a power usage event, send a message to the Device ID of the Event Manager (-1001), from the device in question that has the power usage.
For example:
# from-device-id needs to be replaced with the ID of the device which wants to record # power usage. # The 2 is for emitting an event. # 85 is the event id for power usage changed (look at table pluto_main.Event for more) # 69 is the event parameter for current watts per hour (look at table pluto_main.Event_EventParameter for more) # 1234 is the current watts per hour reported. /usr/pluto/bin/MessageSend dcerouter <from-deviceid> -1001 2 85 69 1234
The same works for co2 reporting, and others.
To view the recorded information, go into web admin, Energy Monitor.