Reactor sensor trips but has prolonged tripped state and weird delays in activity executions

Hi!

First of a big thanks to @rigpapa for a great plugin. I’ve migrated all of my logic from PLEG to Reactor about two-three weeks ago and noticed a significant boost in Vera responsiveness.

The only weird thing I currently notice is that every now and then (yeah I know, the best kind of situation you want when trying to figure out why logic/code is behaving differently than you think it should) I have noticed that there are weird delays on tripped state not resetting and activities not executing as they are timed to execute.

This morning, I used my Aeotec Wallmote Quad to activate Away mode on my Vera. I use a ReactorSensor that checks the Device State: sl_CentralScene equals “1” and I also have it in an and group with sl_CentralScene updates; pulse for 2 secs.

So basically, when pushing the button, the activities should fire and the group should be tripped for 2 seconds (due to the pulse). What should have happened is that the Siren should be activated for 5 seconds (to audibly let us know that Away mode is activating) and then the lights in the house should start to go out (by calling on another ReactorSensor called LightsOut). However, this time, the siren stayed on for awhile (had to go to work) and the lights didin’t go out. I now checked remotely from work and based on the logs, I think that the Away-group went true, but stayed true for about 40 seconds. However, all the lights were now out and the house was properly in Away mode, so everything HAD executed, just not in a proper amount of time.

This is what the logic summary says:

*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
   Version: 3.4 config 19226 cdata 19082 ui 19237 pluginDevice 440
    System: Vera version 1.7.4832 on Sercomm NA301; loadtime 1576219880; systemReady 1576218985; Lua 5.1; JSON dkjson 1.2
Local time: 2019-12-13T10:56:42+0200; DST=0; x, Ostrobothnia Finland
House mode: plugin 2; system 2; tracking on
  Sun data: { "stamp": 2019347, "civdawn": 1576219930, "nautdawn": 1576216042, "sunset": 1576241521, "nautdusk": 1576249638, "latitude": 63.1142, "astrodusk": 1576253076, "longitude": 21.6822, "civdusk": 1576245750, "astrodawn": 1576212605, "sunrise": 1576224159 }
  Geofence: not running
====================================================================================================================================
HomeModeControl (#448)
    Version 19082.44 12/13/19 08:52:13
    Message/status: Not tripped
    Condition group "Home Mode" (AND)  false as of 12-03.18:16:03 <root>
      &-F-group "Home" (OR)  false as of 16:09:02 <grpkw9ng01>
      |     |-F-group "Tech-Home" (AND)  false as of 12-04.08:57:12 <grpl390oev>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 3 [3 => 1 at 12-04.08:57:12; F/F as of 12-04.08:57:12/12-04.08:57:12] <condl3915gv>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl391rjz>
      |     |-F-group "Wallmote Home" (AND)  false as of 16:09:02 <grpl66zjkk>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 2 [3 => 1 at 07:55:23; F/F as of 16:09:02/16:09:02] <condl6705ar>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 07:56:44/07:56:44] <condl670hre>
      |     |-F-service Sandra (477) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 0 [1 at 08:52:14; F/F as of 08:52:14/08:52:14] <condlk03eet>
      &-F-group "Away" (OR)  false as of 07:56:44 <grpkw9ky5e>
      |     |-F-group "Tech-Away" (AND)  false as of 12-04.08:57:22 <grpl392xk7>
      |     |     &-T-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 1 [3 => 1 at 12-04.08:57:12; T/T as of 12-04.08:57:12/12-04.08:57:12] <condl393xu7>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl393ydq>
      |     |-F-group "Wallmote Away" (AND)  false as of 07:56:44 <grpl6712ad>
      |     |     &-T-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 1 [3 => 1 at 07:55:23; T/T as of 07:55:23/07:55:23] <condl671iei>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 07:56:44/07:56:44] <condl671sc4>
      &-F-group "Night" (OR)  false as of 12-08.21:57:09 <grpkuw5p4q>
      |     |-F-group "Tech-Night" (AND)  false as of 12-03.18:16:03 <grpl3955gm>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 9 [3 => 1 at 12-04.08:57:12; F/F as of 12-03.18:16:03/12-03.18:16:03] <condl395pim>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl395q1i>
      |     |-F-group "Wallmote Night" (AND)  false as of 12-08.21:57:09 <grpl673kd1>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 9 [3 => 1 at 07:55:23; F/F as of 12-09.07:53:14/12-09.07:53:14] <condl673zk1>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 07:56:44/07:56:44] <condl674ne0>
      &-F-group "Vacation" (OR)  false as of 12-03.18:16:03 <grpkuw6odm>
      |     |-F-group "Tech-Vacation" (AND)  false as of 12-03.18:16:03 <grpl396brs>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 7 [3 => 1 at 12-04.08:57:12; F/F as of 12-03.18:16:03/12-03.18:16:03] <condl396t8n>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl396tqw>
      |     |-F-group "Wallmote Vacation" (AND)  false as of 12-03.18:16:03 <grpl675gyq>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 7 [3 => 1 at 07:55:23; F/F as of 12-03.18:16:03/12-03.18:16:03] <condl675rmx>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 07:56:44/07:56:44] <condl676w45>
      &-F-group "Vacation Override" (AND)  false as of 12-09.13:27:30 <grplek498x>
      |     &-F-group "Vacation Override On" (AND)  false as of 12-09.19:04:06 <grplek4nee>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 10 [3 => 1 at 07:55:23; F/F as of 12-09.20:15:28/12-09.20:15:28] <condlek4szl>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 07:56:44/07:56:44] <condlek57b8>
      |     &-F-group "Vacation Override Off" (AND)  false as of 12-09.20:15:43 <grplek5nr3>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 12 [3 => 1 at 07:55:23; F/F as of 12-11.08:08:18/12-11.08:08:18] <condlek5tuv>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576216592 => 1576218971 at 08:36:21; F/F as of 07:56:44/07:56:44] <condlek63em>
    Activity grpkw9ng01.true
        Device Bedtime (467) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Change house mode to 1
    Activity grpkuw5p4q.true
        Change house mode to 3
        Device Hall Lock (353) action urn:micasaverde-com:serviceId:DoorLock1/SetTarget( newTargetValue="1" )
        Device Bedtime (467) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
    Activity grplek4nee.true
        Device Vacation Override (468) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
    Activity grpkw9ky5e.true
        Change house mode to 2
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 30 start
        Device Hall Lock (353) action urn:micasaverde-com:serviceId:DoorLock1/SetTarget( newTargetValue="1" )
    Activity grpkuw6odm.true
        Change house mode to 4
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 30 start
        Device Hall Lock (353) action urn:micasaverde-com:serviceId:DoorLock1/SetTarget( newTargetValue="1" )
    Activity grplek5nr3.true
        Device Vacation Override (468) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
    Events
        12/13/19 08:36:20 reload: notice=Luup reload
        12/13/19 08:36:20 start: 
        12/13/19 08:49:22 configchange: 
        12/13/19 08:52:13 configchange: 
        12/13/19 08:52:14 condchange: newState=false, cond=condlk03eet
        12/13/19 08:52:14 evalchange: newState=false, cond=condlk03eet
    Devices
        ZWave (1) urn:schemas-micasaverde-com:device:ZWaveNetwork:1 (19/0); parent 0; plugin -
        NETMONitor (409) urn:schemas-upnp-org:device:netmon:1 (0/-1); parent 0; plugin 9081
        WallMote Quad (459) urn:schemas-micasaverde-com:device:SceneController:1 (14/0); parent 1; plugin -
        MobileDeviceHome (477) urn:schemas-micasaverde-com:device:MotionSensor:1 (4/3); parent 409; plugin -
        Study.Controlpanel (285) urn:schemas-micasaverde-com:device:SceneController:1 (14/0); parent 1; plugin -

What do you think about this behaviour?
Cheers, Tim

House mode changes on Vera will manipulate devices (change arming states, etc.), so make sure in the My Modes section of the Vera web UI that your devices are free of unplanned changes. These changes can also make the ZWave network Vera busy if they are manipulating states, causing delays.

For further debugging, I would remove the house mode change actions and just see how it performs just on the devices. Always go the simplest test possible and work up.

There’s no pulse option or delay reset on any of these conditions, so I don’t see where the 2 seconds comes in. All of these pulses (from “updates”) will be so short that you won’t even see them on the UI. That’s not a problem, just a departure from what you stated, so I wanted to make sure you weren’t relying on the UI for displaying state that will, by default, go by so fast you won’t see it.

There’s a reload at the top of your event log and little after. It would have been good if you had pressed one of the controller buttons and let it run before generating the Logic Summary, as this would have shown the progress to activity. So if the above doesn’t bear any fruit, do it again and let’s capture some real data to look at.

If the reload was a surprise, you should investigate.

Otherwise everything here looks fine.

Thanks for getting back to me on this!

Blockquote House mode changes on Vera will manipulate devices (change arming states, etc.), so make sure in the My Modes section of the Vera web UI that your devices are free of unplanned changes. These changes can also make the ZWave network Vera busy if they are manipulating states, causing delays.

I have designed the chain of events so that the House Mode change activates immeditately when pushing thw WallMote button. However, it has a 300 sec delay (in order to avoid triggering security sensors) before it switches. So shouldn’t this type of Zwave network busying occur after 300 sec? Since I have a lot of devices I have most of them turning on and of, with delays, through Reactor logic precisely to avoid Zwave congestion or system overload.

Blockquote There’s no pulse option or delay reset on any of these conditions, so I don’t see where the 2 seconds comes in.

The 2 seconds pulse is set on the condition sl_centralscene updates: Device State: WallMote Quad (#459) sl_CentralScene updates; pulse for 2 sec

Blockquote There’s a reload at the top of your event log and little after. It would have been good if you had pressed one of the controller buttons and let it run before generating the Logic Summary, as this would have shown the progress to activity. So if the above doesn’t bear any fruit, do it again and let’s capture some real data to look at.

Doh! Yeah, I didn’t even think about it. When I got to the office and could check up on the situation I change started thinking about changing the pulse parameter and saved the Reactor sensor again, so I guess that reset the Logic Summary… I’ll try to avoid doing that the next time… :innocent:

OK, so just after posting the last post I got the same issue. I pressed the button, and the siren goes on. But stays on and nothing else happens… I was ready on the computer, and had the ReactorSensor opened in my browser. I waited for a moment but after which I tried to generate a Logic Summary. Opened up in a tab but just loading until; Error 500 - Internal Server Error. I waited until the system got responsive again, and this is what the summary report looks like:

*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
   Version: 3.4 config 19226 cdata 19082 ui 19237 pluginDevice 440
    System: Vera version 1.7.4832 on Sercomm NA301; loadtime 1576326683; systemReady false; Lua 5.1; JSON dkjson 1.2
Local time: 2019-12-14T14:31:36+0200; DST=0; x, Ostrobothnia Finland
House mode: plugin 1; system 1; tracking on
  Sun data: { "stamp": 2019348, "civdawn": 1576306402, "nautdawn": 1576302506, "sunset": 1576327886, "nautdusk": 1576336029, "latitude": 63.1142, "astrodusk": 1576339471, "longitude": 21.6822, "civdusk": 1576332133, "astrodawn": 1576299064, "sunrise": 1576310649 }
  Geofence: not running
     Power: ?, battery level ?
====================================================================================================================================
HomeModeControl (#448)
    Version 19082.44 12/13/19 08:52:13
    Message/status: Not tripped
    Condition group "Home Mode" (AND)  false as of 12-03.18:16:03 <root>
      &-F-group "Home" (OR)  false as of 20:01:51 <grpkw9ng01>
      |     |-F-group "Tech-Home" (AND)  false as of 12-04.08:57:12 <grpl390oev>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 3 [3 => 1 at 12-04.08:57:12; F/F as of 12-04.08:57:12/12-04.08:57:12] <condl3915gv>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl391rjz>
      |     |-F-group "Wallmote Home" (AND)  false as of 20:01:51 <grpl66zjkk>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 2 [1 => 4 at 14:25:51; F/F as of 20:01:51/20:01:51] <condl6705ar>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 14:25:51/14:27:16] <condl670hre>
      |     |-F-service Sandra (477) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 0 [1 at 12-13.08:52:14; F/F as of 12-13.08:52:14/12-13.08:52:14] <condlk03eet>
      &-F-group "Away" (OR)  false as of 14:25:51 <grpkw9ky5e>
      |     |-F-group "Tech-Away" (AND)  false as of 12-04.08:57:22 <grpl392xk7>
      |     |     &-T-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 1 [3 => 1 at 12-04.08:57:12; T/T as of 12-04.08:57:12/12-04.08:57:12] <condl393xu7>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl393ydq>
      |     |-F-group "Wallmote Away" (AND)  false as of 14:25:51 <grpl6712ad>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 1 [1 => 4 at 14:25:51; F/F as of 14:25:51/14:25:51] <condl671iei>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 14:25:51/14:27:16] <condl671sc4>
      &-F-group "Night" (OR)  false as of 12-08.21:57:09 <grpkuw5p4q>
      |     |-F-group "Tech-Night" (AND)  false as of 12-03.18:16:03 <grpl3955gm>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 9 [3 => 1 at 12-04.08:57:12; F/F as of 12-03.18:16:03/12-03.18:16:03] <condl395pim>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl395q1i>
      |     |-F-group "Wallmote Night" (AND)  false as of 12-08.21:57:09 <grpl673kd1>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 9 [1 => 4 at 14:25:51; F/F as of 12-09.07:53:14/12-09.07:53:14] <condl673zk1>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 14:25:51/14:27:16] <condl674ne0>
      &-F-group "Vacation" (OR)  false as of 12-03.18:16:03 <grpkuw6odm>
      |     |-F-group "Tech-Vacation" (AND)  false as of 12-03.18:16:03 <grpl396brs>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 7 [3 => 1 at 12-04.08:57:12; F/F as of 12-03.18:16:03/12-03.18:16:03] <condl396t8n>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl396tqw>
      |     |-F-group "Wallmote Vacation" (AND)  false as of 12-03.18:16:03 <grpl675gyq>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 7 [1 => 4 at 14:25:51; F/F as of 12-03.18:16:03/12-03.18:16:03] <condl675rmx>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 14:25:51/14:27:16] <condl676w45>
      &-F-group "Vacation Override" (AND)  false as of 12-09.13:27:30 <grplek498x>
      |     &-F-group "Vacation Override On" (AND)  false as of 12-09.19:04:06 <grplek4nee>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 10 [1 => 4 at 14:25:51; F/F as of 12-09.20:15:28/12-09.20:15:28] <condlek4szl>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 14:25:51/14:27:16] <condlek57b8>
      |     &-F-group "Vacation Override Off" (AND)  false as of 12-09.20:15:43 <grplek5nr3>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 12 [1 => 4 at 14:25:51; F/F as of 12-11.08:08:18/12-11.08:08:18] <condlek5tuv>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 14:25:51/14:27:16] <condlek63em>
    Activity grpkw9ng01.true
        Device Bedtime (467) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Change house mode to 1
    Activity grpkuw5p4q.true
        Change house mode to 3
        Device Hall Lock (353) action urn:micasaverde-com:serviceId:DoorLock1/SetTarget( newTargetValue="1" )
        Device Bedtime (467) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
    Activity grplek4nee.true
        Device Vacation Override (468) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
    Activity grpkw9ky5e.true
        Change house mode to 2
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 30 start
        Device Hall Lock (353) action urn:micasaverde-com:serviceId:DoorLock1/SetTarget( newTargetValue="1" )
    Activity grpkuw6odm.true
        Change house mode to 4
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 30 start
        Device Hall Lock (353) action urn:micasaverde-com:serviceId:DoorLock1/SetTarget( newTargetValue="1" )
    Activity grplek5nr3.true
        Device Vacation Override (468) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
    Events
        12/14/19 14:31:32 reload: notice=Luup reload
        12/14/19 14:31:33 start: 
    Devices
        ZWave (1) urn:schemas-micasaverde-com:device:ZWaveNetwork:1 (19/0); parent 0; plugin -
        NETMONitor (409) urn:schemas-upnp-org:device:netmon:1 (0/-1); parent 0; plugin 9081
        WallMote Quad (459) urn:schemas-micasaverde-com:device:SceneController:1 (14/0); parent 1; plugin -
        MobileDevice (477) urn:schemas-micasaverde-com:device:MotionSensor:1 (4/3); parent 409; plugin -
        Study.Controlpanel (285) urn:schemas-micasaverde-com:device:SceneController:1 (14/0); parent 1; plugin -

I see that there is a Luup Reload happening roughly 5,5 minutes after the Group “Away” goes true. I did not initiate this reload in any way I can think of, but can this indicate that the Vera locks up/freezes some how and then it forces itself to reload? In any case, I guess that the Logic Summary doesn’t give you much this time either?

I then changed the House Mode to Home again, and tried again. This time everything worked great and this is what the Logic Summary looks like:

*************************************************** REACTOR LOGIC SUMMARY REPORT ***************************************************
   Version: 3.4 config 19226 cdata 19082 ui 19237 pluginDevice 440
    System: Vera version 1.7.4832 on Sercomm NA301; loadtime 1576326683; systemReady 1576326697; Lua 5.1; JSON dkjson 1.2
Local time: 2019-12-14T14:43:11+0200; DST=0; x, Ostrobothnia Finland
House mode: plugin 2; system 2; tracking on
  Sun data: { "stamp": 2019348, "civdawn": 1576306402, "nautdawn": 1576302506, "sunset": 1576327886, "nautdusk": 1576336029, "latitude": 63.1142, "astrodusk": 1576339471, "longitude": 21.6822, "civdusk": 1576332133, "astrodawn": 1576299064, "sunrise": 1576310649 }
  Geofence: not running
====================================================================================================================================
HomeModeControl (#448)
    Version 19082.44 12/13/19 08:52:13
    Message/status: Not tripped
    Condition group "Home Mode" (AND)  false as of 12-03.18:16:03 <root>
      &-F-group "Home" (OR)  false as of 20:01:51 <grpkw9ng01>
      |     |-F-group "Tech-Home" (AND)  false as of 12-04.08:57:12 <grpl390oev>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 3 [3 => 1 at 12-04.08:57:12; F/F as of 12-04.08:57:12/12-04.08:57:12] <condl3915gv>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl391rjz>
      |     |-F-group "Wallmote Home" (AND)  false as of 20:01:51 <grpl66zjkk>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 2 [4 => 1 at 14:35:21; F/F as of 20:01:51/20:01:51] <condl6705ar>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326684 => 1576326921 at 14:35:21; F/F as of 14:35:22/14:35:23] <condl670hre>
      |     |-F-service Sandra (477) urn:micasaverde-com:serviceId:SecuritySensor1/Tripped = 0 [1 at 12-13.08:52:14; F/F as of 12-13.08:52:14/12-13.08:52:14] <condlk03eet>
      &-F-group "Away" (OR)  false as of 14:35:23 <grpkw9ky5e>
      |     |-F-group "Tech-Away" (AND)  false as of 12-04.08:57:22 <grpl392xk7>
      |     |     &-T-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 1 [3 => 1 at 12-04.08:57:12; T/T as of 12-04.08:57:12/12-04.08:57:12] <condl393xu7>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl393ydq>
      |     |-F-group "Wallmote Away" (AND)  false as of 14:35:23 <grpl6712ad>
      |     |     &-T-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 1 [4 => 1 at 14:35:21; T/T as of 14:35:21/14:35:21] <condl671iei>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326684 => 1576326921 at 14:35:21; F/F as of 14:35:22/14:35:23] <condl671sc4>
      &-F-group "Night" (OR)  false as of 12-08.21:57:09 <grpkuw5p4q>
      |     |-F-group "Tech-Night" (AND)  false as of 12-03.18:16:03 <grpl3955gm>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 9 [3 => 1 at 12-04.08:57:12; F/F as of 12-03.18:16:03/12-03.18:16:03] <condl395pim>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl395q1i>
      |     |-F-group "Wallmote Night" (AND)  false as of 12-08.21:57:09 <grpl673kd1>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 9 [4 => 1 at 14:35:21; F/F as of 12-09.07:53:14/12-09.07:53:14] <condl673zk1>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326684 => 1576326921 at 14:35:21; F/F as of 14:35:22/14:35:23] <condl674ne0>
      &-F-group "Vacation" (OR)  false as of 12-03.18:16:03 <grpkuw6odm>
      |     |-F-group "Tech-Vacation" (AND)  false as of 12-03.18:16:03 <grpl396brs>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 7 [3 => 1 at 12-04.08:57:12; F/F as of 12-03.18:16:03/12-03.18:16:03] <condl396t8n>
      |     |     &-F-service Study.Controlpanel (285) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326599 => 1576326684 at 14:31:34; F/F as of 12-04.08:57:12/12-04.08:57:22] <condl396tqw>
      |     |-F-group "Wallmote Vacation" (AND)  false as of 12-03.18:16:03 <grpl675gyq>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 7 [4 => 1 at 14:35:21; F/F as of 12-03.18:16:03/12-03.18:16:03] <condl675rmx>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326684 => 1576326921 at 14:35:21; F/F as of 14:35:22/14:35:23] <condl676w45>
      &-F-group "Vacation Override" (AND)  false as of 12-09.13:27:30 <grplek498x>
      |     &-F-group "Vacation Override On" (AND)  false as of 12-09.19:04:06 <grplek4nee>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 10 [4 => 1 at 14:35:21; F/F as of 12-09.20:15:28/12-09.20:15:28] <condlek4szl>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326684 => 1576326921 at 14:35:21; F/F as of 14:35:22/14:35:23] <condlek57b8>
      |     &-F-group "Vacation Override Off" (AND)  false as of 12-09.20:15:43 <grplek5nr3>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene = 12 [4 => 1 at 14:35:21; F/F as of 12-11.08:08:18/12-11.08:08:18] <condlek5tuv>
      |     |     &-F-service WallMote Quad (459) urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene update  [1576326684 => 1576326921 at 14:35:21; F/F as of 14:35:22/14:35:23] <condlek63em>
    Activity grpkw9ng01.true
        Device Bedtime (467) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Change house mode to 1
    Activity grpkuw5p4q.true
        Change house mode to 3
        Device Hall Lock (353) action urn:micasaverde-com:serviceId:DoorLock1/SetTarget( newTargetValue="1" )
        Device Bedtime (467) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
    Activity grplek4nee.true
        Device Vacation Override (468) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
    Activity grpkw9ky5e.true
        Change house mode to 2
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 30 start
        Device Hall Lock (353) action urn:micasaverde-com:serviceId:DoorLock1/SetTarget( newTargetValue="1" )
    Activity grpkuw6odm.true
        Change house mode to 4
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="1" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 5 inline
        Device Siren (211) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
        Delay 30 start
        Device Hall Lock (353) action urn:micasaverde-com:serviceId:DoorLock1/SetTarget( newTargetValue="1" )
    Activity grplek5nr3.true
        Device Vacation Override (468) action urn:upnp-org:serviceId:SwitchPower1/SetTarget( newTargetValue="0" )
    Events
        12/14/19 14:31:32 reload: notice=Luup reload
        12/14/19 14:31:33 start: 
        12/14/19 14:35:21 devicewatch: device=459, old="4", name=WallMote Quad, var=urn:micasaverde-com:serviceId:SceneController1/sl_CentralScene, new="1"
        12/14/19 14:35:21 condchange: newState=true, cond=condl670hre, oldState=false
        12/14/19 14:35:21 evalchange: newState=true, cond=condl670hre, oldState=false
        12/14/19 14:35:21 condchange: newState=true, cond=condl671iei, oldState=false
        12/14/19 14:35:21 evalchange: newState=true, cond=condl671iei, oldState=false
        12/14/19 14:35:21 condchange: newState=true, cond=condl671sc4, oldState=false
        12/14/19 14:35:21 evalchange: newState=true, cond=condl671sc4, oldState=false
        12/14/19 14:35:21 condchange: newState=true, cond=grpl6712ad, oldState=false
        12/14/19 14:35:21 evalchange: newState=true, cond=grpl6712ad, oldState=false
        12/14/19 14:35:21 condchange: newState=true, cond=grpkw9ky5e, oldState=false
        12/14/19 14:35:21 evalchange: newState=true, cond=grpkw9ky5e, oldState=false
        12/14/19 14:35:21 condchange: newState=true, cond=condl674ne0, oldState=false
        12/14/19 14:35:21 evalchange: newState=true, cond=condl674ne0, oldState=false
        12/14/19 14:35:21 condchange: newState=true, cond=condl676w45, oldState=false
        12/14/19 14:35:21 evalchange: newState=true, cond=condl676w45, oldState=false
        12/14/19 14:35:21 condchange: newState=true, cond=condlek57b8, oldState=false
        12/14/19 14:35:21 evalchange: newState=true, cond=condlek57b8, oldState=false
        12/14/19 14:35:21 condchange: newState=true, cond=condlek63em, oldState=false
        12/14/19 14:35:21 evalchange: newState=true, cond=condlek63em, oldState=false
        12/14/19 14:35:21 startscene: scene=grpkw9ky5e.true, sceneName=grpkw9ky5e.true
        12/14/19 14:35:21 runscene: scene=grpkw9ky5e.true, sceneName=grpkw9ky5e.true, group=1, notice=Starting scene group 1
        12/14/19 14:35:21 runscene: scene=grpkw9ky5e.true, sceneName=grpkw9ky5e.true, group=2, notice=Scene delay until 14:35:26
        12/14/19 14:35:22 condchange: newState=false, cond=condl670hre, oldState=true
        12/14/19 14:35:22 condchange: newState=false, cond=condl671sc4, oldState=true
        12/14/19 14:35:22 condchange: newState=false, cond=condl674ne0, oldState=true
        12/14/19 14:35:22 condchange: newState=false, cond=condl676w45, oldState=true
        12/14/19 14:35:22 condchange: newState=false, cond=condlek57b8, oldState=true
        12/14/19 14:35:22 condchange: newState=false, cond=condlek63em, oldState=true
        12/14/19 14:35:23 evalchange: newState=false, cond=condl670hre, oldState=true
        12/14/19 14:35:23 evalchange: newState=false, cond=condl671sc4, oldState=true
        12/14/19 14:35:23 condchange: newState=false, cond=grpl6712ad, oldState=true
        12/14/19 14:35:23 evalchange: newState=false, cond=grpl6712ad, oldState=true
        12/14/19 14:35:23 condchange: newState=false, cond=grpkw9ky5e, oldState=true
        12/14/19 14:35:23 evalchange: newState=false, cond=grpkw9ky5e, oldState=true
        12/14/19 14:35:23 evalchange: newState=false, cond=condl674ne0, oldState=true
        12/14/19 14:35:23 evalchange: newState=false, cond=condl676w45, oldState=true
        12/14/19 14:35:23 evalchange: newState=false, cond=condlek57b8, oldState=true
        12/14/19 14:35:23 evalchange: newState=false, cond=condlek63em, oldState=true
        12/14/19 14:35:26 runscene: scene=grpkw9ky5e.true, sceneName=grpkw9ky5e.true, group=2, notice=Starting scene group 2
        12/14/19 14:35:26 runscene: scene=grpkw9ky5e.true, sceneName=grpkw9ky5e.true, group=3, notice=Scene delay until 14:35:31
        12/14/19 14:35:31 runscene: scene=grpkw9ky5e.true, sceneName=grpkw9ky5e.true, group=3, notice=Starting scene group 3
        12/14/19 14:35:31 runscene: scene=grpkw9ky5e.true, sceneName=grpkw9ky5e.true, group=4, notice=Scene delay until 14:35:51
        12/14/19 14:35:51 runscene: scene=grpkw9ky5e.true, sceneName=grpkw9ky5e.true, group=4, notice=Starting scene group 4
        12/14/19 14:35:51 endscene: scene=grpkw9ky5e.true, sceneName=grpkw9ky5e.true
    Devices
        ZWave (1) urn:schemas-micasaverde-com:device:ZWaveNetwork:1 (19/0); parent 0; plugin -
        NETMONitor (409) urn:schemas-upnp-org:device:netmon:1 (0/-1); parent 0; plugin 9081
        WallMote Quad (459) urn:schemas-micasaverde-com:device:SceneController:1 (14/0); parent 1; plugin -
        MobileDevice (477) urn:schemas-micasaverde-com:device:MotionSensor:1 (4/3); parent 409; plugin -
        Study.Controlpanel (285) urn:schemas-micasaverde-com:device:SceneController:1 (14/0); parent 1; plugin -

Any suggestions on what to try next?

Thanks a lot!

I’d like to have you try it without the house mode changes. Just remove those actions, and see if you get a more consistent performance. I’ve got more on the list, but I want to be methodical here.

Hi again!

Before I saw your second post I tried rearranging the House Mode switching to the end of the activities, and reducing the House Mode switch delay in Vera to 1 second. Although I can’t be certain yet (too few tries) it seems that the activities always execute properly up until the House Mode switch, and then the LUUP reaload once again hits.

I have now tried reducing the amount of devices instantly affected by triggering a House Mode change, addings delays to spread out the different actions over time. So far I it seems to be working since I haven’t yet been able to get a LUUP reload.

I’ll tinker a bit more and see if this behaviour is conclusive.

Thank you for setting me in the right direction!

Just a short update. Unfortunately I’m still experiencing LUUP-reloads. Since rigpapa suggested that it might be tied to the Home Mode switching, I’ve contacted Vera support so check this out if they can find something tied to the House Modes. I’ll report back when I know more.