Skip to content

deepsleep : adding command to select wake up pins on ESP 32 #13966

Answered by barbudor
ouinouin asked this question in Q&A
Discussion options

You must be logged in to vote

Hi
The problem is not just adding pins to wake-up the ESP32.
The DeepSleep process in Tasmota has been designed with only 1 goal in mind : periodic wake-up to read sensors, publish the result and get back to sleep.
When Tasmota wakes up, it get the time from NTP as usual, compute the time for the next wake-up and after the telemetry message, it will go again to sleep. If Tasmota found out that he woke up at at time different than the expected time, it will go straight to sleep before the telemetry message.

So it's more than just adding wake-up GPIOs, it's about supporting new use-case that needs to be precisely described before starting to code.

So tell me more about your use case.
What i…

Replies: 8 comments 17 replies

Comment options

You must be logged in to vote
4 replies
@sfromis
Comment options

@barbudor
Comment options

@sfromis
Comment options

@Jason2866
Comment options

Answer selected by ascillato2
Comment options

You must be logged in to vote
3 replies
@Jason2866
Comment options

@ouinouin
Comment options

@barbudor
Comment options

Comment options

You must be logged in to vote
2 replies
@ouinouin
Comment options

@Staars
Comment options

Comment options

You must be logged in to vote
4 replies
@smhc
Comment options

@smhc
Comment options

@Staars
Comment options

@smhc
Comment options

Comment options

You must be logged in to vote
1 reply
@Jason2866
Comment options

Comment options

You must be logged in to vote
1 reply
@sfromis
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@barbudor
Comment options

@smhc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
9 participants