I have two motion sensors in my office. I would like to have the lights turn off if there is no motion detected by both sensors for 5 minutes. So, I thought I would create an event trigger that would be like this:
IF Motion Sensor 1 has been "no event" for exactly 5 minutes
AND Motion Sensor 2 has been "no event" for exactly 5 minutes
THEN Turn off the lights
However, when I try to create this, I am only allowed to select "Has Been/For Exactly" once in the trigger. When I add the second condition, there is no "Has Been/For Exactly" option. If I use "OR IF", I can get the option again, but I don't want an OR condition, I am looking for an "AND" condition.
Question 1: I understand that the "Has Been/For At Least" option was deprecated and replaced with "Has Been/For Exactly". I also read that "For Exactly" does the same thing. Is that correct? In my case, it would seem more logical to make the condition be >=5 minutes (like the "At Least" option would do). That way, if Homeseer was busy and didn't trigger the event when the time was exactly 5 minutes, it would be still work. Is this something to worry about or will Homeseer still trigger the event if there's been no event for 5 minutes and 1 second?
Question 2: Does anyone know why this option can only be selected once?
Question 3: What other suggestions do you have to accomplish this simple task?
Note: I have gone down the route of starting a timer for each sensor when "no event" is detected and having third event turn the lights off when both timers exceed 5 minutes. This of course requires having the timers reset when motion is detected. This mostly works, but feels inelegant.
Date/time=11/12/2022 9:52:36 PM CST
Version=HomeSeer HS4 ZEE S2 (Upg from HS3ZS2) Edition 4.2.16.0 (Linux)
MONO Version=Mono JIT compiler version 6.10.0.104 (tarball Fri Jun 26 19:59:14 UTC 2020)
License=Registered
Confguration File=/usr/local/HomeSeer/Data/HomeSeerData.json
Uptime=12 Days 14 Hours 28 Minutes 19 Seconds
Lan IP=192.168.1.146 (HTPiHubG1)
Device Count=300
Event Count=119
Plugins Enabled=Z-Wave:,LIFX:,SDJ-Health:,HS MyQ:,Tuya:
Modules/Threads=86 Modules, 50 Threads
Available Threads=399
HomeSeer Memory Used=166 Mbytes
Plugins Installed=Govee Plugin 4.0.0.0,HS MyQ 4.0.8.0,LIFX 4.0.7.0,SDJ-Health 3.1.0.4,Tuya 4.0.37.0,Z-Wave 3.0.2.4,Z-Wave GUI 0.3.0.0
Disk Size=29.72GB
IF Motion Sensor 1 has been "no event" for exactly 5 minutes
AND Motion Sensor 2 has been "no event" for exactly 5 minutes
THEN Turn off the lights
However, when I try to create this, I am only allowed to select "Has Been/For Exactly" once in the trigger. When I add the second condition, there is no "Has Been/For Exactly" option. If I use "OR IF", I can get the option again, but I don't want an OR condition, I am looking for an "AND" condition.
Question 1: I understand that the "Has Been/For At Least" option was deprecated and replaced with "Has Been/For Exactly". I also read that "For Exactly" does the same thing. Is that correct? In my case, it would seem more logical to make the condition be >=5 minutes (like the "At Least" option would do). That way, if Homeseer was busy and didn't trigger the event when the time was exactly 5 minutes, it would be still work. Is this something to worry about or will Homeseer still trigger the event if there's been no event for 5 minutes and 1 second?
Question 2: Does anyone know why this option can only be selected once?
Question 3: What other suggestions do you have to accomplish this simple task?
Note: I have gone down the route of starting a timer for each sensor when "no event" is detected and having third event turn the lights off when both timers exceed 5 minutes. This of course requires having the timers reset when motion is detected. This mostly works, but feels inelegant.
Date/time=11/12/2022 9:52:36 PM CST
Version=HomeSeer HS4 ZEE S2 (Upg from HS3ZS2) Edition 4.2.16.0 (Linux)
MONO Version=Mono JIT compiler version 6.10.0.104 (tarball Fri Jun 26 19:59:14 UTC 2020)
License=Registered
Confguration File=/usr/local/HomeSeer/Data/HomeSeerData.json
Uptime=12 Days 14 Hours 28 Minutes 19 Seconds
Lan IP=192.168.1.146 (HTPiHubG1)
Device Count=300
Event Count=119
Plugins Enabled=Z-Wave:,LIFX:,SDJ-Health:,HS MyQ:,Tuya:
Modules/Threads=86 Modules, 50 Threads
Available Threads=399
HomeSeer Memory Used=166 Mbytes
Plugins Installed=Govee Plugin 4.0.0.0,HS MyQ 4.0.8.0,LIFX 4.0.7.0,SDJ-Health 3.1.0.4,Tuya 4.0.37.0,Z-Wave 3.0.2.4,Z-Wave GUI 0.3.0.0
Disk Size=29.72GB
Comment