Skip to content

Add shutdown controller recovery power status#47

Merged
FriedCircuits merged 1 commit into
mainfrom
feature/shutdown-controller-power-recovery
Jul 10, 2026
Merged

Add shutdown controller recovery power status#47
FriedCircuits merged 1 commit into
mainfrom
feature/shutdown-controller-power-recovery

Conversation

@FriedCircuits

Copy link
Copy Markdown
Owner

Summary

Adds recovery power-on support and target-level observability to the Proxmox shutdown controller.

Changes

  • Start the recovery helper when line power returns and Ceph noout still needs cleanup.
  • Add IPMI power-on support for generic recovery targets.
  • Add Turing Pi recovery power-on support through tpi power over SSH to the backplane.
  • Track recovery power target progress, failures, and Kubernetes readiness blockers in retained MQTT state.
  • Add Home Assistant MQTT discovery entities and example dashboard/package updates for the new recovery fields.
  • Bump the MQTT schema version so retained discovery is refreshed.

Impact

Home Assistant can now show what recovery is waiting on without opening logs: failed power targets, last power target/method, K8s nodes not ready, and whether recovery power-on/K8s readiness completed.

Validation

  • terraform fmt -check -recursive modules/proxmox/shutdown-controller
  • sh -n modules/proxmox/shutdown-controller/templates/controller.sh.tftpl
  • sh -n modules/proxmox/shutdown-controller/templates/recovery.sh.tftpl
  • Parsed Home Assistant example YAML with Python/PyYAML
  • git diff --check -- modules/proxmox/shutdown-controller
  • terraform init -backend=false -input=false && terraform validate in modules/proxmox/shutdown-controller

@FriedCircuits
FriedCircuits marked this pull request as ready for review July 10, 2026 05:13
@FriedCircuits
FriedCircuits merged commit 0b67293 into main Jul 10, 2026
@FriedCircuits
FriedCircuits deleted the feature/shutdown-controller-power-recovery branch July 10, 2026 05:14
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