Skip to content

Disable the fallback access point and captive portal - #94

Merged
nuttytree merged 4 commits into
masterfrom
chore/disable-fallback-ap
Oct 24, 2026
Merged

nuttytree merged 4 commits into
masterfrom
chore/disable-fallback-ap

Conversation

@nuttytree

@nuttytree nuttytree commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

The shared wifi package enabled a fallback AP and captive portal on every device as insurance against bricking a device whose wifi credentials changed. With UniFi, the recovery for changed credentials is simpler: create a temporary SSID with the old credentials and OTA the device. The AP only ever starts when a device can't join its configured network, so it isn't needed.

Also folds in the small changes needed for ESPHome 2026.10.0: pool now uses the core pzem6l24, so the git pin and the local copy of the component go away.

Changes:

  • Remove ap: and captive_portal: from devices/packages/wifi/wifi.yaml.
  • Remove the per-device pwd substitution (it only fed the AP password) from the device configs.
  • Move the emporia-vue2 play_rtttl API service to the actions: syntax.
  • Drop the external_components pin on the esphome/esphome pzem6l24 commit from pool.yaml (2026.10.0 carries the register_apply_action change it was waiting on).
  • Delete components/pzem6l24 and its README, CI comment and doc links.

Behavior on upgrade: a device that can't reach its wifi network no longer opens a recovery AP. It still reboots on the default reboot_timeout and can be recovered with a temporary SSID plus OTA, or a serial flash.

Not verified: no esphome config or compile was run locally; CI covers validation and compiles. Unused *_pwd entries remain in the gitignored devices/secrets.yaml.

🤖 Generated with Claude Code

nuttytree and others added 4 commits October 24, 2026 15:58
Drop the wifi ap and captive_portal from the shared wifi package. The AP only
starts when a device can't join the configured network, and the recovery path
for changed credentials is a temporary SSID with the old credentials plus an
OTA, so the fallback isn't needed. Remove the per-device pwd substitution that
only fed the AP password.

Also move the emporia-vue2 play_rtttl API service to the actions: syntax.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Drop the external_components pin on the esphome/esphome pzem6l24 commit. It
only existed because the automation.register_apply_action change landed after
the 2026.9 branch cut; 2026.10.0 carries it, so the component resolves from
ESPHome itself.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
pzem6l24 is part of ESPHome core as of 2026.10.0 and pool.yaml no longer
pins or overrides it, so the local copy is dead code. Drop it along with its
README and CI/doc references.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Build without a precompiled header in the compile jobs. 2026.10 enables PCH
  by default, and clang-tidy replays the build's flags but can't read GCC's
  PCH (or find esphome_pch.h on ESP8266).
- second-garage-door: also remove the ratgdo web_server OTA entry that
  ratgdo main now adds, since we remove web_server itself.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nuttytree
nuttytree merged commit 99999f3 into master Oct 24, 2026
7 checks passed
@nuttytree
nuttytree deleted the chore/disable-fallback-ap branch October 24, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant