Warning

This is the dev documentation for an unreleased version of MPF!

This is the documentation for MPF 0.53+, 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.

raspberry_pi:

Config file section

Valid in machine config files YES
Valid in mode config files NO

The raspberry_pi: section of your config is where you configure your Raspberry Pi running pigpio. See Raspberry PI (pigpio) for details.

This is an example:

raspberry_pi:
    ip: localhost
    port: 8888

Required settings

The following sections are required in the raspberry_pi: section of your config:

ip:

Single value, type: string.

IP of your Raspberry Pi. MPF will connect to this IP. Hostname does not work here.

Optional settings

The following sections are optional in the raspberry_pi: section of your config. (If you don’t include them, the default will be used).

port:

Single value, type: integer. Default: 8888

Port of the pigpio daemon on your Raspberry Pi (in case you change it).