Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

configuration.yaml 6.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. homeassistant:
  2. name: Tannenhof
  3. latitude: 47.673915
  4. longitude: 9.198320
  5. elevation: 410
  6. unit_system: metric
  7. time_zone: Europe/Berlin
  8. customize: !include customize.yaml
  9. zone:
  10. - name: HTWG
  11. latitude: 47.6677028
  12. longitude: 9.1669044
  13. radius: 250
  14. icon: mdi:school
  15. - name: Work
  16. latitude: 47.6626744
  17. longitude: 9.1721211
  18. icon: mdi:briefcase
  19. # Enables the frontend
  20. frontend:
  21. themes: !include midnight.yaml
  22. #logger:
  23. # default: critical
  24. # logs:
  25. # homeassistant.components.http.ban: warning
  26. system_health:
  27. # Enables configuration UI
  28. config:
  29. #emulated_hue:
  30. octoprint:
  31. host: 192.168.1.126
  32. port: 5000
  33. bed: true
  34. number_of_tools: 1
  35. api_key: 4C627EC30E884B1D9B65A7058FC67925
  36. weather:
  37. - platform: openweathermap
  38. name: Weather
  39. api_key: a4ed09bb6876088218126eb856cc06b5
  40. map:
  41. ffmpeg:
  42. ffmpeg_bin: /usr/bin/ffmpeg
  43. camera:
  44. - platform: ffmpeg
  45. name: Webcam
  46. input: -i /dev/video0
  47. homekit:
  48. filter:
  49. exclude_domains:
  50. - script
  51. - automation
  52. exclude_entities:
  53. - switch.coverdirection
  54. - switch.coverenable
  55. - switch.lightrelay
  56. logbook:
  57. history:
  58. input_number:
  59. porch_animation_speed:
  60. name: LED Strip Animation Speed
  61. initial: 150
  62. min: 1
  63. max: 150
  64. step: 10
  65. device_tracker:
  66. - platform: fritz
  67. host: 192.168.1.1
  68. new_device_defaults:
  69. track_new_devices: False
  70. hide_if_away: False
  71. ios:
  72. mqtt:
  73. password: Mindabew1
  74. sensor:
  75. - platform: netdata
  76. host: 5.45.105.15
  77. resources:
  78. load:
  79. data_group: system.load
  80. element: load15
  81. cpu:
  82. data_group: system.cpu
  83. element: system
  84. - platform: dht
  85. sensor: DHT22
  86. pin: 18
  87. monitored_conditions:
  88. - temperature
  89. - humidity
  90. - platform: fritzbox_callmonitor
  91. host: 192.168.1.1
  92. name: Phone
  93. username: homeassistant
  94. password: !secret fritz_password
  95. phonebook: 0
  96. prefixes:
  97. - '+49'
  98. - platform: mqtt
  99. state_topic: "bruh/sensordht"
  100. name: "SN1 Humidity"
  101. unit_of_measurement: "%"
  102. value_template: '{{ value_json.humidity | round(1) }}'
  103. - platform: mqtt
  104. state_topic: "bruh/sensordht"
  105. name: "SN1 Temperature"
  106. unit_of_measurement: "°F"
  107. value_template: '{{ value_json.temperature | round(1) }}'
  108. - platform: mqtt
  109. state_topic: "bruh/sensordht"
  110. name: "SN1 Real Feel"
  111. unit_of_measurement: "°F"
  112. value_template: '{{ value_json.heatIndex | round(1) }}'
  113. binary_sensor:
  114. - platform: rpi_gpio
  115. ports:
  116. 14: pir
  117. - platform: mqtt
  118. name: 'Door'
  119. state_topic: '9B8785/binary_sensor/door/state'
  120. history_graph:
  121. temperature:
  122. name: Temperature
  123. entities:
  124. - sensor.dht_sensor_temperature
  125. hours_to_show: 12
  126. refresh: 60
  127. humidity:
  128. name: Humidity
  129. refresh: 60
  130. entities:
  131. - sensor.dht_sensor_humidity
  132. hours_to_show: 12
  133. octoprint:
  134. name: OctoPrint
  135. refresh: 1
  136. entities:
  137. - sensor.octoprint_actual_bed_temp
  138. - sensor.octoprint_actual_tool0_temp
  139. - sensor.octoprint_target_bed_temp
  140. - sensor.octoprint_target_tool0_temp
  141. hours_to_show: 1
  142. lock:
  143. - platform: template
  144. name: Schloss
  145. value_template: "{{ is_state('light.hdmi', 'on') }}"
  146. lock:
  147. service: light.turn_on
  148. data:
  149. entity_id: light.hdmi
  150. unlock:
  151. service: light.turn_off
  152. data:
  153. entity_id: light.hdmi
  154. light:
  155. - platform: flux_led
  156. devices:
  157. 192.168.1.105:
  158. name: Led Strip
  159. 192.168.1.123:
  160. name: Led Strip Bed
  161. - platform: group
  162. name: LED Strips
  163. entities:
  164. - light.led_strip
  165. - light.led_strip_bed
  166. - platform: template
  167. lights:
  168. hdmi:
  169. friendly_name: "HDMI"
  170. turn_on:
  171. service: shell_command.turn_on_hdmi
  172. turn_off:
  173. service: shell_command.turn_off_hdmi
  174. room_light:
  175. friendly_name: "Room Light"
  176. turn_on:
  177. service: switch.turn_on
  178. entity_id: switch.lightrelay
  179. turn_off:
  180. service: switch.turn_off
  181. entity_id: switch.lightrelay
  182. - platform: mqtt
  183. name: "WS2812B Strip"
  184. state_topic: "bruh/porch"
  185. command_topic: "bruh/porch/set"
  186. effect_list:
  187. - bpm
  188. - candy cane
  189. - confetti
  190. - cyclon rainbow
  191. - dots
  192. - fire
  193. - glitter
  194. - juggle
  195. - lightning
  196. - noise
  197. - police all
  198. - police one
  199. - rainbow
  200. - rainbow with glitter
  201. - ripple
  202. - sinelon
  203. - solid
  204. - twinkle
  205. optimistic: false
  206. qos: 0
  207. switch:
  208. - platform: wake_on_lan
  209. name: Desktop
  210. mac_address: "4C-ED-FB-94-9D-24"
  211. host: 192.168.1.10
  212. turn_off:
  213. service: shell_command.turn_off_desktop
  214. - platform: mqtt
  215. name: "Bedroom Switch"
  216. state_topic: "bruh/wifirelay"
  217. command_topic: "bruh/wifirelay/set"
  218. payload_on: "ON"
  219. payload_off: "OFF"
  220. state_on: "ON"
  221. state_off: "OFF"
  222. optimistic: true
  223. qos: 0
  224. - platform: rpi_rf
  225. gpio: 24
  226. switches:
  227. lightrelay:
  228. pulselength: 315
  229. code_on: 999915
  230. code_off: 999910
  231. anet:
  232. code_on: 17745
  233. code_off: 17748
  234. subwoofer:
  235. code_on: 20817
  236. code_off: 20820
  237. coverdirection:
  238. pulselength: 315
  239. code_on: 999925
  240. code_off: 999920
  241. coverenable:
  242. pulselength: 315
  243. code_on: 999935
  244. code_off: 999930
  245. media_player:
  246. - platform: spotify
  247. client_id: !secret spotify_client_id
  248. client_secret: !secret spotify_client_secret
  249. scan_interval: 10
  250. cover:
  251. - platform: template
  252. covers:
  253. blinds:
  254. friendly_name: "Rollladen"
  255. position_template: "50"
  256. open_cover:
  257. service: script.coverup
  258. close_cover:
  259. service: script.coverdown
  260. stop_cover:
  261. service: script.coverstop
  262. shell_command:
  263. turn_off_desktop: 'echo net rpc shutdown --ipaddress 192.168.1.10 --user Joshua%CYNTWyZkRBFik | ssh pi@192.168.1.3'
  264. turn_on_hdmi: 'echo vcgencmd display_power 1 | ssh pi@192.168.1.4'
  265. turn_off_hdmi: 'echo vcgencmd display_power 0 | ssh pi@192.168.1.4'
  266. api:
  267. alexa:
  268. smart_home:
  269. filter:
  270. exclude_domains:
  271. - automation
  272. - group
  273. exclude_entities:
  274. - sensor.octoprint_target_bed_temp
  275. - sensor.octoprint_target_tool0_temp
  276. - switch.coverdirection
  277. - switch.coverenable
  278. - switch.lightrelay
  279. http:
  280. api_password: !secret http_password
  281. base_url: http://localhost:8123
  282. #base_url: https://home.rutschmann.tech
  283. #server_port: 443
  284. #ssl_profile: intermediate
  285. #ssl_certificate: /config/ssl/fullchain.pem
  286. #ssl_key: /config/ssl/privkey.pem
  287. ifttt:
  288. key: !secret webhooks_key
  289. sun:
  290. group: !include groups.yaml
  291. automation: !include automations.yaml
  292. script: !include scripts.yaml