lisy:
This is a config file reference. Click for instructions.
This page is reference material which explains every setting and option for this section of an MPF yaml config file. See the instructions for config files for formatting and other details. See our guide to config file examples for more examples of real configs in action.
Valid in | |
---|---|
machine config files | YES |
mode config files | NO |
The lisy:
section of your config is where your lisy platform. See
How to use MPF with the LISY platform for details.
Optional settings
The following sections are optional in the lisy:
section of your
config. (If you don't include them, the default will be used).
baud:
Single value, type: integer
. Defaults to empty.
Baudrate when connecting to LISY using a serial port.
connection:
Single value, type: one of the following options: network, serial.
Default: network
Whatever to use a network or serial connection.
console_log:
Single value, type: one of the following options: none, basic, full.
Default: none
Log level for the console log for this platform.
debug:
Single value, type: boolean
(true
/false
). Default: false
See the documentation on the debug setting for details.
disable_dtr:
Single value, type: boolean
(true
/false
). Default: true
If set to True
MPF will try to prevent your operating system from
toggling the DTR line of your serial. This is needed for
APC and some other
controllers which would reset when this happens. If in doubt check the
documentation of your controller.
display_flash_duty:
Single value, type: number
(will be converted to floating point).
Default: 0.5
Help us write it!
This section is unwritten or needs an update or edit. Can you help write it? Get your name in lights and geeky pinball bragging rights! Hit the magic sparkly wand to the right of the title to see this page source on GitHub. Then add/edit and submit your change. It's easy!
display_flash_frequency:
Single value, type: number
(will be converted to floating point).
Default: 1.0
How fast should the displays flash? Defaults to once per second or 1Hz.
file_log:
Single value, type: one of the following options: none, basic, full.
Default: basic
Log level for the file log for this platform.
max_led_batch_size:
Single value, type: integer
. Default: 12
How many LEDs can be batched on your controller? This might differ on different controllers. If in doubt check the documentation of your controller.
network_host:
Single value, type: string
. Defaults to empty.
Host to connect when connecting to LISY via network.
network_port:
Single value, type: integer
. Defaults to empty.
Port to connect when connecting to LISY via network.
poll_hz:
Single value, type: integer
. Default: 100
How fast should MPF poll LISY for switch changes? Defaults to 1000Hz
port:
Single value, type: string
. Defaults to empty.
Serial port when connecting to LISY using serial.
send_length_after_command:
Single value, type: boolean
(true
/false
). Default: false
Some controllers require an additional length byte after the command.
Related How To guides
Something missing or wrong? You can fix it!
This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?
Please help us! You can fix it yourself and be an official "open source" contributor!
It's easy! See our Beginner's guide to editing the docs.
Page navigation via the keyboard: < >
You can navigate this site via the keyboard. There are two modes:
General navigation, when search is not focused:
- F , S , / : open search dialog
- P , , : go to previous page
- N , . : go to next page
While using the search function:
- Down , Up : select next / previous result
- Esc , Tab : close search
- Enter : go to highlighted page in the results