maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
809 stars 233 forks source link

ESP deep sleep #274

Closed toshibochan closed 4 years ago

toshibochan commented 4 years ago

Is possible to implement deep sleep to button example? I want use esp with battery.

Timer.set(millisToTurnOff , false , function() { print("deep sleep"); ESP8266.deepSleep(0); }, null);

maximkulkin commented 4 years ago

You can implement deep sleep, but you won’t be able to use esp-homekit