Created
March 11, 2020 18:52
-
-
Save pinguinpfleger/cfb729f0061d4aded3e5e7b1fe94d766 to your computer and use it in GitHub Desktop.
Octoprint Shelly Plugs 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
system: | |
actions: | |
- action: x1_on | |
command: /usr/bin/curl -so /dev/null "http://192.168.123.90/relay/0?turn=on" | |
name: Sidewinder X1 einschalten | |
- action: x1_off | |
async: true | |
command: /usr/bin/curl -so /dev/null "http://192.168.123.90/relay/0?turn=off" | |
confirm: Sidewinder X1 ausschalten? | |
name: Sidewinder X1 ausschalten | |
- action: divider | |
- action: light_on | |
async: true | |
command: /usr/bin/curl -so /dev/null "http://192.168.123.91/relay/0?turn=on" | |
name: Licht einschalten | |
- action: light_off | |
async: true | |
command: /usr/bin/curl -so /dev/null "http://192.168.123.91/relay/0?turn=off" | |
name: Licht ausschalten | |
events: | |
subscriptions: | |
- event: | |
- Startup | |
- Connecting | |
command: /usr/bin/curl -so /dev/null "http://192.168.123.90/relay/0?turn=on" | |
type: system | |
- event: PrintStarted | |
command: /usr/bin/curl -so /dev/null "http://192.168.123.90/relay/0?turn=on" | |
type: system | |
enabled: False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
3D Drucker und Licht Schalter im Power Menü von Octroprint
Startet Octoprint oder die Verbindung zum Drucker soll hergestellt werden wird der Drucker eingeschaltet.
bei - event: PrintStarted könnte das auch Sinn machen, ist hier aber mit enabled: False deaktiviert