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).