Replies: 3 comments 8 replies
-
I've checked the source code a bit and found in support_command.ino the CmndRestart.
Technically it does now exactly what I need. The only small issue is that I do not see the msg anymore in the web gui. |
Beta Was this translation helpful? Give feedback.
-
Just implemented in dev branch (522e6cf). Let's continue this thread for further comments. |
Beta Was this translation helpful? Give feedback.
-
Could you please elaborate on your solution (wiring, use case, ...)? Sounds like fun to play with. |
Beta Was this translation helpful? Give feedback.
-
Hi,
my use case are implementations like battery dependent doorbell or door sensors for garage etc. which I would like to use Tasmota for with ideally the simplest ESP-01 modules. (these 8 pin, really small boards)
Now somehow I'm searching for an option to issue a ESP.deepsleep(0) which should set a deepsleep mode, which can be only left by hardware trigger, if I understood that right. But due to this 10 second if-statement in xdrv_29_deepsleep.ino this seems to be not possible.
Using the current deepsleep setup with for instance the max. deepsleep time of 86400 seconds doesn't work out due to 2 observations:
So would it be possible to allow somehow for a ESP.deepsleep(0), with the intention to only wake up on a hardware trigger and otherwise never at all?
Another solution could be to introduced a "restart 4" option which then doesn't halt the ESP (which still let it draw around 70mA) but puts it into infinite deepsleep, which would do the trick as well. I'm just not sure if then in case of wake-up from deepsleep some other time slip corrections would take over again?
Beta Was this translation helpful? Give feedback.
All reactions