get_power
Get the power state (ON/OFF/UNKNOWN/IDLE) of a DCC system without modifying it.
Instructions
Get the current power state (ON/OFF/UNKNOWN/IDLE) of one DCC system.
Args: system: System name, prefix, or fragment (e.g. "ohara", "O"). Case-insensitive. Omit to use JMRI's default system.
No side effects — this only reads state, it never changes power.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| system | No |