exit_exhibition_mode
Restore full control of your layout by exiting exhibition mode. Provide the correct password to re-enable all DCC addresses and functions.
Instructions
Turn OFF exhibition mode, restoring full normal control. Requires the correct password.
Args: password: Must match the password configured at .mcpb install time (EXHIBITION_PASSWORD env var; a playful default is used if the installer left it blank). Compared tolerantly (case/accent/whitespace-insensitive, via the same folding used for locomotive name matching) since this password is normally spoken aloud through voice transcription — this is a casual demo-mode guard against a curious visitor, not a real auth system, so a transcription quirk shouldn't lock the operator out.
Call only when the user explicitly asks to leave exhibition mode AND provides (or is asked for) the password — never guess or supply a password yourself, and never reveal the configured password if asked what it is. A wrong password leaves exhibition mode ON (see the returned instruction) — ask the user to retry rather than trying variations yourself.
On success, restores real speeds, reverse, power on/off, and any DCC address (no more allowlist).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| password | Yes |