I am trying to create a single sensor in Reactor to manage my LightWave Scene Controller switches but I am struggling. I am sure this is a limitation of the controller, not Reactor but hopefully, there is a solution.
LightWave Scene Controller
The scene controller has 6 buttons and is added via RFXtrx as two devices, a simple on/off switch (the two large buttons) and a group controller (Scene 1, 2, 3 & All Off buttons).
The on/off switch acts as expected and I have no problems controlling my devices via Reactor, the issue is with the group controller.
The group controller uses sl_SceneActivated or sl_SceneDeactivated in Reactor:
Scene 1 = sl_SceneActivated 111
Scene 2 = sl_SceneActivated 112
Scene 3 = sl_SceneActivated 113
All Off = sl_SceneDeactivated 100
Scene numbers are from this thread HERE. All of the above work as Device triggers in Vera Scenes but I would much rather use Reactor if possible.
The issue is that the All Off group is always triggered, whatever button is pressed. Also the last pressed Scene button group also remains triggered once All Off has been pressed
Here is the logic summary of me running through scenes 1-3 then All Off:
*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
Version: 3.2 config 301 cdata 19082 ui 19143 pluginDevice 73
System: Vera version 1.7.4320 on Sercomm NA301; loadtime 1561455876; systemReady 1561455890; Lua 5.1
Local time: 2019-06-25T11:18:27+0100; DST=1
House mode: plugin 2; system 2; tracking off
Sun data: { "stamp": 2019176, "civdawn": 1561431433, "nautdawn": 1561427098, "sunset": 1561493910, "nautdusk": 1561501066, "latitude": 51.1953, "astrodusk": null, "longitude": 0.27363, "civdusk": 1561496732, "astrodawn": null, "sunrise": 1561434255 }
Geofence: not running
====================================================================================================================================
Mood Switch Test (#271)
Version 19082.2 06/25/19 10:49:18
Message/status: Not tripped
Condition group "Mood Switch Reader" (AND) false as of 10:49:20 <root>
&-?-comment "Mood Switch Reader" <cond0>
&-F-group "Main Switch On/Off" (AND) false as of 10:50:21 <grpertzoug>
| &-F-service MastBed Main Switch (219) urn:upnp-org:serviceId:SwitchPower1/Status change 0,1 [1 => 0 at 10:50:21; F/F as of 10:50:21/10:50:21] <condertzwex>
&-F-group "Mood 1" (AND) false as of 11:17:57 <grperu0zh7>
| &-F-service MastBed Mood Switch (220) urn:micasaverde-com:serviceId:SceneController1/sl_SceneActivated = 111 [112 => 113 at 11:18:03; F/F as of 11:17:57/11:17:57] <conderu1ctw>
&-F-group "Mood 2" (AND) false as of 11:18:03 <grperu1zbb>
| &-F-service MastBed Mood Switch (220) urn:micasaverde-com:serviceId:SceneController1/sl_SceneActivated = 112 [112 => 113 at 11:18:03; F/F as of 11:18:03/11:18:03] <conderu25vr>
&-T-group "Mood 3" (AND) TRUE as of 11:18:03 <grperu2lve>
| &-T-service MastBed Mood Switch (220) urn:micasaverde-com:serviceId:SceneController1/sl_SceneActivated = 113 [112 => 113 at 11:18:03; T/T as of 11:18:03/11:18:03] <conderu2rqa>
&-T-group "All Off" (AND) TRUE as of 10:49:20 <grperu3g0l>
| &-T-service MastBed Mood Switch (220) urn:micasaverde-com:serviceId:SceneController1/sl_SceneDeactivated = 100 [100 at 10:49:20; T/T as of 10:49:20/10:49:20] <conderu3l8l>
Events
06/25/19 10:49:20 condchange: newState=true, cond=conderu3l8l
06/25/19 10:49:20 evalchange: newState=true, cond=conderu3l8l
06/25/19 10:49:20 condchange: newState=true, cond=grperu3g0l
06/25/19 10:49:20 evalchange: newState=true, cond=grperu3g0l
06/25/19 10:49:20 condchange: newState=false, cond=root
06/25/19 10:49:20 evalchange: newState=false, cond=root
06/25/19 10:50:02 devicewatch: device=219, old="0", name=MastBed Main Switch, var=urn:upnp-org:serviceId:SwitchPower1/Status, new="1"
06/25/19 10:50:03 condchange: newState=true, cond=condertzwex, oldState=false
06/25/19 10:50:03 evalchange: newState=true, cond=condertzwex, oldState=false
06/25/19 10:50:03 condchange: newState=true, cond=grpertzoug, oldState=false
06/25/19 10:50:03 evalchange: newState=true, cond=grpertzoug, oldState=false
06/25/19 10:50:20 devicewatch: device=219, old="1", name=MastBed Main Switch, var=urn:upnp-org:serviceId:SwitchPower1/Status, new="0"
06/25/19 10:50:21 condchange: newState=false, cond=condertzwex, oldState=true
06/25/19 10:50:21 evalchange: newState=false, cond=condertzwex, oldState=true
06/25/19 10:50:21 condchange: newState=false, cond=grpertzoug, oldState=true
06/25/19 10:50:21 evalchange: newState=false, cond=grpertzoug, oldState=true
06/25/19 10:50:23 devicewatch: device=219, old="0", name=MastBed Main Switch, var=urn:upnp-org:serviceId:SwitchPower1/Status, new="-1"
06/25/19 10:50:23 devicewatch: device=219, old="-1", name=MastBed Main Switch, var=urn:upnp-org:serviceId:SwitchPower1/Status, new="0"
06/25/19 11:17:50 devicewatch: device=220, old="113", name=MastBed Mood Switch, var=urn:micasaverde-com:serviceId:SceneController1/sl_SceneActivated, new="111"
06/25/19 11:17:51 condchange: newState=true, cond=conderu1ctw, oldState=false
06/25/19 11:17:51 evalchange: newState=true, cond=conderu1ctw, oldState=false
06/25/19 11:17:51 condchange: newState=true, cond=grperu0zh7, oldState=false
06/25/19 11:17:51 evalchange: newState=true, cond=grperu0zh7, oldState=false
06/25/19 11:17:51 condchange: newState=false, cond=conderu2rqa, oldState=true
06/25/19 11:17:51 evalchange: newState=false, cond=conderu2rqa, oldState=true
06/25/19 11:17:51 condchange: newState=false, cond=grperu2lve, oldState=true
06/25/19 11:17:51 evalchange: newState=false, cond=grperu2lve, oldState=true
06/25/19 11:17:56 devicewatch: device=220, old="111", name=MastBed Mood Switch, var=urn:micasaverde-com:serviceId:SceneController1/sl_SceneActivated, new="112"
06/25/19 11:17:57 condchange: newState=false, cond=conderu1ctw, oldState=true
06/25/19 11:17:57 evalchange: newState=false, cond=conderu1ctw, oldState=true
06/25/19 11:17:57 condchange: newState=false, cond=grperu0zh7, oldState=true
06/25/19 11:17:57 evalchange: newState=false, cond=grperu0zh7, oldState=true
06/25/19 11:17:57 condchange: newState=true, cond=conderu25vr, oldState=false
06/25/19 11:17:57 evalchange: newState=true, cond=conderu25vr, oldState=false
06/25/19 11:17:57 condchange: newState=true, cond=grperu1zbb, oldState=false
06/25/19 11:17:57 evalchange: newState=true, cond=grperu1zbb, oldState=false
06/25/19 11:18:02 devicewatch: device=220, old="112", name=MastBed Mood Switch, var=urn:micasaverde-com:serviceId:SceneController1/sl_SceneActivated, new="113"
06/25/19 11:18:03 condchange: newState=false, cond=conderu25vr, oldState=true
06/25/19 11:18:03 evalchange: newState=false, cond=conderu25vr, oldState=true
06/25/19 11:18:03 condchange: newState=false, cond=grperu1zbb, oldState=true
06/25/19 11:18:03 evalchange: newState=false, cond=grperu1zbb, oldState=true
06/25/19 11:18:03 condchange: newState=true, cond=conderu2rqa, oldState=false
06/25/19 11:18:03 evalchange: newState=true, cond=conderu2rqa, oldState=false
06/25/19 11:18:03 condchange: newState=true, cond=grperu2lve, oldState=false
06/25/19 11:18:03 evalchange: newState=true, cond=grperu2lve, oldState=false
06/25/19 11:18:08 devicewatch: device=219, old="0", name=MastBed Main Switch, var=urn:upnp-org:serviceId:SwitchPower1/Status, new="-1"
06/25/19 11:18:08 devicewatch: device=219, old="-1", name=MastBed Main Switch, var=urn:upnp-org:serviceId:SwitchPower1/Status, new="0"
06/25/19 11:18:08 devicewatch: device=220, old="100", name=MastBed Mood Switch, var=urn:micasaverde-com:serviceId:SceneController1/sl_SceneDeactivated, new="100"
06/25/19 11:18:11 devicewatch: device=219, old="0", name=MastBed Main Switch, var=urn:upnp-org:serviceId:SwitchPower1/Status, new="-1"
06/25/19 11:18:11 devicewatch: device=219, old="-1", name=MastBed Main Switch, var=urn:upnp-org:serviceId:SwitchPower1/Status, new="0"
Apologies for the lengthy post!!