power_on_all
Restore power to every DCC system at once after a layout-wide power cut. Use this for generic 'turn everything on' requests without naming individual systems.
Instructions
Restore power to EVERY DCC system at once.
No arguments. Call this for phrases like "turn everything on", "power everything on", "allume tout", "remets le courant" — any request to restore/turn on power generically, without a specific system named. The inverse of power_off_all — use this after a layout-wide power cut (power_off_all, or manually turning systems off) to bring every system back to ON in one call, rather than naming each system individually with set_power.
IMPORTANT: restoring power does NOT make locomotives resume their previous speed. Every decoder stays stopped until a new speed command is sent — this only restores track power, it is not an "undo" of power_off_all or emergency_stop_all. Tell the user locomotives will need to be started again after calling this.
Each system's result is re-read and confirmed like set_power — check "confirmed" per system (see set_power's docstring for the "outdated_jmri_version" upgrade note, also per system here).
In exhibition mode this is REFUSED entirely (returns an error, no system is touched) — power_off_all is unaffected. See enter_exhibition_mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||