I’d like to program a dimmer to turn off if it’s been on (any dim level >0%) for 15 minutes. My on/off switch events work great if I set the rule to, “if on/off switch has been On for at least 15 minutes,” but this event only seems to work when dimmer is at 100%. I’d appreciate any ideas here. Thanks.
Announcement
Collapse
No announcement yet.
Dimmer - Timer
Collapse
X
-
Try using a delayed event. Rather than triggering at the off time, this event triggers when the light turns on, but its action runs at the time when the light is to be turned off.
There's a special action you'll want to run first - 'Remove Delayed Device Actions'. Without this, if you were to turn the light on, then off, then back on within the 15 minutes, the light would turn off 15 minutes after the first 'on' rather than the 2nd.
So for a device XYZ,
IF XYZ changes and becomes Any Value
THEN Remove Delayed Device Actions for XYZ
THEN Set XYZ to Off
after a delay of 15 Minutes, 0 Seconds
This picture is for an on/off only device, but shows the actions.
Comment
-
Guest
Originally posted by zwolfpack View PostTry using a delayed event. Rather than triggering at the off time, this event triggers when the light turns on, but its action runs at the time when the light is to be turned off.
There's a special action you'll want to run first - 'Remove Delayed Device Actions'. Without this, if you were to turn the light on, then off, then back on within the 15 minutes, the light would turn off 15 minutes after the first 'on' rather than the 2nd.
So for a device XYZ,
IF XYZ changes and becomes Any Value
THEN Remove Delayed Device Actions for XYZ
THEN Set XYZ to Off
after a delay of 15 Minutes, 0 Seconds
This picture is for an on/off only device, but shows the actions.
On the same logic there is the same for delayed events. Keep that in mind when you’ll be ready to set some conditional (or not) event actions
Comment
Comment