Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configuration.yaml 7.3KB

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