Using the stock firmware, I've set up a schedule for my one SonOff RF using the app on my phone. Observation suggests that this schedule is not running, and I wonder if this is because my phone is aggressive about killing background processes when in screen-off state.

There are at least 3 possible locations for the schedule function, (phone / cloud / endpoint), and I'd assumed that based on the app's behaviour, this was likely to be actually managed in the endpoint so it wouldn't be relying on either internet connectivity or CPU resource on my phone. Is there a definitive answer, and will the 3rd party firmware for these switches give more reliable performance?

  • 1
    Given that the SonOff is just a ESP8266 under the covers I'm tempted to say it's not on the endpoint as it doesn't have a RTC iirc
    – hardillb
    Commented Nov 7, 2018 at 13:00
  • But it's an always on, internet connected device. Your deduction is supported by my observation though. Commented Nov 7, 2018 at 13:12

1 Answer 1


On the endpoint. They get their time from the net and timers continue to work without the net. Even after reflashing the firmware (for example with Tasmota) the endpoint retains the ability to store timers and obtain the time from the net.

  • Of course (as indicated by hardillb), the Sonoff is just a ESP8266, so it doesn't have a Real Time Clock (RTC). I imagine its time would drift quiet radically if not connected to the net.
    – KDM
    Commented Mar 20, 2019 at 22:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.