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 can confirm that both the new inching function in firmware 2.6 as well as the loop timer as detailed by martin earlier in this thread BOTH work as a countdown timer based on when my device is switched to on.
Inching has a max time of 1 hour, the loop timer can go for longer. Both work great on my sonoff basic switches. I use it currently in several locations to turn off the piano after an hour, turn off a humidifier after 45 minutes, turn off a table fan after 2 hours.
I love it!
They both work now for me as well. :) (updates finally came thru on apps)
Martin's countdown method works well BUT I found on the 1st turn on it always fell short on the set time, further op's no problems.
This stumped me for ages because I am using the G1 12v version (not the GSM but model IM160722001). https://www.itead.cc/inching-self-locking-wifi-wireless-switch.html
This unit seems to need to be in the 'Self Lock' mode for the intructions in this thread to work. (otherise it just give a brief momentary closure regardless of the app settings) . To configure Press the outer button and the outer led (one nearest the board edge) lights up to indicate the correct mode. Once this is done timers seem to be configured as per this thread although the 'inching timer' seems to have a 3600 unit limit so the loop timer seems to give best time ranges.
I use mine for a heating timer which once triggered on turns off the heating after so many minutes.