Created
March 11, 2020 18:00
-
-
Save pinguinpfleger/cdfefa23ad1e3bf3a2462e0f5d0198bb to your computer and use it in GitHub Desktop.
Octoprint LED Steuerung .octoprint/config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
controls: | |
- name: LED | |
layout: horizontal | |
children: | |
- name: LED an | |
commands: | |
- M42 P4 S%(lumi)s | |
- M42 P5 S%(lumi)s | |
- M42 P6 S%(lumi)s | |
input: | |
- name: Helligkeit (0-255) | |
parameter: lumi | |
default: 255 | |
slider: | |
min: 0 | |
max: 255 | |
- name: LED aus | |
commands: | |
- M42 P4 S0 | |
- M42 P5 S0 | |
- M42 P6 S0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doku: http://docs.octoprint.org/en/master/features/custom_controls.html