Control lights/climate using scenarios
How to set it up
First you must add the lights in the LinuxMCE Admin Website. Most lights 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, Lights 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->Lights 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>
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.