Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| scenes [2009/12/16 19:57] – external edit 127.0.0.1 | scenes [2026/04/07 18:27] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Create a scene (multiple devices on/off with one command) ====== | ||
| + | One of the biggest uses of HA is to control multiple lights from one switch, to create a mood or " | ||
| + | |||
| + | ===== What you need to start ===== | ||
| + | * Some devices to control (typically lights, but could also be devices such as window shade controllers) | ||
| + | * Something to trigger the scene (typically a switch or remote) | ||
| + | |||
| + | ===== Insteon ControlLinc Scenario Overview ===== | ||
| + | Here's the scenario we're going to address in this How-to: Joe has some nice wall sconce lights in his TV room that are controlled by a [[inst_in_wall_dimmer|SwitchLinc]] and a table lamp connected through an [[inst_plug_in_dimmer|ICON Lamp Module]]. He also has just installed some X10 controllable window shades (an X10 ON command lowers them, an X10 OFF command raises them in this example). He has a [[inst_controller|ControLinc]] (but could just as easily be a KeypadLinc, RemoteLinc, etc.) that he wants to set up so that when he hits Button 1 On, the sconces dim to 20%, the table lamp turns off, and the window shades go down. When he hits Button 1 Off, the sconces brighten to 100%, the table lamp turns on, and the window shades go up. This way, when he wants to watch a movie, the room gets dark enough to really enjoy the film, but still has a little light from the sconces. | ||
| + | |||
| + | ===== Steps to create this scenario ===== | ||
| + | So, how would Joe accomplish the task above? It's actually pretty simple - after making sure that he had the devices defined in Indigo, he'd just follow these steps: | ||
| + | |||
| + | === Create On Trigger Action === | ||
| + | So, now we need to create 2 trigger actions so that when Joe presses the right buttons on his ControLinc, the actions listed in the scenario above happen correctly. The first one will be for the On command: | ||
| + | |||
| + | - Select **'' | ||
| + | - Click the **'' | ||
| + | - Name the trigger "Start watching a movie" | ||
| + | - Select **'' | ||
| + | - Click the **'' | ||
| + | - Select the name of the ControLinc from the device popup next to the word **'' | ||
| + | - Select **'' | ||
| + | - That specifies that this trigger will fire when the Button 1 On command is received from the ControLinc - now select the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the sconces from the **'' | ||
| + | - Enter 20 in the text field next to **'' | ||
| + | - That takes care of the sconces, but what about the other lights and the blinds - click on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the table lamp from the **'' | ||
| + | - Now, add one more for the blinds by clicking on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the blinds from the **'' | ||
| + | |||
| + | That's it! So, to recap, what we did was create a trigger action that will fire when " | ||
| + | |||
| + | === Create Off Trigger Action === | ||
| + | As you may have guessed, we need to create another trigger like the one above, except it reverses the process: | ||
| + | |||
| + | - Select **'' | ||
| + | - Click the **'' | ||
| + | - Name the trigger "Stop watching a movie" | ||
| + | - Select **'' | ||
| + | - Click the **'' | ||
| + | - Select the name of the ControLinc from the device popup next to the word **'' | ||
| + | - Select **'' | ||
| + | - That specifies that this trigger will fire when the Button 1 Off command is received from the ControLinc - now select the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the sconces from the **'' | ||
| + | - Enter 100 in the text field next to **'' | ||
| + | - Click on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the table lamp from the **'' | ||
| + | - Now, add one more for the blinds by clicking on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the blinds from the **'' | ||
| + | |||
| + | ===== X10 PalmPad Scenario Overview ===== | ||
| + | Here's the scenario we're going to address in this How-to: Joe has some nice wall sconce lights in his TV room that are controlled by an [[inst_in_wall_dimmer|SwitchLinc]] and a table lamp connected through an [[inst_plug_in_dimmer|ICON Lamp Module]]. He also has just installed some X10 controllable window shades (an X10 ON command lowers them, an X10 OFF command raises them in this example). He has a [[x10_remote|PalmPad]] that he wants to set up so that when he hits Button 1 On, the sconces dim to 20%, the table lamp turns off, and the window shades go down. When he hits Button 1 Off, the sconces brighten to 100%, the table lamp turns on, and the window shades go up. This way, when he wants to watch a movie, the room gets dark enough to really enjoy the film, but still has a little light from the sconces. I'm assuming that the PalmPad is set to house code " | ||
| + | |||
| + | ===== Steps to create this scenario ===== | ||
| + | So, how would Joe accomplish the task above? It's actually pretty simple - after making sure that he had the devices defined in Indigo, he'd just follow these steps: | ||
| + | |||
| + | === Create On Trigger Action === | ||
| + | So, now we need to create 2 trigger actions so that when Joe presses the right buttons on his ControLinc, the actions listed in the scenario above happen correctly. The first one will be for the On command: | ||
| + | |||
| + | - Select **'' | ||
| + | - Click the **'' | ||
| + | - Name the trigger "Start watching a movie" | ||
| + | - Select **'' | ||
| + | - Click the **'' | ||
| + | - Select the address " | ||
| + | - Select **'' | ||
| + | - That specifies that this trigger will fire when the X10 P1 On command is received from the PalmPad - now select the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the sconces from the **'' | ||
| + | - Enter 20 in the text field next to **'' | ||
| + | - That takes care of the sconces, but what about the other lights and the blinds - click on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the table lamp from the **'' | ||
| + | - Now, add one more for the blinds by clicking on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the blinds from the **'' | ||
| + | |||
| + | That's it! So, to recap, what we did was create a trigger action that will fire when " | ||
| + | |||
| + | === Create Off Trigger Action === | ||
| + | As you may have guessed, we need to create another trigger like the one above, except it reverses the process: | ||
| + | |||
| + | - Select **'' | ||
| + | - Click the **'' | ||
| + | - Name the trigger "Stop watching a movie" | ||
| + | - Select **'' | ||
| + | - Click the **'' | ||
| + | - Select the address " | ||
| + | - Select **'' | ||
| + | - That specifies that this trigger will fire when the X10 P1 Off command is received from the PalmPad - now select the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the sconces from the **'' | ||
| + | - Enter 100 in the text field next to **'' | ||
| + | - Click on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the table lamp from the **'' | ||
| + | - Now, add one more for the blinds by clicking on the **'' | ||
| + | - Select **'' | ||
| + | - Select **'' | ||
| + | - Select the device that represents the blinds from the **'' | ||
| + | |||
| + | ===== Congratulations! ===== | ||
| + | You've now created two scenes for Joe's TV room: one he'll use when watching a movie and another that lightens up the room completely. As you can probably see, there are other things you can do to make this scene even more useful: if you have an [[inst_irlinc|Infrared receiver]], you could program a button on your current IR remote to trigger the actions. If you have an [[inst_irlinc|Infrared transmitter]], | ||
| + | |||
| + | ====== A word about Action Groups ====== | ||
| + | In a simple trigger action, there is probably only one action that you want to take. In the scenario that we just finished, though, we have several actions we want to perform (adjust 2 different lights and the window shades). Indigo lets you specify multiple actions in the " | ||