Wake up deep sleep ESP32/ESP8266 by Hass.io

I want to automate my windows airvent with an esp32/esp8266 and a servo.

Also I want it to be battery operated, so ESP should go to deep sleep to make this possible.

Next I want it to be run from Hass.io home assistant.

Now my question is,… is it possible to wake up the ESP from Hass.io so it will close/open the airvent and go to sleep again?

This way a can program it as a timer and remotely close/open it.

No. You have to physically toggle an input on the ESP to wake the devices. And if you have a wire going to them you might as well supply power.
The only other wake method is a timer onboard the ESP.

From personal experiance the “esp” device class use too much power to be viable as a battery powered device. As tom_l mentioned. If you have a cable why not power it.

On the other hand, if you really want a battery powered device, try mysensors.

I don’t have power nearby, that’s why battery is the only option.
(don’t want to run wires over the wall)

Do you mean www.mysensors.org ?

Hello,

Yes i was refering to them, i have a couple in the house and works pretty well. Though i use an mqtt gateway via an esp8266.

Matthew