Hi once again, I am having issues with a condition. The device testswitch 20021 which is triggering once but when triggered again does not get picked up by reactor. If i reset the reactor sensor it fire but no retruggers
The below logic summary was taken when testswitch status was 1,
I updated to stable about 2 hours ago.
Ktchen main auto group which has same logic is working correctly.
*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
Version: 3.9develop-20355.2120 config 20263 cdata 20045 ui 20355 pluginDevice 10 LuaXP 1.0.2enh
System: openLuup version 200629 on Linux localhost 4.9.76 #1 SMP PREEMPT Wed Jan 16 09:21:08 CST 2019 armv8l GNU/Linux; in ./; loadtime 1589041607/1608656555; systemReady 1608656560; ALTUI v2.52
Env: Lua 5.1; JSON dkjson 2.5; UnsafeLua=nil/2
Local time: 2020-12-22T17:26:37+0000; DST=0; Greenwich, England UNITED KINGDOM; formats %d/%m/%Y %H:%M:%S
House mode: plugin 1; system 1; tracking on
Sun data: {"source":"int","civdawn":1608621582,"nautdawn":1608619039,"sunset":1608652557,"nautdusk":1608657466,"stamp":2020357,"latitude":50.77,"astrodusk":1608659874,"longitude":0.29,"civdusk":1608654923,"astrodawn":1608616631,"sunrise":1608623948}
Geofence: not running
RS: 1608395042,1608407227,1608407239,1608650874,1608650888,1608651591,1608652852,1608656367,1608656389,1608656555
NS: 1594479300:D,1594479511:U,1594485541:D,1594485600:U,1598327160:D,1598376660:U,1599008940:D,1599009180:U,1600292760:D,1600293121:U
************************************************************************************************************************************
Reactor Sensor 3 (#14)
Version 20045.122 2020-12-22 16:42:15
Message/status:
Variable/expressions
0: loadlevelkit getstate( 10043, "urn:upnp-org:serviceId:Dimming1", "LoadLevelLast" ) [last "50"(string)]
1: loadlevelpen getstate( 10082, "urn:upnp-org:serviceId:Dimming1", "LoadLevelLast" ) [last "50"(string)]
2: loadlevelcab getstate( 10041, "urn:upnp-org:serviceId:Dimming1", "LoadLevelLast" ) [last "46"(string)]
3: loadlevellounge1 getstate( 10008, "urn:upnp-org:serviceId:Dimming1", "LoadLevelLast" ) [last "5"(string)]
4: loadlevellounge2 getstate( 10031, "urn:upnp-org:serviceId:Dimming1", "LoadLevelLast" ) [last "20"(string)]
5: loadlevelwall getstate( 10019, "urn:upnp-org:serviceId:Dimming1", "LoadLevelLast" ) [last "100"(string)]
Condition group "Auto Levels" (NUL) false as of n/a <root>
Z-F-group "monitor luup reload" (AND) false as of 17:02:37 <grppypqpw6>
| &-F-reload [true => false at 17:02:37; F/F as of 17:02:37/17:02:37] <condpxw4kq6>
Z-T-group "is night" (AND) TRUE as of 16:47:48 <grppys1fa3>
| &-T-sun bet sunset-40,sunrise+0 [1608657930 => 1608657982 at 17:26:22; T/T as of 16:47:48/16:47:48] <condpxw2vss>
| &-T-service Door sensor (10166) urn:upnp-org:serviceId:SwitchPower1/Status = 0 [0 at 16:47:48; T/T as of 16:47:48/16:47:48] <condq8mwlx8>
Z-T-group "kit main auto" (AND) TRUE as of 17:15:29 <grppxw08hq>
| &-T-group "grppxw2h1n" (OR) TRUE as of 16:47:48 <grppxw2h1n>
| | |-T-grpstate (self) (-1) is night (grppys1fa3) istrue [true at 16:47:48; T/T as of 16:47:48/16:47:48] <condpys15la>
| | |-F-service Kitchen Main (10043) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [1 => 0 at 17:26:22; F/F as of 17:26:22/17:26:22] <condpxw3vg5>
| &-T-service motion kitchen (10182) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped istrue after grppxw2h1n; output follow, delay reset for 180s [1 => 0 at 17:24:51; F/T as of 17:24:51/17:15:29] <condpypr5ww>
Z-F-group "kit pendant auto" (AND) false as of 16:47:48 <grppypn9cs>
| &-F-service Kitchen Pendants (10082) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [0 at 16:47:48; F/F as of 16:47:48/16:47:48] <condpypoe3z>
| &-F-service motion kitchen (10182) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 1 after condpypoe3z; output follow, delay reset for 180s [1 => 0 at 17:24:51; F/F as of 17:24:51/16:47:48] <condpyptpu8>
Z-F-group "kit cab auto" (AND) false as of 16:47:48 <grppypo1gi>
| &-F-service kitchen Under (10041) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [0 at 16:47:48; F/F as of 16:47:48/16:47:48] <condpypof5g>
| &-F-service motion kitchen (10182) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 1 after condpypof5g; output follow, delay reset for 180s [1 => 0 at 17:24:51; F/F as of 17:24:51/16:47:48] <condpypui5c>
Z-X-group "lounge 1 auto" (AND) false as of n/a DISABLED <grppyrfotb>
| &-?-service Lounge 1 (10008) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [nil at n/a; F/F as of n/a/n/a] <condpyrgox3>
| &-?-service motion rear pir (10186) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 1 after condpyrgox3; output follow, delay reset for 180s [nil at n/a; F/F as of n/a/n/a] <condpyrgq1p>
Z-T-group "lounge 2 on" (AND) TRUE as of 17:26:22 <grppyrz6h6>
| &-T-group "grpramakax" (OR) TRUE as of 16:47:48 <grpramakax>
| | |-T-grpstate (self) (-1) is night (grppys1fa3) istrue [true at 16:47:48; T/T as of 16:47:48/16:47:48] <condraipdos>
| | |-T-service Lounge 2 (10031) urn:upnp-org:serviceId:SwitchPower1/Status istrue [0 => 1 at 17:26:22; T/T as of 17:26:22/17:26:22] <condraiqvfa>
| &-T-service TestSwitch (20021) urn:upnp-org:serviceId:SwitchPower1/Status istrue ; output follow, delay reset for 600s [0 => 1 at 17:26:22; T/T as of 17:26:22/17:26:22] <condpyrzjnk>
Z-X-group "wall auto" (AND) false as of n/a DISABLED <grppysg0nr>
| &-?-service Wall (10019) urn:upnp-org:serviceId:SwitchPower1/Status = 1 [nil at n/a; F/F as of n/a/n/a] <condpysg2zk>
| &-?-service motion rear pir (10186) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 1 after condpysg2zk; output follow, delay reset for 180s [nil at n/a; F/F as of n/a/n/a] <condpysg463>
Activity grppypo1gi.false
Device kitchen Under (10041) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="0" )
Run Lua:
1: luup.variable_set("urn:upnp-org:serviceId:Dimming1", "LoadLevelLast", "50", 10041)
Activity grppxw08hq.false
Device Kitchen Main (10043) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="0" )
Run Lua:
1: luup.variable_set("urn:upnp-org:serviceId:Dimming1", "LoadLevelLast", "50", 10043)
Activity grppyrfotb.true
Device Lounge 1 (10008) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="{loadlevellounge1}" )
Activity grppxw08hq.true
Device Kitchen Main (10043) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="{loadlevelkit}" )
Activity grppypn9cs.false
Device Kitchen Pendants (10082) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="0" )
Run Lua:
1: luup.variable_set("urn:upnp-org:serviceId:Dimming1", "LoadLevelLast", "50", 10082)
Activity grppyrfotb.false
Device Lounge 1 (10008) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="0" )
Run Lua:
1: luup.variable_set("urn:upnp-org:serviceId:Dimming1", "LoadLevelLast", "20", 10008)
Activity grppyrz6h6.false
Device Lounge 2 (10031) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="0" )
Run Lua:
1: luup.variable_set("urn:upnp-org:serviceId:Dimming1", "LoadLevelLast", "20", 10031)
Activity grppypqpw6.true
Notify method SM nid 2: message "Luup reload"; recipient="sidstone909@gmail.com"; index="1"; subject="luup reload OpenLuup"; SMTPServer="smtp.gmail.com"; SMTPPort="465"; SMTPSender="thecid910@gmail.com"; SMTPDefaultRecipient="thecid910@gmail.com"; SMTPDefaultSubject="Reactor notification"; SMTPUsername="thecid910@gmail.com"; SMTPPassword="*"; SSL opt {"verify":"none","mode":"client","protocol":"any"}
Activity grppyrz6h6.true
Device Lounge 2 (10031) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="{loadlevellounge2}" )
Activity grppysg0nr.false
Device Wall (10019) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="0" )
Run Lua:
1: luup.variable_set("urn:upnp-org:serviceId:Dimming1", "LoadLevelLast", "30", 10019)
Activity grppypo1gi.true
Device kitchen Under (10041) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="{loadlevelcab}" )
Activity grppysg0nr.true
Device Wall (10019) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="{loadlevelwall}" )
Activity grppypn9cs.true
Device Kitchen Pendants (10082) action urn:upnp-org:serviceId:Dimming1/SetLoadLevelTarget( newLoadlevelTarget="{loadlevelpen}" )
Events
2020-12-22 17:02:42.252: Starting "grppypqpw6.true" group 1 at step 1
2020-12-22 17:02:43.432: Activity "grppypqpw6.true" finished in 6.385999917984s
2020-12-22 17:02:43.433: Stopping activity "grppypqpw6.true"
2020-12-22 17:09:36.218: Sensor update starting
2020-12-22 17:09:36.227: Condition condpyrzjnk test state changed from false to true
2020-12-22 17:09:36.241: Sensor update completed; 0.023s
2020-12-22 17:15:29.035: Device motion kitchen (#10182) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped changed from "0" to "1"
2020-12-22 17:15:29.035: Sensor update starting
2020-12-22 17:15:29.044: Condition condpypr5ww test state changed from false to true
2020-12-22 17:15:29.044: Condition condpypr5ww evaluation state changed from false to true
2020-12-22 17:15:29.044: Group kit main auto test state changed from false to true
2020-12-22 17:15:29.045: Group kit main auto evaluation state changed from false to true
2020-12-22 17:15:29.046: Condition condpyptpu8 test state changed from false to true
2020-12-22 17:15:29.046: Condition condpyptpu8 predecessor condition restriction not met
2020-12-22 17:15:29.047: Condition condpypui5c test state changed from false to true
2020-12-22 17:15:29.047: Condition condpypui5c predecessor condition restriction not met
2020-12-22 17:15:29.048: Condition condpyrzjnk test state changed from true to false
2020-12-22 17:15:29.048: Condition condpyrzjnk evaluation state reset delayed 600 more seconds
2020-12-22 17:15:29.061: Preparing kit main auto.true (grppxw08hq.true) activity
2020-12-22 17:15:29.063: Launching scene/activity "grppxw08hq.true"
2020-12-22 17:15:29.065: Starting "grppxw08hq.true" group 1 at step 1
2020-12-22 17:15:29.069: Activity "grppxw08hq.true" finished in 0.0060000419616699s
2020-12-22 17:15:29.070: Stopping activity "grppxw08hq.true"
2020-12-22 17:15:29.076: Sensor update completed; 0.041s
2020-12-22 17:15:29.643: Device Kitchen Main (#10043) urn:upnp-org:serviceId:SwitchPower1/Status changed from "0" to "1"
2020-12-22 17:15:29.644: Sensor update starting
2020-12-22 17:15:29.650: Condition condpxw3vg5 test state changed from false to true
2020-12-22 17:15:29.650: Condition condpxw3vg5 evaluation state changed from false to true
2020-12-22 17:15:29.651: Condition condpyptpu8 predecessor condition restriction not met
2020-12-22 17:15:29.652: Condition condpypui5c predecessor condition restriction not met
2020-12-22 17:15:29.652: Condition condpyrzjnk evaluation state reset delayed 600 more seconds
2020-12-22 17:15:29.663: Sensor update completed; 0.019s
2020-12-22 17:19:04.828: Device motion kitchen (#10182) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped changed from "1" to "0"
2020-12-22 17:19:04.829: Sensor update starting
2020-12-22 17:19:04.836: Condition condpypr5ww test state changed from true to false
2020-12-22 17:19:04.837: Condition condpypr5ww evaluation state reset delayed 180 more seconds
2020-12-22 17:19:04.838: Condition condpyptpu8 test state changed from true to false
2020-12-22 17:19:04.839: Condition condpypui5c test state changed from true to false
2020-12-22 17:19:04.839: Condition condpyrzjnk evaluation state reset delayed 385 more seconds
2020-12-22 17:19:04.851: Sensor update completed; 0.022s
2020-12-22 17:21:43.156: Device motion kitchen (#10182) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped changed from "0" to "1"
2020-12-22 17:21:43.157: Sensor update starting
2020-12-22 17:21:43.164: Condition condpypr5ww test state changed from false to true
2020-12-22 17:21:43.165: Condition condpyptpu8 test state changed from false to true
2020-12-22 17:21:43.166: Condition condpyptpu8 predecessor condition restriction not met
2020-12-22 17:21:43.166: Condition condpypui5c test state changed from false to true
2020-12-22 17:21:43.167: Condition condpypui5c predecessor condition restriction not met
2020-12-22 17:21:43.167: Condition condpyrzjnk evaluation state reset delayed 226 more seconds
2020-12-22 17:21:43.178: Sensor update completed; 0.021s
2020-12-22 17:24:51.176: Device motion kitchen (#10182) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped changed from "1" to "0"
2020-12-22 17:24:51.177: Sensor update starting
2020-12-22 17:24:51.187: Condition condpypr5ww test state changed from true to false
2020-12-22 17:24:51.188: Condition condpypr5ww evaluation state reset delayed 180 more seconds
2020-12-22 17:24:51.189: Condition condpyptpu8 test state changed from true to false
2020-12-22 17:24:51.190: Condition condpypui5c test state changed from true to false
2020-12-22 17:24:51.190: Condition condpyrzjnk evaluation state reset delayed 38 more seconds
2020-12-22 17:24:51.209: Sensor update completed; 0.032s
2020-12-22 17:25:29.366: Sensor update starting
2020-12-22 17:25:29.383: Condition condpypr5ww evaluation state reset delayed 142 more seconds
2020-12-22 17:25:29.384: Condition condpyrzjnk reset delay has now expired
2020-12-22 17:25:29.385: Condition condpyrzjnk evaluation state changed from true to false
2020-12-22 17:25:29.385: Group lounge 2 on test state changed from true to false
2020-12-22 17:25:29.386: Group lounge 2 on evaluation state changed from true to false
2020-12-22 17:25:29.401: Preparing lounge 2 on.false (grppyrz6h6.false) activity
2020-12-22 17:25:29.403: Launching scene/activity "grppyrz6h6.false"
2020-12-22 17:25:29.405: Starting "grppyrz6h6.false" group 1 at step 1
2020-12-22 17:25:29.412: Activity "grppyrz6h6.false" finished in 0.0079998970031738s
2020-12-22 17:25:29.412: Stopping activity "grppyrz6h6.false"
2020-12-22 17:25:29.415: Sensor update completed; 0.050s
2020-12-22 17:25:29.523: Device Lounge 2 (#10031) urn:upnp-org:serviceId:Dimming1/LoadLevelLast changed from "20" to "20"
2020-12-22 17:25:29.525: Sensor update starting
2020-12-22 17:25:29.540: Condition condpypr5ww evaluation state reset delayed 142 more seconds
2020-12-22 17:25:29.558: Sensor update completed; 0.033s
2020-12-22 17:25:30.150: Device Lounge 2 (#10031) urn:upnp-org:serviceId:SwitchPower1/Status changed from "1" to "0"
2020-12-22 17:25:30.151: Sensor update starting
2020-12-22 17:25:30.157: Condition condpypr5ww evaluation state reset delayed 141 more seconds
2020-12-22 17:25:30.158: Condition condraiqvfa test state changed from true to false
2020-12-22 17:25:30.159: Condition condraiqvfa evaluation state changed from true to false
2020-12-22 17:25:30.169: Sensor update completed; 0.017s
2020-12-22 17:26:22.181: Device Kitchen Main (#10043) urn:upnp-org:serviceId:SwitchPower1/Status changed from "1" to "0"
2020-12-22 17:26:22.182: Sensor update starting
2020-12-22 17:26:22.194: Condition condpxw3vg5 test state changed from true to false
2020-12-22 17:26:22.195: Condition condpxw3vg5 evaluation state changed from true to false
2020-12-22 17:26:22.195: Condition condpypr5ww evaluation state reset delayed 89 more seconds
2020-12-22 17:26:22.196: Condition condpyrzjnk test state changed from false to true
2020-12-22 17:26:22.197: Condition condpyrzjnk evaluation state changed from false to true
2020-12-22 17:26:22.197: Group lounge 2 on test state changed from false to true
2020-12-22 17:26:22.198: Group lounge 2 on evaluation state changed from false to true
2020-12-22 17:26:22.209: Preparing lounge 2 on.true (grppyrz6h6.true) activity
2020-12-22 17:26:22.211: Launching scene/activity "grppyrz6h6.true"
2020-12-22 17:26:22.213: Starting "grppyrz6h6.true" group 1 at step 1
2020-12-22 17:26:22.220: Activity "grppyrz6h6.true" finished in 0.0090000629425049s
2020-12-22 17:26:22.221: Stopping activity "grppyrz6h6.true"
2020-12-22 17:26:22.228: Sensor update completed; 0.046s
2020-12-22 17:26:22.776: Device Lounge 2 (#10031) urn:upnp-org:serviceId:SwitchPower1/Status changed from "0" to "1"
2020-12-22 17:26:22.778: Sensor update starting
2020-12-22 17:26:22.785: Condition condpypr5ww evaluation state reset delayed 89 more seconds
2020-12-22 17:26:22.786: Condition condraiqvfa test state changed from false to true
2020-12-22 17:26:22.787: Condition condraiqvfa evaluation state changed from false to true
2020-12-22 17:26:22.800: Sensor update completed; 0.022s
Devices
kitchen Under (10041) urn:schemas-upnp-org:device:DimmableLight:1 (2/0); parent 1; plugin -; mfg model ; dev D_DimmableLight1.xml impl X
Kitchen Main (10043) urn:schemas-upnp-org:device:DimmableLight:1 (2/0); parent 1; plugin -; mfg model ; dev D_DimmableLight1.xml impl X
TestSwitch (20021) urn:schemas-upnp-org:device:BinaryLight:1 (3/1); parent 24; plugin -; mfg model ; dev D_BinaryLight1.xml impl X
VeraBridge (5) VeraBridge (1/0); parent 0; plugin -; mfg akbooer model ; dev D_VeraBridge.xml impl I_VeraBridge.xml
Zigbee Network (10002) urn:schemas-micasaverde-com:device:ZigbeeNetwork:1 (0/0); parent 5; plugin -; mfg Mi Casa Verde model GC100; dev D_ZigbeeNetwork.xml impl X
motion kitchen (10182) urn:schemas-micasaverde-com:device:MotionSensor:1 (4/3); parent 5; plugin -; mfg model ; dev D_MotionSensor1.xml impl X
motion rear pir (10186) urn:schemas-micasaverde-com:device:MotionSensor:1 (4/3); parent 5; plugin -; mfg model ; dev D_MotionSensor1.xml impl X
Lounge 1 (10008) urn:schemas-upnp-org:device:DimmableLight:1 (2/0); parent 1; plugin -; mfg model ; dev D_DimmableLight1.xml impl X
Door sensor (10166) urn:schemas-micasaverde-com:device:DoorSensor:1 (4/1); parent 10002; plugin -; mfg model ; dev D_DoorSensor1.xml impl X
Lounge 2 (10031) urn:schemas-upnp-org:device:DimmableLight:1 (2/0); parent 1; plugin -; mfg model ; dev D_DimmableLight1.xml impl X
Wall (10019) urn:schemas-upnp-org:device:DimmableLight:1 (2/0); parent 1; plugin -; mfg model ; dev D_DimmableLight1.xml impl X
Ezlo Bridge (24) urn:schemas-rboer-com:device:EzloBridge:1 (1/0); parent 0; plugin -; mfg ReneBoer model ; dev D_EzloBridge.xml impl I_EzloBridge.xml
ZWave (1) urn:schemas-micasaverde-com:device:ZWaveNetwork:1 (19/0); parent 5; plugin -; mfg Mi Casa Verde model GC100; dev D_ZWaveNetwork.xml impl X
Kitchen Pendants (10082) urn:schemas-upnp-org:device:DimmableLight:1 (2/0); parent 1; plugin -; mfg model ; dev D_DimmableLight1.xml impl X
Watches
Device #10182 motion kitchen service urn:micasaverde-com:serviceId:SecuritySensor1 variable Tripped
Device #20021 TestSwitch service urn:upnp-org:serviceId:SwitchPower1 variable Status
Device #10019 Wall service urn:upnp-org:serviceId:Dimming1 variable LoadLevelLast
Device #10043 Kitchen Main service urn:upnp-org:serviceId:Dimming1 variable LoadLevelLast
Device #10041 kitchen Under service urn:upnp-org:serviceId:Dimming1 variable LoadLevelLast
Device #10082 Kitchen Pendants service urn:upnp-org:serviceId:SwitchPower1 variable Status
Device #14 Reactor Sensor 3 service urn:toggledbits-com:serviceId:ReactorSensor variable TestHouseMode
Device #14 Reactor Sensor 3 service urn:toggledbits-com:serviceId:ReactorGroup variable GroupStatus_grppys1fa3
Device #10041 kitchen Under service urn:upnp-org:serviceId:SwitchPower1 variable Status
Device #10043 Kitchen Main service urn:upnp-org:serviceId:SwitchPower1 variable Status
Device #10031 Lounge 2 service urn:upnp-org:serviceId:SwitchPower1 variable Status
Device #10166 Door sensor service urn:upnp-org:serviceId:SwitchPower1 variable Status
Device #10031 Lounge 2 service urn:upnp-org:serviceId:Dimming1 variable LoadLevelLast
Device #10082 Kitchen Pendants service urn:upnp-org:serviceId:Dimming1 variable LoadLevelLast
Device #14 Reactor Sensor 3 service urn:toggledbits-com:serviceId:ReactorSensor variable cdata
Device #10008 Lounge 1 service urn:upnp-org:serviceId:Dimming1 variable LoadLevelLast
Device #14 Reactor Sensor 3 service urn:toggledbits-com:serviceId:ReactorSensor variable TestTime
Special Configuration
Retrigger = 0
I also noticed that all AltUI device icons have disappered and been replaced with Default z icon as below