power_state
Report whether the managed host is powered on (read-only). Use after power/wake when verification is null, before interpreting a dark snapshot.
Instructions
Report whether the managed host is powered on (read-only).
Returns powered_on (bool) plus, on PiKVM-family devices, atx (the
power/HDD LEDs and button states); BMC/AMT drivers answer from the
controller's power state. The cheap check after power/wake when
their verified came back null, and before deciding whether a dark
snapshot means off or asleep. Changes nothing: to change power use
power, to wake a sleeping host use wake.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Profile name from ~/.config/kvm-pilot/config.toml selecting which KVM/BMC (and its managed host) this call targets. Omit to use the server's default (KVM_PILOT_PROFILE). |