feat(shelly-manager): discover BLE proxies via mDNS, drop static hostname #176

Merged
k.renner merged 1 commits from feat/ble-proxy-mdns-env into master 2026-07-13 23:44:12 +00:00
Member

Companion to k.renner/shelly-manager#14 (mDNS auto-discovery of esphome BLE proxies).

Replaces the static Ble__Proxies__0__{Name,Host,Port} env — which addressed the proxy by shelly-ble-proxy-1.iot.renner.uno, poisoned over IPv6 by the *.renner.uno wildcard — with a single shared fleet Noise key as Ble__Discovery__Key, from the same shelly-ble-proxy-key secret. Discovery finds the proxy on the IoT VLAN via mDNS (_esphomelib._tcp) over the existing net1 macvlan and dials its real link IP; the key lets the native-API Noise handshake complete.

Sequencing: merge after #14's image is live, so discovery is present when the static entry is removed. (Before then the running image simply has no static proxy for a short window.)

🤖 Generated with Claude Code

Companion to k.renner/shelly-manager#14 (mDNS auto-discovery of esphome BLE proxies). Replaces the static `Ble__Proxies__0__{Name,Host,Port}` env — which addressed the proxy by `shelly-ble-proxy-1.iot.renner.uno`, poisoned over IPv6 by the `*.renner.uno` wildcard — with a single shared **fleet Noise key** as `Ble__Discovery__Key`, from the same `shelly-ble-proxy-key` secret. Discovery finds the proxy on the IoT VLAN via mDNS (`_esphomelib._tcp`) over the existing net1 macvlan and dials its real link IP; the key lets the native-API Noise handshake complete. **Sequencing:** merge *after* #14's image is live, so discovery is present when the static entry is removed. (Before then the running image simply has no static proxy for a short window.) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
claude-bot added 1 commit 2026-07-13 23:41:31 +00:00
shelly-manager now auto-discovers esphome bluetooth_proxy nodes on the IoT
VLAN via mDNS (_esphomelib._tcp) — see k.renner/shelly-manager#14. Replace
the static Ble__Proxies__0__{Name,Host,Port} env (which addressed the proxy
by shelly-ble-proxy-1.iot.renner.uno — poisoned over IPv6 by the
*.renner.uno wildcard) with a single shared fleet Noise key exposed as
Ble__Discovery__Key, from the same shelly-ble-proxy-key secret.

Merge after #14's image is live so discovery is present when the static
entry goes away.

Co-Authored-By: Claude Bot <claude-bot@renner.uno>
k.renner merged commit 38e0be5415 into master 2026-07-13 23:44:12 +00:00
Sign in to join this conversation.