power_off_all
Cut power to all DCC systems simultaneously for a complete layout shutdown. Use for emergencies when all locomotives must stop, including those not acquired.
Instructions
Cut power to EVERY DCC system at once — the real "stop absolutely everything" button.
No arguments. Call for "cut the power", "cut everything", "kill the power", "coupe le courant", "coupe tout", "coupe l'alimentation" — any generic power-cut request with no specific system named. Use this even when the phrase sounds like a stop command — "coupe le courant" means THIS tool, not emergency_stop_all, since the user is naming power, not motion. For a genuine layout-wide emergency, this reaches every locomotive regardless of who's driving it (JMRI panel, PanelPro, another session) — unlike emergency_stop_all, which only e-stops locomotives THIS session has acquired and never touches power.
More drastic than emergency_stop_all: also stops anything with no throttle acquired, but re-powering afterward requires an explicit set_power(system, turn_on=True) per system before any locomotive can move again — don't use this for a routine "stop the train", only a real emergency.
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||