Guest User

Home Assistant Config

a guest
May 23rd, 2026
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.76 KB | None | 0 0
  1. # Automatisierungen fürs Growtent
  2. # Link zum Post: https://community.seedsupplier.de/d/1799-automatisierungen
  3.  
  4. alias: "Pflanzen: Wind und Pause"
  5. description: ""
  6. triggers:
  7.   - trigger: time_pattern
  8.     hours: "*"
  9.     minutes: /30
  10.     seconds: "0"
  11. conditions:
  12.   - condition: not
  13.     conditions:
  14.       - condition: state
  15.         entity_id: input_select.pflanzen_licht_typ
  16.         state:
  17.          - Keinen
  18. actions:
  19.   - type: turn_on
  20.     entity_id: xxx # Schaltsteckdose "Umluft"
  21.     domain: switch
  22.   - delay:
  23.       hours: 0
  24.       minutes: 5
  25.       seconds: 0
  26.       milliseconds: 0
  27.   - type: turn_off
  28.     entity_id: xxx # Schaltsteckdose "Umluft"
  29.     domain: switch
  30. mode: single
  31.  
  32. ##################################
  33. ##################################
  34. ##################################
  35.  
  36. alias: "Pflanzen: täglich einen Screenshot"
  37. description: ""
  38. triggers:
  39.   - trigger: time
  40.     at: "11:45:00"
  41. actions:
  42.   - action: shell_command.download_growbox_image
  43.     data: {}
  44. mode: single
  45.  
  46. # Und als Shell-Command in der config.yml
  47.  
  48. shell_command:
  49.   download_growbox_image: "curl -L -o /media/snapshots/tent_$(date +%Y%m%d).jpg 'http://user:[email protected]/ISAPI/Streaming/channels/101/picture'"
  50.  
  51. ##################################
  52. ##################################
  53. ##################################
  54.  
  55. # Die Automation für das Licht in mehreren Variationen
  56. # Welche: -> siehe Post
  57. alias: "Pflanzen 20/4: abends Licht aus"
  58. description: ""
  59. triggers:
  60.   - trigger: time
  61.     at: "22:00:00" # <-- anpassen
  62. conditions:
  63.   - condition: state
  64.     entity_id: input_select.pflanzen_licht_typ
  65.     state:
  66.      - 20/4       # <-- anpassen
  67. actions:
  68.   - type: turn_off # <-- anpassen
  69.     entity_id: yyy # Schaltstackdose "Licht"
  70.     domain: switch
  71. mode: single
  72.  
Advertisement
Add Comment
Please, Sign In to add comment