Coil player
The coil player is a config player that's used pulse, enable, or disable coils and drivers.
This is an example:
coil_player:
some_event: coil_1
some_other_event:
coil_2:
action: enable
hold_power: .5
In the example above, when the event called some_event
is posted,
coil_1 will pulse. When the event some_other_event
is posted, coil_2
will enable (be held on) at power level 0.5 (means 50% of maximum
power).
Note that the some_event: coil_1
is entered in a different way than
the some_other_event:
. The first one has a simple key/value pair,
whereas the second has a complete nested sub-configuration.
The first example shows the "express" config, while the second shows the full config. (What's an "express config?" Details here.
The coil player's express config is the "pulse" action.
Example coil player from a show:
##! show: test
- time: 0
coils:
coil1: pulse
Usage in config files
In config files, the coil player is used via the coil_player:
section.
Usage in shows
In shows, the coil player is used via the coils:
section of a step.
Config Options
See coil_player: for config details.
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