Sin descripción
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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  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. ios:
  74. mqtt:
  75. password: Mindabew1
  76. sensor:
  77. - platform: pi_hole
  78. host: 192.168.1.3
  79. monitored_conditions:
  80. - ads_blocked_today
  81. - dns_queries_today
  82. - unique_clients
  83. - unique_domains
  84. - platform: command_line
  85. name: CPU Temperature
  86. command: "cat /sys/class/thermal/thermal_zone0/temp"
  87. # If errors occur, remove degree symbol below
  88. unit_of_measurement: "°C"
  89. value_template: '{{ value | multiply(0.001) | round(1) }}'
  90. - platform: netdata
  91. host: 5.45.105.15
  92. resources:
  93. load:
  94. data_group: system.load
  95. element: load15
  96. cpu:
  97. data_group: system.cpu
  98. element: system
  99. - platform: dht
  100. sensor: DHT22
  101. pin: 18
  102. monitored_conditions:
  103. - temperature
  104. - humidity
  105. - platform: fritzbox_callmonitor
  106. host: 192.168.1.1
  107. name: Phone
  108. username: homeassistant
  109. password: !secret fritz_password
  110. phonebook: 0
  111. prefixes:
  112. - '+49'
  113. - platform: mqtt
  114. state_topic: "bruh/sensordht"
  115. name: "SN1 Humidity"
  116. unit_of_measurement: "%"
  117. value_template: '{{ value_json.humidity | round(1) }}'
  118. - platform: mqtt
  119. state_topic: "bruh/sensordht"
  120. name: "SN1 Temperature"
  121. unit_of_measurement: "°F"
  122. value_template: '{{ value_json.temperature | round(1) }}'
  123. - platform: mqtt
  124. state_topic: "bruh/sensordht"
  125. name: "SN1 Real Feel"
  126. unit_of_measurement: "°F"
  127. value_template: '{{ value_json.heatIndex | round(1) }}'
  128. binary_sensor:
  129. - platform: rpi_gpio
  130. ports:
  131. 14: pir
  132. - platform: mqtt
  133. name: 'Door'
  134. state_topic: '9B8785/binary_sensor/door/state'
  135. history_graph:
  136. temperature:
  137. name: Temperature
  138. entities:
  139. - sensor.dht_sensor_temperature
  140. hours_to_show: 12
  141. refresh: 60
  142. humidity:
  143. name: Humidity
  144. refresh: 60
  145. entities:
  146. - sensor.dht_sensor_humidity
  147. hours_to_show: 12
  148. pihole:
  149. name: Queries over the last 24 hours
  150. refresh: 60
  151. entities:
  152. - sensor.pi_hole_ads_blocked_today
  153. - sensor.pi_hole_dns_queries_today
  154. hours_to_show: 24
  155. octoprint:
  156. name: OctoPrint
  157. refresh: 1
  158. entities:
  159. - sensor.octoprint_actual_bed_temp
  160. - sensor.octoprint_actual_tool0_temp
  161. - sensor.octoprint_target_bed_temp
  162. - sensor.octoprint_target_tool0_temp
  163. hours_to_show: 1
  164. lock:
  165. - platform: template
  166. name: Schloss
  167. value_template: "{{ is_state('light.hdmi', 'on') }}"
  168. lock:
  169. service: light.turn_on
  170. data:
  171. entity_id: light.hdmi
  172. unlock:
  173. service: light.turn_off
  174. data:
  175. entity_id: light.hdmi
  176. light:
  177. - platform: flux_led
  178. devices:
  179. 192.168.1.105:
  180. name: Led Strip
  181. 192.168.1.123:
  182. name: Led Strip Bed
  183. - platform: group
  184. name: LED Strips
  185. entities:
  186. - light.led_strip
  187. - light.led_strip_bed
  188. - platform: template
  189. lights:
  190. hdmi:
  191. friendly_name: "HDMI"
  192. turn_on:
  193. service: shell_command.turn_on_hdmi
  194. turn_off:
  195. service: shell_command.turn_off_hdmi
  196. room_light:
  197. friendly_name: "Room Light"
  198. turn_on:
  199. service: switch.turn_on
  200. entity_id: switch.lightrelay
  201. turn_off:
  202. service: switch.turn_off
  203. entity_id: switch.lightrelay
  204. - platform: mqtt
  205. name: "WS2812B Strip"
  206. state_topic: "bruh/porch"
  207. command_topic: "bruh/porch/set"
  208. effect_list:
  209. - bpm
  210. - candy cane
  211. - confetti
  212. - cyclon rainbow
  213. - dots
  214. - fire
  215. - glitter
  216. - juggle
  217. - lightning
  218. - noise
  219. - police all
  220. - police one
  221. - rainbow
  222. - rainbow with glitter
  223. - ripple
  224. - sinelon
  225. - solid
  226. - twinkle
  227. optimistic: false
  228. qos: 0
  229. switch:
  230. - platform: wake_on_lan
  231. name: Desktop
  232. mac_address: "4C-ED-FB-94-9D-24"
  233. host: 192.168.1.10
  234. turn_off:
  235. service: shell_command.turn_off_desktop
  236. - platform: mqtt
  237. name: "Bedroom Switch"
  238. state_topic: "bruh/wifirelay"
  239. command_topic: "bruh/wifirelay/set"
  240. payload_on: "ON"
  241. payload_off: "OFF"
  242. state_on: "ON"
  243. state_off: "OFF"
  244. optimistic: true
  245. qos: 0
  246. - platform: rpi_rf
  247. gpio: 24
  248. switches:
  249. lightrelay:
  250. pulselength: 315
  251. code_on: 999915
  252. code_off: 999910
  253. anet:
  254. code_on: 17745
  255. code_off: 17748
  256. subwoofer:
  257. code_on: 20817
  258. code_off: 20820
  259. coverdirection:
  260. pulselength: 315
  261. code_on: 999925
  262. code_off: 999920
  263. coverenable:
  264. pulselength: 315
  265. code_on: 999935
  266. code_off: 999930
  267. media_player:
  268. - platform: spotify
  269. client_id: !secret spotify_client_id
  270. client_secret: !secret spotify_client_secret
  271. scan_interval: 10
  272. cover:
  273. - platform: template
  274. covers:
  275. blinds:
  276. friendly_name: "Rollladen"
  277. position_template: "50"
  278. open_cover:
  279. service: script.coverup
  280. close_cover:
  281. service: script.coverdown
  282. stop_cover:
  283. service: script.coverstop
  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. api_password: !secret http_password
  303. base_url: http://localhost:8123
  304. #base_url: https://home.rutschmann.tech
  305. #ssl_profile: intermediate
  306. #ssl_certificate: /config/ssl/fullchain.pem
  307. #ssl_key: /config/ssl/privkey.pem
  308. ifttt:
  309. key: !secret webhooks_key
  310. sun:
  311. group: !include groups.yaml
  312. automation: !include automations.yaml
  313. script: !include scripts.yaml