esp8266button icon indicating copy to clipboard operation
esp8266button copied to clipboard

Investigate Deep Sleep

Open garthvh opened this issue 10 years ago • 2 comments

The real dash button turns on, connects to wifi and then sends the request to save power.

Look into using ESP.deepSleep to provide similar functionality

garthvh avatar Aug 26 '15 17:08 garthvh

This is my version of Button using deepsleep to control lamp using mqtt. https://github.com/chaeplin/esp8266_and_arduino/tree/master/_15-esp8266-dash-deepsleep-reset

  1. static ip + reset button / deepsleep
  2. NPN TR is used to cut off reset line while device is running(no bounce, no double click)
  3. WiFi.disconnect() is used for consistent operation( under 5sec) --> when device wake up, sometimes it takes more than 10 sec to connect wifi without WiFi.disconnect()

chaeplin avatar Nov 24 '15 14:11 chaeplin

+1

teopost avatar Dec 24 '15 16:12 teopost