Açıklama Yok
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 6.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  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. octoprint:
  29. host: 192.168.1.163
  30. port: 5000
  31. api_key: 4C627EC30E884B1D9B65A7058FC67925
  32. weather:
  33. - platform: openweathermap
  34. name: Weather
  35. api_key: a4ed09bb6876088218126eb856cc06b5
  36. map:
  37. ffmpeg:
  38. ffmpeg_bin: /usr/bin/ffmpeg
  39. camera:
  40. - platform: ffmpeg
  41. ffmpeg_bin: /usr/bin/ffmpeg
  42. name: Webcam
  43. input: -i /dev/video0
  44. extra_arguments: -f video4linux2
  45. homekit:
  46. filter:
  47. exclude_domains:
  48. - script
  49. - automation
  50. exclude_entities:
  51. - switch.coverdirection
  52. - switch.coverenable
  53. - switch.lightrelay
  54. logbook:
  55. history:
  56. input_number:
  57. porch_animation_speed:
  58. name: LED Strip Animation Speed
  59. initial: 150
  60. min: 1
  61. max: 150
  62. step: 10
  63. device_tracker:
  64. - platform: fritz
  65. host: 192.168.2.1
  66. new_device_defaults:
  67. track_new_devices: False
  68. hide_if_away: False
  69. - platform: luci
  70. host: 192.168.1.1
  71. username: !secret luci_username
  72. password: !secret luci_password
  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.2.1
  97. name: Phone
  98. username: homeassistant
  99. password: !secret fritz_password
  100. phonebook: 0
  101. prefixes:
  102. - '+49'
  103. binary_sensor:
  104. - platform: rpi_gpio
  105. ports:
  106. 14: pir
  107. - platform: mqtt
  108. name: 'Door'
  109. state_topic: '9B8785/binary_sensor/door/state'
  110. sensor_class: opening
  111. history_graph:
  112. temperature:
  113. name: Temperature
  114. entities:
  115. - sensor.dht_sensor_temperature
  116. hours_to_show: 12
  117. refresh: 60
  118. humidity:
  119. name: Humidity
  120. refresh: 60
  121. entities:
  122. - sensor.dht_sensor_humidity
  123. hours_to_show: 12
  124. octoprint:
  125. name: OctoPrint
  126. refresh: 1
  127. entities:
  128. - sensor.octoprint_actual_bed_temp
  129. - sensor.octoprint_actual_tool0_temp
  130. - sensor.octoprint_target_bed_temp
  131. - sensor.octoprint_target_tool0_temp
  132. hours_to_show: 1
  133. lock:
  134. - platform: template
  135. name: Schloss
  136. value_template: "{{ is_state('light.hdmi', 'on') }}"
  137. lock:
  138. service: light.turn_on
  139. data:
  140. entity_id: light.hdmi
  141. unlock:
  142. service: light.turn_off
  143. data:
  144. entity_id: light.hdmi
  145. light:
  146. - platform: flux_led
  147. devices:
  148. 192.168.1.185:
  149. name: Led Strip
  150. 192.168.1.131:
  151. name: Led Strip Bed
  152. - platform: template
  153. lights:
  154. hdmi:
  155. friendly_name: "HDMI"
  156. turn_on:
  157. service: shell_command.turn_on_hdmi
  158. turn_off:
  159. service: shell_command.turn_off_hdmi
  160. room_light:
  161. friendly_name: "Room Light"
  162. turn_on:
  163. service: switch.turn_on
  164. entity_id: switch.lightrelay
  165. turn_off:
  166. service: switch.turn_off
  167. entity_id: switch.lightrelay
  168. - platform: mqtt_json
  169. name: "WS2812B Strip"
  170. state_topic: "bruh/porch"
  171. command_topic: "bruh/porch/set"
  172. effect: true
  173. effect_list:
  174. - bpm
  175. - candy cane
  176. - confetti
  177. - cyclon rainbow
  178. - dots
  179. - fire
  180. - glitter
  181. - juggle
  182. - lightning
  183. - noise
  184. - police all
  185. - police one
  186. - rainbow
  187. - rainbow with glitter
  188. - ripple
  189. - sinelon
  190. - solid
  191. - twinkle
  192. brightness: true
  193. flash: true
  194. rgb: true
  195. optimistic: false
  196. qos: 0
  197. switch:
  198. - platform: wake_on_lan
  199. name: Desktop
  200. mac_address: "4C-ED-FB-94-9D-24"
  201. host: 192.168.1.3
  202. turn_off:
  203. service: shell_command.turn_off_desktop
  204. - platform: rpi_rf
  205. gpio: 24
  206. switches:
  207. lightrelay:
  208. pulselength: 315
  209. code_on: 999915
  210. code_off: 999910
  211. anet:
  212. code_on: 17745
  213. code_off: 17748
  214. subwoofer:
  215. code_on: 20817
  216. code_off: 20820
  217. coverdirection:
  218. pulselength: 315
  219. code_on: 999925
  220. code_off: 999920
  221. coverenable:
  222. pulselength: 315
  223. code_on: 999935
  224. code_off: 999930
  225. media_player:
  226. - platform: spotify
  227. client_id: !secret spotify_client_id
  228. client_secret: !secret spotify_client_secret
  229. scan_interval: 10
  230. cover:
  231. - platform: template
  232. covers:
  233. blinds:
  234. friendly_name: "Rollladen"
  235. position_template: "50"
  236. open_cover:
  237. service: script.coverup
  238. close_cover:
  239. service: script.coverdown
  240. stop_cover:
  241. service: script.coverstop
  242. shell_command:
  243. turn_off_desktop: 'echo net rpc shutdown --ipaddress 192.168.1.3 --user Joshu%CYNTWyZkRBFik | ssh pi@192.168.1.2'
  244. turn_on_hdmi: 'echo vcgencmd display_power 1 | ssh pi@192.168.1.179'
  245. turn_off_hdmi: 'echo vcgencmd display_power 0 | ssh pi@192.168.1.179'
  246. api:
  247. alexa:
  248. smart_home:
  249. filter:
  250. exclude_domains:
  251. - automation
  252. - group
  253. exclude_entities:
  254. - sensor.octoprint_target_bed_temp
  255. - sensor.octoprint_target_tool0_temp
  256. - switch.coverdirection
  257. - switch.coverenable
  258. - switch.lightrelay
  259. http:
  260. api_password: !secret http_password
  261. base_url: https://home.rutschmann.tech
  262. server_port: 443
  263. ssl_profile: intermediate
  264. ssl_certificate: /config/ssl/fullchain.pem
  265. ssl_key: /config/ssl/privkey.pem
  266. ifttt:
  267. key: !secret webhooks_key
  268. sun:
  269. group: !include groups.yaml
  270. automation: !include automations.yaml
  271. script: !include scripts.yaml