esphome / esphome/feature-requests

Deep Sleep with wifi turned off and reconnect option

Open
#455 2 comments 1 reaction 0 assignees View on GitHub
component: deep_sleep
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**

I want to use ESPHome in outdoor project (battery + solar panel), and I want to disable the RF before I go sleep to reduce of the wake up power consumption. So the wifi module must handle the wifi is disabled and re-enable it before the use.
If the reconnect option is true, the ESP will save the current connection parameter (bssid ,channel) in the RTC and when the wake signal received, automatically fast connect the last wifi settings (if not work do a network scan mode like OTA "safe mode")

**Please describe your use case for this integration and alternatives you've tried:**

I not see any option to do that from the current code.

**Additional context**

With these changes, ESPHome can reduce the power consumption. The idea come from https://www.bakke.online/index.php/tag/esp8266/ reduce power consumption series...

Contributor guide

No contributing guide indexed for this repository

Research direction

The request names no files, tests, or entry points. Start by locating ESPHome's deep-sleep and Wi-Fi handling, then compare the requested RTC-stored BSSID/channel reconnect behavior with the existing OTA safe-mode scan path. Done means Wi-Fi can be disabled before sleep and re-enabled with the requested fast reconnect fallback.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.