I’ve created a bunch of scenes in my home (e.g. room_1_on, room_2_on). I want to create another scene (e.g. all_rooms_on) that is the trigger for the other two rooms. I saw in the scene “triggers” options there is a “#2 _Scene Controller” option that can be used as a trigger, is allows you to specify a name and a scene number. However when I do this my all_rooms_on scene doesn’t trigger the other two scenes. Nothing happens. Incidentally, my all_rooms_on scene does not have any other devices actions. I just want to use it as a trigger for other scenes.
Am I assuming some functionality incorrectly?
Thanks for any help.
Using the GUI, to create a scene, there is no option to select a scene only a device. There are two solutions that immediately come to mind.
[ol][li]Use the following LUUP code in your new scene to run other scenes. Assuming that room_2_on is scene number 12:
[tt]luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1”, “RunScene”, {SceneNum = “12”}, 0)[/tt]
[/li]
[li]Use the virtual switch plugin(or something similar) to create a virtual device that represents your existing scenes. Then create your new scene to act on the virtual device.[/li][/ol]
I suspect that others will offer additional options.
@Z-Waver
The suggestion to use
luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = "XX"}, 0)
worked perfectly. Thanks for the help.