<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.mios.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.mios.com/index.php?action=history&amp;feed=atom&amp;title=Energy_Usage_Tech_Info</id>
		<title>Energy Usage Tech Info - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.mios.com/index.php?action=history&amp;feed=atom&amp;title=Energy_Usage_Tech_Info"/>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php?title=Energy_Usage_Tech_Info&amp;action=history"/>
		<updated>2026-06-03T04:07:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.8</generator>

	<entry>
		<id>http://wiki.mios.com/index.php?title=Energy_Usage_Tech_Info&amp;diff=2272&amp;oldid=prev</id>
		<title>Javier at 03:37, 14 April 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php?title=Energy_Usage_Tech_Info&amp;diff=2272&amp;oldid=prev"/>
				<updated>2010-04-14T03:37:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:37, 14 April 2010&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:User Instructions]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The tracking of energy usage for climate is handled in the Climate Plugin device.&amp;#160; All other devices are handled with the Lighting Plugin device.&amp;#160; The energy usage of a device is stored in the device data 285 (Wattage).&amp;#160; For climate devices it is a comma separated list of power consumption when the unit is in COOL, HEAT, and FAN_ONLY.&amp;#160; The access point calculates the peak and average for each hour from :30 before and past. and reports this hourly.&amp;#160; For example, the access point will report at 9:30 the average/peak usage for the &amp;quot;9:00&amp;quot;, which is calculated based on data from 8:30 - 9:30.&amp;#160; The device data #286 Energy Log is used internally to collect this information as a comma separated list of current consumption (watts), average since last reading, peak since last reading, unix_timestamp of last reading, number of seconds in average.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The tracking of energy usage for climate is handled in the Climate Plugin device.&amp;#160; All other devices are handled with the Lighting Plugin device.&amp;#160; The energy usage of a device is stored in the device data 285 (Wattage).&amp;#160; For climate devices it is a comma separated list of power consumption when the unit is in COOL, HEAT, and FAN_ONLY.&amp;#160; The access point calculates the peak and average for each hour from :30 before and past. and reports this hourly.&amp;#160; For example, the access point will report at 9:30 the average/peak usage for the &amp;quot;9:00&amp;quot;, which is calculated based on data from 8:30 - 9:30.&amp;#160; The device data #286 Energy Log is used internally to collect this information as a comma separated list of current consumption (watts), average since last reading, peak since last reading, unix_timestamp of last reading, number of seconds in average.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key micasaverde_wiki:diff:version:1.11a:oldid:7:newid:2272 --&gt;
&lt;/table&gt;</summary>
		<author><name>Javier</name></author>	</entry>

	<entry>
		<id>http://wiki.mios.com/index.php?title=Energy_Usage_Tech_Info&amp;diff=7&amp;oldid=prev</id>
		<title>Micasaverde: Technical information on the reporting of energy usage</title>
		<link rel="alternate" type="text/html" href="http://wiki.mios.com/index.php?title=Energy_Usage_Tech_Info&amp;diff=7&amp;oldid=prev"/>
				<updated>2008-09-14T17:18:21Z</updated>
		
		<summary type="html">&lt;p&gt;Technical information on the reporting of energy usage&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The tracking of energy usage for climate is handled in the Climate Plugin device.  All other devices are handled with the Lighting Plugin device.  The energy usage of a device is stored in the device data 285 (Wattage).  For climate devices it is a comma separated list of power consumption when the unit is in COOL, HEAT, and FAN_ONLY.  The access point calculates the peak and average for each hour from :30 before and past. and reports this hourly.  For example, the access point will report at 9:30 the average/peak usage for the &amp;quot;9:00&amp;quot;, which is calculated based on data from 8:30 - 9:30.  The device data #286 Energy Log is used internally to collect this information as a comma separated list of current consumption (watts), average since last reading, peak since last reading, unix_timestamp of last reading, number of seconds in average.&lt;br /&gt;
&lt;br /&gt;
The energy usage is only an estimate based on the 'Wattage' device data.  Leave this blank and the energy will not be auto-calculated.  Devices which know how to report energy usage directly should leave Wattage blank and instead fire the event EVENT_Energy_Consumption_CONST with the current consumption in watts.&lt;br /&gt;
&lt;br /&gt;
Each hour, before reporting, the access point checks to see if the list of rooms/devices has changed.  If it has, it calls: https://controlmyhouse.net/report_energy_device_room.php with the following post data:&lt;br /&gt;
&lt;br /&gt;
PK_AccessPoint,Username,Password identify this access point.  PK_Device_xxx for each device where xxx is the device id and the value is Room, DeviceTemplate, DeviceCategory, Description.  PK_Room_xxx where xxx is the room id and the value is the Room Description.&lt;br /&gt;
&lt;br /&gt;
It then calls https://controlmyhouse.net/report_energy_log.php with the same PK_AccessPoint,Username,Password.  Also Time = the current date/time being reported.  And PK_Device_xxx where xxx is the device id and the value is Average Consumption, Peak Consumption, in watts.&lt;br /&gt;
&lt;br /&gt;
Those 2 php files store the data in the database cmh_energy.  The tables Device and Room have Device/Room info, and the table EnergyLog has the details from the log.&lt;/div&gt;</summary>
		<author><name>Micasaverde</name></author>	</entry>

	</feed>