http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&feed=atom&action=history
Insteon PLM Ruby Code 384 - Revision history
2024-03-28T22:21:54Z
Revision history for this page on the wiki
MediaWiki 1.24.1
http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=36803&oldid=prev
RayBe: Added category: GSD
2016-07-03T09:30:55Z
<p>Added category: GSD</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 09:30, 3 July 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{{Versioninfo}}</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{{Versioninfo}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[category: Insteon]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[category: Insteon]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category: GSD]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre>#### Written by Dan Damron</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre>#### Written by Dan Damron</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#### #384 Process Receive Command for Child ####</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#### #384 Process Receive Command for Child ####</div></td></tr>
</table>
RayBe
http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=29658&oldid=prev
Trippleg at 21:10, 8 March 2012
2012-03-08T21:10:35Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 21:10, 8 March 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 156:</td>
<td colspan="2" class="diff-lineno">Line 156:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>log('Processing ON command')</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>log('Processing ON command')</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>if insteonID.length > 2 then</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>if insteonID.length > 2 then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>if childType == <del class="diffchange diffchange-inline">2197 </del>then #Used For Thermostat only Sets to Auto, No on command.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>if childType == <ins class="diffchange diffchange-inline">2198 </ins>then #Used For Thermostat only Sets to Auto, No on command.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param = {'Command' => 'SndIns',</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param = {'Command' => 'SndIns',</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'Parameter1' => insteonID[0],</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'Parameter1' => insteonID[0],</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 198:</td>
<td colspan="2" class="diff-lineno">Line 198:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>when 193 #OFF</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>when 193 #OFF</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>if insteonID.length > 2 then</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>if insteonID.length > 2 then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>if childType == <del class="diffchange diffchange-inline">2197 </del>then #Used For Thermostat only</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>if childType == <ins class="diffchange diffchange-inline">2198 </ins>then #Used For Thermostat only</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param = {'Command' => 'SndIns',</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param = {'Command' => 'SndIns',</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'Parameter1' => insteonID[0],</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'Parameter1' => insteonID[0],</div></td></tr>
</table>
Trippleg
http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=29550&oldid=prev
Trippleg at 21:46, 28 February 2012
2012-02-28T21:46:42Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 21:46, 28 February 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 156:</td>
<td colspan="2" class="diff-lineno">Line 156:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>log('Processing ON command')</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>log('Processing ON command')</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>if insteonID.length > 2 then</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>if insteonID.length > 2 then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>if childType == <del class="diffchange diffchange-inline">2209 </del>then #Used For Thermostat only Sets to Auto, No on command.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>if childType == <ins class="diffchange diffchange-inline">2197 </ins>then #Used For Thermostat only Sets to Auto, No on command.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param = {'Command' => 'SndIns',</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param = {'Command' => 'SndIns',</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'Parameter1' => insteonID[0],</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'Parameter1' => insteonID[0],</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 198:</td>
<td colspan="2" class="diff-lineno">Line 198:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>when 193 #OFF</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>when 193 #OFF</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>if insteonID.length > 2 then</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>if insteonID.length > 2 then</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>if childType == <del class="diffchange diffchange-inline">2209 </del>then #Used For Thermostat only</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>if childType == <ins class="diffchange diffchange-inline">2197 </ins>then #Used For Thermostat only</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param = {'Command' => 'SndIns',</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>param = {'Command' => 'SndIns',</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'Parameter1' => insteonID[0],</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'Parameter1' => insteonID[0],</div></td></tr>
</table>
Trippleg
http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=29536&oldid=prev
Trippleg at 22:39, 24 February 2012
2012-02-24T22:39:51Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 22:39, 24 February 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 6:</td>
<td colspan="2" class="diff-lineno">Line 6:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#Commands needing implementation</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#Commands needing implementation</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Climate Events:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Climate Events:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># 25 Temperature Changed</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># 25 Temperature Changed <ins class="diffchange diffchange-inline"> Partially working</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># 26 Humidity Changed</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># 26 Humidity Changed <ins class="diffchange diffchange-inline">    Partially working</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># 27 Thermostat Set Point Changed</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># 27 Thermostat Set Point Changed <ins class="diffchange diffchange-inline"> Partially working</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Security Commands:</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div># Security Commands:</div></td></tr>
</table>
Trippleg
http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=29535&oldid=prev
Trippleg at 22:38, 24 February 2012
2012-02-24T22:38:28Z
<p></p>
<a href="http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=29535&oldid=23113">Show changes</a>
Trippleg
http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=23113&oldid=prev
Wierdbeard65 at 07:03, 3 May 2010
2010-05-03T07:03:52Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 07:03, 3 May 2010</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Versioninfo}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[category: Insteon]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[category: Insteon]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre>#### Written by Dan Damron</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre>#### Written by Dan Damron</div></td></tr>
</table>
Wierdbeard65
http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=14270&oldid=prev
Langstonius at 03:03, 21 June 2008
2008-06-21T03:03:33Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">←Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 03:03, 21 June 2008</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[category: Insteon]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre>#### Written by Dan Damron</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre>#### Written by Dan Damron</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#### #384 Process Receive Command for Child ####</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>#### #384 Process Receive Command for Child ####</div></td></tr>
</table>
Langstonius
http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=8876&oldid=prev
Ddamron: Updated to support X10
2008-02-14T00:46:50Z
<p>Updated to support X10</p>
<a href="http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=8876&oldid=8189">Show changes</a>
Ddamron
http://wiki.linuxmce.org/index.php?title=Insteon_PLM_Ruby_Code_384&diff=8189&oldid=prev
Ddamron at 00:30, 6 January 2008
2008-01-06T00:30:59Z
<p></p>
<p><b>New page</b></p><div><pre>#### Written by Dan Damron<br />
#### #384 Process Receive Command for Child ####<br />
#<br />
#Commands needing implementation<br />
# Climate commands:<br />
# 279 (Set Fan)<br />
# 280 (Set Heat/Cool)<br />
# 278 (Set Temperature)<br />
# Climate Events:<br />
# 25 Temperature Changed<br />
# 26 Humidity Changed<br />
# 27 Thermostat Set Point Changed<br />
<br />
# Security Commands:<br />
# 746 Disarm Panel<br />
# 758 Get Sensors List<br />
# 19 Set House Mode<br />
# 387 Verify PIN<br />
# Security Events:<br />
# 9 Sensor Tripped<br />
# 16 Security Breach<br />
# 17 Fire Alarm<br />
# 18 Reset Alarm<br />
# 39 Air Quality<br />
# 40 Doorbell<br />
# 41 Monitor Mode<br />
# 42 Movement Detected<br />
# 43 House Mode Changed<br />
# 44 Presence Detected<br />
# 45 Presence Lost<br />
# 67 Alarm Panel Mode Change<br />
<br />
<br />
<br />
<br />
<br />
<br />
deviceID = device_.childdevices_[cmd.devidto_].devdata_[12]<br />
insteonID = deviceID.chomp.split('.')<br />
$cmdID = cmd.id_<br />
$cmdTo = cmd.devidto_<br />
childType = device_.childdevices_[cmd.devidto_].devtemplid_<br />
$cmdFrom = cmd.devidfrom_<br />
$cmdPriority = cmd.priority_<br />
$cmdType = cmd.type_<br />
$cmdParams = cmd.params_<br />
log('------dce--- cmdID:' + $cmdID.to_s + ', cmdFrom:' + $cmdFrom.to_s + ', cmdTo:' + $cmdTo.to_s + ', cmdType:' + $cmdType.to_s + ', Priority:' + $cmdPriority.to_s)<br />
#$cmdParams.keys.each {|p| log('------dce--- Param_[' + p.to_s + ']=' + $cmdParams[p])}<br />
case cmd.id_<br />
when 192 # ON<br />
log('Processing ON command')<br />
if $ignorecmdon == false<br />
log('$ignorecmdon = false')<br />
if insteonID.length > 2 then<br />
<br />
param = {'Command' => 'SndIns', <br />
'Parameter1' => insteonID[0], <br />
'Parameter2' => insteonID[1],<br />
'Parameter3' => insteonID[2],<br />
'Parameter4' => '0F', <br />
'Parameter5' => '11',<br />
'Parameter6' => 'FF'}<br />
$cmdqueue << param<br />
SndIns()<br />
else<br />
log "------dce--- X10 DEVICE!!!"<br />
# Send X10 ON command.<br />
#first, figure out the house code and unit code.<br />
log('DeviceID=' + deviceID)<br />
x10Byte1 = $X10HouseCodes[deviceID[0].chr]<br />
x10Byte1 +=$X10UnitCodes[deviceID[1].chr]<br />
x10cmd = $X10HouseCodes[deviceID[0].chr]<br />
x10cmd += '2' # command code for ON<br />
log('X10 Byte1:' + x10Byte1)<br />
param = {'Command' => 'SndX10', <br />
'Parameter1' => x10Byte1,<br />
'Parameter2' => '00'}<br />
$cmdqueue << param<br />
param = {'Command' => 'SndX10',<br />
'Parameter1' => x10cmd,<br />
'Parameter2' => '80'}<br />
$cmdqueue << param<br />
SndIns()<br />
end<br />
reportStatus($children[deviceID], 100)<br />
else<br />
$ignorecmdon = false<br />
log('$ignorecmdon = true')<br />
log('Setting $ignorecmdon == false')<br />
end<br />
when 193 #OFF<br />
if $ignorecmdoff == false<br />
log('$ignorecmdoff = false')<br />
<br />
if insteonID.length > 2 then<br />
<br />
param = {'Command' => 'SndIns',<br />
'Parameter1' => insteonID[0], <br />
'Parameter2' => insteonID[1],<br />
'Parameter3' => insteonID[2],<br />
'Parameter4' => '0F', <br />
'Parameter5' => '13',<br />
'Parameter6' => '00'}<br />
$cmdqueue << param<br />
SndIns()<br />
else<br />
log "------dce--- X10 DEVICE!!!"<br />
x10Byte1 = $X10HouseCodes[deviceID[0].chr]<br />
x10Byte1 +=$X10UnitCodes[deviceID[1].chr]<br />
x10cmd = $X10HouseCodes[deviceID[0].chr]<br />
x10cmd += '3' # command code for OFF<br />
log('X10 Byte1:' + x10Byte1)<br />
param = {'Command' => 'SndX10', <br />
'Parameter1' => x10Byte1,<br />
'Parameter2' => '00'}<br />
$cmdqueue << param<br />
param = {'Command' => 'SndX10',<br />
'Parameter1' => x10cmd,<br />
'Parameter2' => '80'}<br />
$cmdqueue << param<br />
SndIns()<br />
<br />
end<br />
reportStatus($children[deviceID], 0)<br />
else<br />
$ignorecmdoff = false<br />
log('$ignorecmdoff = true')<br />
log('Setting $ignorecmdoff == false')<br />
<br />
end<br />
when 184 #SetLevel<br />
if $ignoresetlevel == false<br />
log('$ignoresetlevel = false')<br />
# convert from percent to hex<br />
dim_level = percenttohex(cmd.params_[76])<br />
#log("------dce--- Dim Level:" + dim_level.to_s)<br />
if insteonID.length > 2 then<br />
<br />
param = {'Command' => 'SndIns',<br />
'Parameter1' => insteonID[0], <br />
'Parameter2' => insteonID[1],<br />
'Parameter3' => insteonID[2],<br />
'Parameter4' => '0F', <br />
'Parameter5' => '11',<br />
'Parameter6' => dim_level}<br />
$cmdqueue << param<br />
SndIns()<br />
else<br />
log "X10 DEVICE!!! relative Dimming command"<br />
<br />
SndIns()<br />
log('Dim Level:' + hextopercent(dim_level).to_s)<br />
#now send status info (we should not have to to this, but do)<br />
reportStatus($children[deviceID], hextopercent(dim_level))<br />
end<br />
else<br />
$ignoresetlevel = false<br />
log('$ignoresetlevel = true')<br />
log('Setting $ignoresetlevel == false')<br />
<br />
end<br />
end<br />
</pre></div>
Ddamron