This is the dev documentation for an unreleased version of MPF!
This is the documentation for MPF 0.56+, which is the “dev” (next) release of MPF that is a work-in-progress. Unless you’re specifically looking for this version, you probably want to use the version of documentation called “latest” which is for the latest released version of MPF. That documentation is at docs.missionpinball.org/en/latest.
Service Command Line¶
The MPF service cli is a fast way to debug or troubleshoot your machine during development and operation.
- Start your game (e.g. using
- Start the service cli from within your game folder using
Your game will go into service mode and you can run diagnostics commands. Once you are done the game will continue and exit service mode. You can use tab to complete commands and arguments.
List all coils in the machine.
Pulse coil <name>.
Enable coil <name>. This only works if enable is allowed for this coil.
Disable coil <name>.
List all switches in the machine.
Watch for switch changes. Prints any changes until you press Ctrl+c.
List all lights in the machine.
light_color <name> <color>¶
Turn light <name> into color <color>.
Turn light <name> off.