@akbooer Ok, this is still not behaving like expected. A different problem.
The “updates” condition is triggering when it shouldn’t. So, the value of sl_CentralScene is probably updated when it shouldn’t.
Let me explain the scenario as best as possible. I use the hank controller to set my home to Night mode and Home mode. The initial state was that house mode was “Home” and the sl_CentralScene variable was “1” (this is the value for “Home” in my case).
The first action I did, was set the house mode to “Night”. NOT with the Hank controller, but via the standard button in AltUI. Openluup went to “Night”, but immediately was put back to “Home”. So I did not use the Hank controller.
But when I look in Reactor I see that my first group condition was triggered. The first condition was still tue, because it was “1” in the first place, but the second condition (that verifies if sl_CentralScene is updated) also triggered although I did not touch the Hank controller.
The question is: Why did the sl_CentralScene get updated, while the Hank controller wasn’t touched.
See attaced also the logging of openluup.
*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
Version: 3.4hotfix-19317 config 19226 cdata 19082 ui 19237 pluginDevice 77
System: openLuup version 191211 on Linux openluup 4.19.0-0.bpo.5-amd64 #1 SMP Debian 4.19.37-4~bpo9+1 (2019-06-19) x86_64 GNU/Linux; loadtime 1461088957; systemReady 1576139397; ALTUI v2.46; Lua 5.1; JSON dkjson 2.5
Local time: 2019-12-12T09:48:27+0100; DST=0; Zwaag, Europe Nederland
House mode: plugin 1; system 1; tracking off
Sun data:
Geofence: not running
Power: ?, battery level ?
====================================================================================================================================
Reactor Hank controller (#78)
Version 19082.128 12/12/19 09:35:09
Message/status: Not tripped
Condition group "Controller" (OR) false as of 09:47:44 <root>
|-F-group "Button 1 push" (AND) false as of 09:47:44 <grplbj35f0>
| &-T-service Four Button Scene (10638) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 1 [11 => 1 at 07:01:13; T/T as of 07:01:13/07:01:13] <condld4jqgp>
| &-F-service Four Button Scene (10638) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update [1576140413 => 1576140464 at 09:47:44; F/F as of 09:47:44/09:47:44] <condlio92oh>
|-F-group "Button 1 hold" (AND) false as of 12-07.20:02:19 <grplbu4b94>
| &-F-service Four Button Scene (10638) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 2 [11 => 1 at 07:01:13; F/F as of 12-08.16:57:50/12-08.16:57:50] <condldeckvw>
| &-F-service Four Button Scene (10638) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update [1576140413 => 1576140464 at 09:47:44; F/F as of 09:47:44/09:47:44] <condlioa0b5>
|-F-group "Button 2 push" (AND) false as of 12-11.07:04:11 <grpldjq10b>
| &-F-service Four Button Scene (10638) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 3 [11 => 1 at 07:01:13; F/F as of 12-11.07:04:11/12-11.07:04:11] <condldjq39z>
| &-F-service Four Button Scene (10638) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update [1576140413 => 1576140464 at 09:47:44; F/F as of 09:47:44/09:47:44] <condlioaiyy>
Activity grplbj35f0.true
Run scene 29 User modes - Button Home
Activity grpldjq10b.true
Device Afzuiging (10483) action urn:micasaverde-com:serviceId:HaDevice1/ToggleState( )
Activity grplbu4b94.true
Run scene 30 User modes - Button Night
Events
12/12/19 09:46:53 evalchange: newState=true, cond=condlio92oh, oldState=false
12/12/19 09:46:53 condchange: newState=true, cond=grplbj35f0, oldState=false
12/12/19 09:46:53 evalchange: newState=true, cond=grplbj35f0, oldState=false
12/12/19 09:46:53 condchange: newState=true, cond=condlioa0b5, oldState=false
12/12/19 09:46:53 evalchange: newState=true, cond=condlioa0b5, oldState=false
12/12/19 09:46:53 condchange: newState=true, cond=condlioaiyy, oldState=false
12/12/19 09:46:53 evalchange: newState=true, cond=condlioaiyy, oldState=false
12/12/19 09:46:53 condchange: newState=true, cond=root, oldState=false
12/12/19 09:46:53 evalchange: newState=true, cond=root, oldState=false
12/12/19 09:46:53 startscene: scene=grplbj35f0.true, sceneName=grplbj35f0.true
12/12/19 09:46:53 runscene: scene=grplbj35f0.true, sceneName=grplbj35f0.true, group=1, notice=Starting scene group 1
12/12/19 09:46:53 endscene: scene=grplbj35f0.true, sceneName=grplbj35f0.true
12/12/19 09:46:53 sensorstate: state=true
12/12/19 09:46:53 condchange: newState=false, cond=condlio92oh, oldState=true
12/12/19 09:46:53 evalchange: newState=false, cond=condlio92oh, oldState=true
12/12/19 09:46:53 condchange: newState=false, cond=grplbj35f0, oldState=true
12/12/19 09:46:53 evalchange: newState=false, cond=grplbj35f0, oldState=true
12/12/19 09:46:53 condchange: newState=false, cond=condlioa0b5, oldState=true
12/12/19 09:46:53 evalchange: newState=false, cond=condlioa0b5, oldState=true
12/12/19 09:46:53 condchange: newState=false, cond=condlioaiyy, oldState=true
12/12/19 09:46:53 evalchange: newState=false, cond=condlioaiyy, oldState=true
12/12/19 09:46:53 condchange: newState=false, cond=root, oldState=true
12/12/19 09:46:53 evalchange: newState=false, cond=root, oldState=true
12/12/19 09:46:53 sensorstate: state=false
12/12/19 09:47:44 devicewatch: device=10638, old="1", name=Four Button Scene, var=urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene, new="1"
12/12/19 09:47:44 condchange: newState=true, cond=condlio92oh, oldState=false
12/12/19 09:47:44 evalchange: newState=true, cond=condlio92oh, oldState=false
12/12/19 09:47:44 condchange: newState=true, cond=grplbj35f0, oldState=false
12/12/19 09:47:44 evalchange: newState=true, cond=grplbj35f0, oldState=false
12/12/19 09:47:44 condchange: newState=true, cond=condlioa0b5, oldState=false
12/12/19 09:47:44 evalchange: newState=true, cond=condlioa0b5, oldState=false
12/12/19 09:47:44 condchange: newState=true, cond=condlioaiyy, oldState=false
12/12/19 09:47:44 evalchange: newState=true, cond=condlioaiyy, oldState=false
12/12/19 09:47:44 condchange: newState=true, cond=root, oldState=false
12/12/19 09:47:44 evalchange: newState=true, cond=root, oldState=false
12/12/19 09:47:44 startscene: scene=grplbj35f0.true, sceneName=grplbj35f0.true
12/12/19 09:47:44 runscene: scene=grplbj35f0.true, sceneName=grplbj35f0.true, group=1, notice=Starting scene group 1
12/12/19 09:47:44 endscene: scene=grplbj35f0.true, sceneName=grplbj35f0.true
12/12/19 09:47:44 sensorstate: state=true
12/12/19 09:47:44 condchange: newState=false, cond=condlio92oh, oldState=true
12/12/19 09:47:44 evalchange: newState=false, cond=condlio92oh, oldState=true
12/12/19 09:47:44 condchange: newState=false, cond=grplbj35f0, oldState=true
12/12/19 09:47:44 evalchange: newState=false, cond=grplbj35f0, oldState=true
12/12/19 09:47:44 condchange: newState=false, cond=condlioa0b5, oldState=true
12/12/19 09:47:44 evalchange: newState=false, cond=condlioa0b5, oldState=true
12/12/19 09:47:44 condchange: newState=false, cond=condlioaiyy, oldState=true
12/12/19 09:47:44 evalchange: newState=false, cond=condlioaiyy, oldState=true
12/12/19 09:47:44 condchange: newState=false, cond=root, oldState=true
12/12/19 09:47:44 evalchange: newState=false, cond=root, oldState=true
12/12/19 09:47:44 sensorstate: state=false
Devices
ZWave (1) urn:schemas-micasaverde-com:device:ZWaveNetwork:1 (19/0); parent 6; plugin -
Four Button Scene (10638) urn:schemas-micasaverde-com:device:SceneController:1 (14/0); parent 1; plugin -
Scenes
Scene #30 User modes - Button Night
Group 1
Device 2 ( openLuup) openLuup/SetHouseMode ( Mode="3" )
Scene #29 User modes - Button Home
Group 1
Device 2 ( openLuup) openLuup/SetHouseMode ( Mode="1" )
20191212 Log Openluup.txt.zip (36.5 KB)