misterhouse icon indicating copy to clipboard operation
misterhouse copied to clipboard

Insteon: Allow for Devices to Set the State of a PLM Scene

Open krkeegan opened this issue 10 years ago • 0 comments

This came up in the mailing list a long while back.

The Problem The easiest way to control all of the switches in an N-way circuit remotely is to create a PLM scene. Unfortunately, the state of the PLM scene is not updated when a device is manually changed. As a result, the state of the PLM scene cannot be used to track the state of the N-way circuit.

The Solution The solution is to allow at for definitions of links from devices to a PLM scene (the PLM scene being the responder). I don't know if the Insteon specification supports this. If it doesn't these links can simply be virtual links that tell MisterHouse to adjust the state of the PLM scene accordingly.

Once this support is added or confirmed, a user would be able to define the scene as a member of the N-way link, including the responder links like so

INSTEON_ICONTROLLER,   10,         scene,
INSTEON_SWITCHLINC,    1C.99.FF,    device_1
INSTEON_SWITCHLINC,    0B.FF.99,    device_2
Scene_member, device_1, scene
Scene_member, device_2, scene
Scene_member, scene, device_1
Scene_member, device_2, device_1
Scene_member, scene, device_2
Scene_member, device_1, device_2

This is clearly a lot to type in. So to make N-way programing easier the SCENE_BUILD option should also be updated so that if a PLM_SCENE is defined as the controller, that the necessary responder link is created.

krkeegan avatar Jul 17 '14 00:07 krkeegan