Start a new topic

"Countdown" timer feature - pushbutton (or from turning on)

Hello everyone,


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!


11 people like this idea

This is one hour. I can not set more.

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.

Marlerman, would this work with the following setup... I have a one cup Kettle that boils and dispense a cup at a time. I want to say "ok Google, coffee time!" And it boil the kettle, dispense the water into the cup and wala! However with this setup the kettle keeps boiling unless I shout "ok Google turn off the kettle. What iv got upto now: Generic smart switch Breville one cup Kettle, Tape to hold the power on button permanently on. I have a headache from scouring the web for answers to this simple request!
Asa, both the loop timer or inching would work great if you hook up your Sonoff switch to your kettle. I use IFTTT to link Google to my sonoffs, so that would be useful for your voice command, then just adjust the settings on the Sonoff to use inching or loop timer and set it to turn off after however many minutes it takes to boil water, so a minute or two.
Ahh ok thanks! So from complete noob level, what's the first step?
Flip back to the previous posts, they have the detailed instructions on loop timers and inching. Below is my piano on a loop timer that turns it off 30 minutes after it is turned on.

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.

I want this feature for Sonoff pow r2. I want my water heater to turn off automatically after 40 minutes or so once it is turned on manually with the built in push button switch. At the same time, I want scheduled on off timer to start the heater every day at a particular time like 6:00 am. Please do it.

1 person likes this
Login or Signup to post a comment