暫無描述
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 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  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:work
  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: cpuspeed
  81. - platform: dht
  82. sensor: DHT22
  83. pin: 18
  84. monitored_conditions:
  85. - temperature
  86. - humidity
  87. - platform: fritzbox_callmonitor
  88. host: 192.168.2.1
  89. name: Phone
  90. username: homeassistant
  91. password: !secret fritz_password
  92. phonebook: 0
  93. prefixes:
  94. - '+49'
  95. binary_sensor:
  96. - platform: rpi_gpio
  97. ports:
  98. 14: pir
  99. - platform: mqtt
  100. name: 'Door'
  101. state_topic: '9B8785/binary_sensor/door/state'
  102. sensor_class: opening
  103. history_graph:
  104. temperature:
  105. name: Temperature
  106. entities:
  107. - sensor.dht_sensor_temperature
  108. hours_to_show: 12
  109. refresh: 60
  110. humidity:
  111. name: Humidity
  112. refresh: 60
  113. entities:
  114. - sensor.dht_sensor_humidity
  115. hours_to_show: 12
  116. octoprint:
  117. name: OctoPrint
  118. refresh: 1
  119. entities:
  120. - sensor.octoprint_actual_bed_temp
  121. - sensor.octoprint_actual_tool0_temp
  122. - sensor.octoprint_target_bed_temp
  123. - sensor.octoprint_target_tool0_temp
  124. hours_to_show: 1
  125. lock:
  126. - platform: template
  127. name: Schloss
  128. value_template: "{{ is_state('light.hdmi', 'on') }}"
  129. lock:
  130. service: light.turn_on
  131. data:
  132. entity_id: light.hdmi
  133. unlock:
  134. service: light.turn_off
  135. data:
  136. entity_id: light.hdmi
  137. light:
  138. - platform: flux_led
  139. devices:
  140. 192.168.1.185:
  141. name: Led Strip
  142. - platform: template
  143. lights:
  144. hdmi:
  145. friendly_name: "HDMI"
  146. turn_on:
  147. service: shell_command.turn_on_hdmi
  148. turn_off:
  149. service: shell_command.turn_off_hdmi
  150. room_light:
  151. friendly_name: "Room Light"
  152. turn_on:
  153. service: switch.turn_on
  154. entity_id: switch.lightrelay
  155. turn_off:
  156. service: switch.turn_off
  157. entity_id: switch.lightrelay
  158. - platform: mqtt_json
  159. name: "WS2812B Strip"
  160. state_topic: "bruh/porch"
  161. command_topic: "bruh/porch/set"
  162. effect: true
  163. effect_list:
  164. - bpm
  165. - candy cane
  166. - confetti
  167. - cyclon rainbow
  168. - dots
  169. - fire
  170. - glitter
  171. - juggle
  172. - lightning
  173. - noise
  174. - police all
  175. - police one
  176. - rainbow
  177. - rainbow with glitter
  178. - ripple
  179. - sinelon
  180. - solid
  181. - twinkle
  182. brightness: true
  183. flash: true
  184. rgb: true
  185. optimistic: false
  186. qos: 0
  187. switch:
  188. - platform: wake_on_lan
  189. name: Desktop
  190. mac_address: "4C-ED-FB-94-9D-24"
  191. host: 192.168.1.3
  192. turn_off:
  193. service: shell_command.turn_off_desktop
  194. - platform: rpi_rf
  195. gpio: 24
  196. switches:
  197. lightrelay:
  198. pulselength: 315
  199. code_on: 999915
  200. code_off: 999910
  201. anet:
  202. code_on: 17745
  203. code_off: 17748
  204. subwoofer:
  205. code_on: 20817
  206. code_off: 20820
  207. coverdirection:
  208. pulselength: 315
  209. code_on: 999925
  210. code_off: 999920
  211. coverenable:
  212. pulselength: 315
  213. code_on: 999935
  214. code_off: 999930
  215. media_player:
  216. - platform: spotify
  217. client_id: !secret spotify_client_id
  218. client_secret: !secret spotify_client_secret
  219. scan_interval: 10
  220. cover:
  221. - platform: template
  222. covers:
  223. blinds:
  224. friendly_name: "Rollladen"
  225. position_template: "50"
  226. open_cover:
  227. service: script.coverup
  228. close_cover:
  229. service: script.coverdown
  230. stop_cover:
  231. service: script.coverstop
  232. shell_command:
  233. turn_off_desktop: 'echo net rpc shutdown --ipaddress 192.168.1.3 --user Joshu%CYNTWyZkRBFik | ssh pi@192.168.1.2'
  234. turn_on_hdmi: 'echo vcgencmd display_power 1 | ssh pi@192.168.1.179'
  235. turn_off_hdmi: 'echo vcgencmd display_power 0 | ssh pi@192.168.1.179'
  236. api:
  237. alexa:
  238. smart_home:
  239. filter:
  240. exclude_domains:
  241. - automation
  242. - group
  243. exclude_entities:
  244. - sensor.octoprint_target_bed_temp
  245. - sensor.octoprint_target_tool0_temp
  246. - switch.coverdirection
  247. - switch.coverenable
  248. - switch.lightrelay
  249. http:
  250. api_password: !secret http_password
  251. base_url: https://home.rutschmann.tech
  252. server_port: 443
  253. ssl_profile: intermediate
  254. ssl_certificate: /config/ssl/fullchain.pem
  255. ssl_key: /config/ssl/privkey.pem
  256. ifttt:
  257. key: !secret webhooks_key
  258. sun:
  259. group: !include groups.yaml
  260. automation: !include automations.yaml
  261. script: !include scripts.yaml