night_mode
Activate night operation mode to turn on all layout lights and locomotive lights for a nighttime demonstration scene.
Instructions
Set the layout to night operation mode: turn on every layout light and every locomotive's lights.
Call for "put the layout in night mode"/"mode nuit"/"il fait nuit" — a demonstration-style lighting scene, not a status/power command. Turns ON every layout light (JMRI Light objects — same as set_layout_lights(True)) and every acquired locomotive's light-related functions (same as set_all_locos_lights(True)), in one call.
Does NOT change speed, direction, or throttle acquisition, and does NOT affect track power (set_power) or signal aspects (set_signal) — lighting only. Inverse is day_mode.
Visual/demonstration only — does not read or change JMRI's internal fast clock.
Returns {"locomotives": [...], "layout_lights": }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||