Difference between revisions of "DataLogger Plugin"
From LinuxMCE
(Initial page about the datalogger plugin.) |
(No difference)
|
Revision as of 18:41, 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.