Brak opisu
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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334
  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. # Enables configuration UI
  27. config:
  28. image_processing:
  29. - platform: tensorflow
  30. source:
  31. - entity_id: camera.webcam
  32. model:
  33. graph: /config/tensorflow/frozen_inference_graph.pb
  34. emulated_hue:
  35. octoprint:
  36. host: 192.168.1.126
  37. port: 5000
  38. api_key: 4C627EC30E884B1D9B65A7058FC67925
  39. weather:
  40. - platform: openweathermap
  41. name: Weather
  42. api_key: a4ed09bb6876088218126eb856cc06b5
  43. map:
  44. ffmpeg:
  45. ffmpeg_bin: /usr/bin/ffmpeg
  46. camera:
  47. - platform: ffmpeg
  48. ffmpeg_bin: /usr/bin/ffmpeg
  49. name: Webcam
  50. input: -i /dev/video0
  51. extra_arguments: -f video4linux2
  52. homekit:
  53. filter:
  54. exclude_domains:
  55. - script
  56. - automation
  57. exclude_entities:
  58. - switch.coverdirection
  59. - switch.coverenable
  60. - switch.lightrelay
  61. logbook:
  62. history:
  63. input_number:
  64. porch_animation_speed:
  65. name: LED Strip Animation Speed
  66. initial: 150
  67. min: 1
  68. max: 150
  69. step: 10
  70. device_tracker:
  71. - platform: fritz
  72. host: 192.168.1.1
  73. new_device_defaults:
  74. track_new_devices: False
  75. hide_if_away: False
  76. ios:
  77. mqtt:
  78. password: Mindabew1
  79. sensor:
  80. - platform: netdata
  81. host: 5.45.105.15
  82. resources:
  83. load:
  84. data_group: system.load
  85. element: load15
  86. cpu:
  87. data_group: system.cpu
  88. element: system
  89. - platform: dht
  90. sensor: DHT22
  91. pin: 18
  92. monitored_conditions:
  93. - temperature
  94. - humidity
  95. - platform: fritzbox_callmonitor
  96. host: 192.168.1.1
  97. name: Phone
  98. username: homeassistant
  99. password: !secret fritz_password
  100. phonebook: 0
  101. prefixes:
  102. - '+49'
  103. - platform: mqtt
  104. state_topic: "bruh/sensordht"
  105. name: "SN1 Humidity"
  106. unit_of_measurement: "%"
  107. value_template: '{{ value_json.humidity | round(1) }}'
  108. - platform: mqtt
  109. state_topic: "bruh/sensordht"
  110. name: "SN1 Temperature"
  111. unit_of_measurement: "°F"
  112. value_template: '{{ value_json.temperature | round(1) }}'
  113. - platform: mqtt
  114. state_topic: "bruh/sensordht"
  115. name: "SN1 Real Feel"
  116. unit_of_measurement: "°F"
  117. value_template: '{{ value_json.heatIndex | round(1) }}'
  118. binary_sensor:
  119. - platform: rpi_gpio
  120. ports:
  121. 14: pir
  122. - platform: mqtt
  123. name: 'Door'
  124. state_topic: '9B8785/binary_sensor/door/state'
  125. sensor_class: opening
  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: true
  193. effect_list:
  194. - bpm
  195. - candy cane
  196. - confetti
  197. - cyclon rainbow
  198. - dots
  199. - fire
  200. - glitter
  201. - juggle
  202. - lightning
  203. - noise
  204. - police all
  205. - police one
  206. - rainbow
  207. - rainbow with glitter
  208. - ripple
  209. - sinelon
  210. - solid
  211. - twinkle
  212. brightness: true
  213. flash: true
  214. rgb: true
  215. optimistic: false
  216. qos: 0
  217. switch:
  218. - platform: wake_on_lan
  219. name: Desktop
  220. mac_address: "4C-ED-FB-94-9D-24"
  221. host: 192.168.1.10
  222. turn_off:
  223. service: shell_command.turn_off_desktop
  224. - platform: mqtt
  225. name: "Bedroom Switch"
  226. state_topic: "bruh/wifirelay"
  227. command_topic: "bruh/wifirelay/set"
  228. payload_on: "ON"
  229. payload_off: "OFF"
  230. state_on: "ON"
  231. state_off: "OFF"
  232. optimistic: true
  233. qos: 0
  234. - platform: rpi_rf
  235. gpio: 24
  236. switches:
  237. lightrelay:
  238. pulselength: 315
  239. code_on: 999915
  240. code_off: 999910
  241. anet:
  242. code_on: 17745
  243. code_off: 17748
  244. subwoofer:
  245. code_on: 20817
  246. code_off: 20820
  247. coverdirection:
  248. pulselength: 315
  249. code_on: 999925
  250. code_off: 999920
  251. coverenable:
  252. pulselength: 315
  253. code_on: 999935
  254. code_off: 999930
  255. media_player:
  256. - platform: spotify
  257. client_id: !secret spotify_client_id
  258. client_secret: !secret spotify_client_secret
  259. scan_interval: 10
  260. cover:
  261. - platform: template
  262. covers:
  263. blinds:
  264. friendly_name: "Rollladen"
  265. position_template: "50"
  266. open_cover:
  267. service: script.coverup
  268. close_cover:
  269. service: script.coverdown
  270. stop_cover:
  271. service: script.coverstop
  272. shell_command:
  273. turn_off_desktop: 'echo net rpc shutdown --ipaddress 192.168.1.10 --user Joshu%CYNTWyZkRBFik | ssh pi@192.168.1.2'
  274. turn_on_hdmi: 'echo vcgencmd display_power 1 | ssh pi@192.168.1.4'
  275. turn_off_hdmi: 'echo vcgencmd display_power 0 | ssh pi@192.168.1.4'
  276. api:
  277. alexa:
  278. smart_home:
  279. filter:
  280. exclude_domains:
  281. - automation
  282. - group
  283. exclude_entities:
  284. - sensor.octoprint_target_bed_temp
  285. - sensor.octoprint_target_tool0_temp
  286. - switch.coverdirection
  287. - switch.coverenable
  288. - switch.lightrelay
  289. http:
  290. api_password: !secret http_password
  291. base_url: http://localhost:8123
  292. #base_url: https://home.rutschmann.tech
  293. #server_port: 443
  294. #ssl_profile: intermediate
  295. #ssl_certificate: /config/ssl/fullchain.pem
  296. #ssl_key: /config/ssl/privkey.pem
  297. ifttt:
  298. key: !secret webhooks_key
  299. sun:
  300. group: !include groups.yaml
  301. automation: !include automations.yaml
  302. script: !include scripts.yaml