885narrow
(885narrow)
December 3, 2021, 7:40am
1
Dear all,
Since I turn off my WIFI according to a schedule I would like increase also the deep sleep time in case.
I read that if no wifi or mqtt ESPHome restarts , but I would like to know when , or in which order.
I am completely new to esphome but so far I managed to use my boards with wifi, mqtt ds18b20 (12 sensors) .
I would like to increase the deep sleep time in case wifi is not available.
I managed normal deep sleep to get working.
thank you very much in advance
885narrow
(885narrow)
December 5, 2021, 9:33pm
2
edited the topic and text to make it more clear…
oxan
(Oxan)
December 8, 2021, 7:28pm
3
There’s the wifi.connected
condition you can use in an on_boot
automation (add a delay first, so that the device has a chance to connect) to go back to sleep if it can’t connect.
2 Likes
885narrow
(885narrow)
December 13, 2021, 7:38am
4
thank you , after some time I found that out .
I could also “on connect” change the long deep sleep to a shorter one in a variable.
thank you again!