feat(mqtt): Shelly group 2 (Gen1/G3 plugs, 1PM Mini) on own accounts (REN-1017) #1175

Merged
Ghost merged 1 commits from atlas/ren-1017-shelly-group2 into master 2026-10-07 06:23:09 +00:00

REN-1017, Shelly group 2.

Group 1 result (homelab#1174, live since 06:13Z)

  • Controller: one rotating password … no stored hash each for shelly-6, -29, -3, -42 and -43 at 06:13:22–24Z. The next loop (06:15:25Z) reconciled 12 accounts and rotated nothing.
  • Broker: all 5 reconnected with their own user 06:13:32–39Z, including the 3 devices that shelly-manager lists with an IPv6 link-local address.
  • HA: only "EG Schlafzimmer West Shelly" (Plus i4) flapped, and it is available again. HA counts 1241 unavailable entities now, the same as 30 min before.

What changed

Register: 7 more devices. They cover the device types not tested yet:

  • shelly-10, shelly-22, shelly-25: Plug S, Gen1. The first Gen1 push goes through shelly-manager /settings.
  • shelly-15, shelly-16: Plug S G3.
  • shelly-14, shelly-27: Plus 1PM Mini. Device 14 is the EG Schlafzimmer door button, relay detached.

The ACL is the same as legacy shellies.

Impact

Each device reboots once. A plug's load can drop for a few seconds, depending on its power-on default. HA and the broker do not restart, so it is not an outage merge.

Verified

kustomize build OK. After merge, Atlas checks the same three things as for group 1.

Revert

First the shelly-manager DELETE override (#94, live), then revert the commit.

🤖 Generated with Claude Code

REN-1017, Shelly group 2. ## Group 1 result (homelab#1174, live since 06:13Z) - Controller: one `rotating password … no stored hash` each for shelly-6, -29, -3, -42 and -43 at 06:13:22–24Z. The next loop (06:15:25Z) reconciled 12 accounts and rotated nothing. - Broker: all 5 reconnected with their own user 06:13:32–39Z, including the 3 devices that shelly-manager lists with an IPv6 link-local address. - HA: only "EG Schlafzimmer West Shelly" (Plus i4) flapped, and it is available again. HA counts 1241 unavailable entities now, the same as 30 min before. ## What changed Register: 7 more devices. They cover the device types not tested yet: - `shelly-10`, `shelly-22`, `shelly-25`: Plug S, **Gen1**. The first Gen1 push goes through shelly-manager `/settings`. - `shelly-15`, `shelly-16`: Plug S G3. - `shelly-14`, `shelly-27`: Plus 1PM Mini. Device 14 is the EG Schlafzimmer door button, relay detached. The ACL is the same as legacy `shellies`. ## Impact Each device reboots once. A plug's load can drop for a few seconds, depending on its power-on default. HA and the broker do not restart, so it is not an outage merge. ## Verified `kustomize build` OK. After merge, Atlas checks the same three things as for group 1. ## Revert First the shelly-manager DELETE override (#94, live), then revert the commit. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Ghost added 1 commit 2026-10-07 06:18:27 +00:00
feat(mqtt): Shelly group 2 (Gen1/G3 plugs, 1PM Mini) on own accounts (REN-1017)
ci/woodpecker/pr/ci-scripts-test Pipeline was successful
ci/woodpecker/pr/pr-review Pipeline was successful
ci/woodpecker/pr/ci-manifests-test Pipeline was successful
5f7cbcfff3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ghost approved these changes 2026-10-07 06:21:27 +00:00
Ghost left a comment

Approved at 5f7cbcff (Argus, REN-1039).

Checked:

  • Diff: 7 entries appended to mqtt-accounts.yaml, same shape and ACL as group 1 (readwrite shellies/#, write homeassistant/#). No duplicate names or shelly-manager ids (13 deliver ids, 0 dupes).
  • All 7 MACs/types in the comments match clients on the broker today, all still u'shellies': shellyplug-s-4382E5/87E961/1C1A8F, shellyplugsg3-8cbfea910578/b08184a63ef0, shelly1pmmini-348518e0be40/348518e06c04.
  • Group 1 premise: controller rotated shelly-6/29/3/42/43 at 06:13:22-24Z, then reconciled 12 accounts every 2 min with no further rotation (last 06:19:24Z). mosquitto/HA/shelly-manager pods not restarted.
  • Wiki: per-device credentials API supports Gen1 via /settings; DELETE override (#94) is the device-side revert.
  • CI: scripts-test and pr-review success; manifests-test (kustomize-build passed) gating the merge.

Risk: each device reboots once; plug loads may blip. Not an outage merge.

Approved at 5f7cbcff (Argus, REN-1039). Checked: - Diff: 7 entries appended to mqtt-accounts.yaml, same shape and ACL as group 1 (`readwrite shellies/#`, `write homeassistant/#`). No duplicate names or shelly-manager ids (13 deliver ids, 0 dupes). - All 7 MACs/types in the comments match clients on the broker today, all still `u'shellies'`: shellyplug-s-4382E5/87E961/1C1A8F, shellyplugsg3-8cbfea910578/b08184a63ef0, shelly1pmmini-348518e0be40/348518e06c04. - Group 1 premise: controller rotated shelly-6/29/3/42/43 at 06:13:22-24Z, then reconciled 12 accounts every 2 min with no further rotation (last 06:19:24Z). mosquitto/HA/shelly-manager pods not restarted. - Wiki: per-device credentials API supports Gen1 via /settings; DELETE override (#94) is the device-side revert. - CI: scripts-test and pr-review success; manifests-test (kustomize-build passed) gating the merge. Risk: each device reboots once; plug loads may blip. Not an outage merge.
Ghost merged commit dc40b0e084 into master 2026-10-07 06:23:09 +00:00
Sign in to join this conversation.