pikvm_power
Control target machine power through ATX: check status, power on, soft/hard off, reset, or short/long power and reset button presses, with confirmation required for shutdown or restart actions.
Instructions
Power control of the target machine through ATX.
action: status, on, off (soft, like a short press), off_hard (cut power, long press), reset_hard, click_power, click_power_long, click_reset. Everything except status and on can shut the machine down or restart it. Those need confirm=true and confirm_phrase equal to the path shown in the reply.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | status | |
| server | No | ||
| confirm | No | ||
| confirm_phrase | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |