toggledbits / DelayLight

A plugin for Vera home automation to provide off- and on-delay of controlled loads.
GNU General Public License v3.0
4 stars 1 forks source link

May be desirable to allow state change from AUTO to MANUAL #10

Open toggledbits opened 6 years ago

toggledbits commented 6 years ago

When issue #9 is addressed, we might consider that a manipulation of the dimming level of a load is cause for changing the timing mode from AUTO to MANUAL.

In the current implementation (1.4), modes don't change--you stick with what you start with. So, if a trigger device starts AUTO timing, and a load is then manually turned off, this does not cause a change to MANUAL timing.

But there's a case to be made that any manual manipulation of the loads should force the change to MANUAL mode, and this could be provided as an option.

vosmont commented 5 years ago

Hello @toggledbits, is this feature available (in v1.5 milestone), as the v1.9 is out ?

In a room with a motion sensor, if I manually switch on or off the light and passing in front of the detector, it seems that the timer does not set in MANUAL mode.

toggledbits commented 5 years ago

It's a race, and unavoidable. There are just some placements of light switch and motion sensor where you may never beat the sensor. However, if the sensor turns the light on (auto mode), you should be able to turn it off manually, wait a moment, and then turn it on manually, and at that point the DelayLightTimer should be in manual timing. This, of course, requires that your switch supports instant status, also.