Difference between revisions of "Control lights/climate using scenarios"

From LinuxMCE
Jump to: navigation, search
Line 1: Line 1:
 
<p><h1>How to set it up</h1></p>
 
<p><h1>How to set it up</h1></p>
<p>First you must add the lighting devices in the LinuxMCE Admin website.  Most lighting devices require an interface device.  Go to the Wizard, Devices, Interfaces page and add the interface device, such as a Lutron controller, or an X10 RS232 interface.  Then on the Wizard, Devices, Lighting page add all the lights you want to be able to control.  The Controlled Via pull-down should be interface that will control it.  Climate devices work the same way.</p>
+
<p>First you must add the lighting devices in the LinuxMCE Admin website.  Most lighting devices require an interface device.  Go to the Wizard, Devices, Interfaces page and add the interface device, such as a [[Lutron controller]], or an [[X10]] RS232 interface.  Then on the Wizard, Devices, Lighting page add all the lights you want to be able to control.  The Controlled Via pull-down should be interface that will control it.  Climate devices work the same way.</p>
 
<p>Go to Wizard, Scenarios, Lighting or Wizard, Scenarios, Climate and add a new scenario for whatever room you want.  This results in a new button appearing on all the Orbiters when they are in the room you added the scenario to.  For the scenario specify what lights or climate devices you want to adjust when that button is touched.  For example you may add a "go to bed" scenario in the kitchen which turns on a dim trail of lights from the kitchen to the bedroom, and then you may have another "go to bed" scenario in the bedroom which turns off all the lights in the House.</p>
 
<p>Go to Wizard, Scenarios, Lighting or Wizard, Scenarios, Climate and add a new scenario for whatever room you want.  This results in a new button appearing on all the Orbiters when they are in the room you added the scenario to.  For the scenario specify what lights or climate devices you want to adjust when that button is touched.  For example you may add a "go to bed" scenario in the kitchen which turns on a dim trail of lights from the kitchen to the bedroom, and then you may have another "go to bed" scenario in the bedroom which turns off all the lights in the House.</p>
  
Line 7: Line 7:
  
 
<p><h1>Programmer's guide</h1></p>
 
<p><h1>Programmer's guide</h1></p>
<p>There's little to it.  The commands are sent to whatever DCE Device is responsible.  For example, if you add an X10 CM11A interface, and then some lights that are controlled via that interface, the on/off/dim commands get sent to the interface since it implements DCE, and the child devices (the lights) do not.  The Lighting_Plugin and Climate_Plugin devices intercept any commands going to lighting or climate devices so it can keep track of their last known and execute follow-me actions.</p>
+
<p>There's little to it.  The commands are sent to whatever DCE Device is responsible.  For example, if you add an [[X10]] [[CM11A]] interface, and then some lights that are controlled via that interface, the on/off/dim commands get sent to the interface since it implements DCE, and the child devices (the lights) do not.  The Lighting_Plugin and Climate_Plugin devices intercept any commands going to lighting or climate devices so it can keep track of their last known and execute follow-me actions.</p>

Revision as of 16:02, 21 August 2007

How to set it up

First you must add the lighting devices in the LinuxMCE Admin website. Most lighting devices require an interface device. Go to the Wizard, Devices, Interfaces page and add the interface device, such as a Lutron controller, or an X10 RS232 interface. Then on the Wizard, Devices, Lighting page add all the lights you want to be able to control. The Controlled Via pull-down should be interface that will control it. Climate devices work the same way.

Go to Wizard, Scenarios, Lighting or Wizard, Scenarios, Climate and add a new scenario for whatever room you want. This results in a new button appearing on all the Orbiters when they are in the room you added the scenario to. For the scenario specify what lights or climate devices you want to adjust when that button is touched. For example you may add a "go to bed" scenario in the kitchen which turns on a dim trail of lights from the kitchen to the bedroom, and then you may have another "go to bed" scenario in the bedroom which turns off all the lights in the House.

How to use it

Just touch the button.

Programmer's guide

There's little to it. The commands are sent to whatever DCE Device is responsible. For example, if you add an X10 CM11A interface, and then some lights that are controlled via that interface, the on/off/dim commands get sent to the interface since it implements DCE, and the child devices (the lights) do not. The Lighting_Plugin and Climate_Plugin devices intercept any commands going to lighting or climate devices so it can keep track of their last known and execute follow-me actions.