Ei kuvausta
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.0KB

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