Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Automatisierungen fürs Growtent
- # Link zum Post: https://community.seedsupplier.de/d/1799-automatisierungen
- alias: "Pflanzen: Wind und Pause"
- description: ""
- triggers:
- - trigger: time_pattern
- hours: "*"
- minutes: /30
- seconds: "0"
- conditions:
- - condition: not
- conditions:
- - condition: state
- entity_id: input_select.pflanzen_licht_typ
- state:
- - Keinen
- actions:
- - type: turn_on
- entity_id: xxx # Schaltsteckdose "Umluft"
- domain: switch
- - delay:
- hours: 0
- minutes: 5
- seconds: 0
- milliseconds: 0
- - type: turn_off
- entity_id: xxx # Schaltsteckdose "Umluft"
- domain: switch
- mode: single
- ##################################
- ##################################
- ##################################
- alias: "Pflanzen: täglich einen Screenshot"
- description: ""
- triggers:
- - trigger: time
- at: "11:45:00"
- actions:
- - action: shell_command.download_growbox_image
- data: {}
- mode: single
- # Und als Shell-Command in der config.yml
- shell_command:
- download_growbox_image: "curl -L -o /media/snapshots/tent_$(date +%Y%m%d).jpg 'http://user:[email protected]/ISAPI/Streaming/channels/101/picture'"
- ##################################
- ##################################
- ##################################
- # Die Automation für das Licht in mehreren Variationen
- # Welche: -> siehe Post
- alias: "Pflanzen 20/4: abends Licht aus"
- description: ""
- triggers:
- - trigger: time
- at: "22:00:00" # <-- anpassen
- conditions:
- - condition: state
- entity_id: input_select.pflanzen_licht_typ
- state:
- - 20/4 # <-- anpassen
- actions:
- - type: turn_off # <-- anpassen
- entity_id: yyy # Schaltstackdose "Licht"
- domain: switch
- mode: single
Advertisement
Add Comment
Please, Sign In to add comment