COUNTDOWN TIMER FROM MOMENT OF STATE CHANGE
as i seen now the way to create any countdown timer has no regard to the current state of the sonoff. when a timer is created (of any kind) it creates a TIME-STAMP to change the state of the switch.
is it possible to create a timer lets say to turn off an appliance 20 minutes FROM THE MOMENT it was turned on? (its good even if this effects only turning on via push-button)
with the current situation if i create a loop timer or any other it may turn off the device after 2 minutes as the timer is not counting from the state change.
THANK YOU IN ADVANCE!
I guess the adjustable Inching that seems to of now been implemented on some firmwares (2.7.0 reported
should do the same thing. All my switches are at 2.6.0?
just use a loop timer
set the cycle to how many minutes you want it to turn of after
set start action to off
and make sure the AFTER check box is not ticked .
loop timer works greart dont alter the time and date at the top at all
got mine set to 20 minutes and it turns off 20 minutes after being turned off every time.
Inching is available Sonoff Basic firmware v2.6.0, under setting. As Patrick said, the duration is in step of 500ms (instead of second in wording) , so a max duration of 36,000,000ms is 10 hours. I deleted my loop timer and tried inching function, it works well except power on state is off even its setting is ON (another bug). With this bug, I cannot use inching. I normally turns on the light with the physical switch and let Sonoff Basic turns the light off after 30 minutes, then much later I turns off the physical switch. I will keep my loop timer till inching bug fixed.
Thanks martin.(with lower case "m" ) Seems to work :).. Will see what happens after 24hrs :)
Its prob very important NOT to highlight the AFTER button.
That's what I think I was doing on my earlier attempts.
"Inch" is very good feature for switching off device after a preset time whenever device is switched on. I was waiting for such a requirement. Great!!
Inching seems to work fine. Strange setting from a usability point of view. I would have expected this to be some timer option. Seems to work for the complete device so for all 3 gangs in a 3-gang switch. Would be nice to make this a gang-option. Nevertheless it does what I need it to do in this usecase.
Hooray... Inching function has now showed up in my Settings.
Allows proper countdown timers including momentary or timed on or off in 500mSec increments from switch operation any time.
Switch touch in eWelink app or Alexa voice control.
1,. Alexa open garage door(500ms)
2,. Alexa turn on toilet fan. (60,000ms)
36,000,000 milli seconds.
1hr = 60x60x1000 =3,600,000
10hrs = 36,000,000
unless my maths is wrong :)