説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

configuration.yaml 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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. # Enables configuration UI
  23. config:
  24. weather:
  25. - platform: openweathermap
  26. name: Weather
  27. api_key: a4ed09bb6876088218126eb856cc06b5
  28. map:
  29. camera:
  30. - platform: local_file
  31. name: Webcam
  32. file_path: /var/lib/motion/lastsnap.jpg
  33. homekit:
  34. filter:
  35. exclude_domains:
  36. - script
  37. - automation
  38. exclude_entities:
  39. - switch.coverdirection
  40. - switch.coverenable
  41. - switch.lightrelay
  42. logbook:
  43. history:
  44. device_tracker:
  45. - platform: fritz
  46. new_device_defaults:
  47. track_new_devices: False
  48. hide_if_away: False
  49. - platform: luci
  50. host: 192.168.1.1
  51. username: !secret luci_username
  52. password: !secret luci_password
  53. new_device_defaults:
  54. track_new_devices: False
  55. hide_if_away: False
  56. ios:
  57. mqtt:
  58. password: Mindabew1
  59. sensor:
  60. - platform: dht
  61. sensor: DHT22
  62. pin: 18
  63. monitored_conditions:
  64. - temperature
  65. - humidity
  66. - platform: fritzbox_callmonitor
  67. name: Phone
  68. username: homeassistant
  69. password: !secret fritz_password
  70. phonebook: 0
  71. prefixes:
  72. - '+49'
  73. binary_sensor:
  74. - platform: rpi_gpio
  75. ports:
  76. 14: pir
  77. - platform: mqtt
  78. name: 'Door'
  79. state_topic: '9B8785/binary_sensor/door/state'
  80. sensor_class: opening
  81. history_graph:
  82. temperature:
  83. name: Temperature
  84. entities:
  85. - sensor.dht_sensor_temperature
  86. hours_to_show: 12
  87. refresh: 60
  88. humidity:
  89. name: Humidity
  90. entities:
  91. - sensor.dht_sensor_humidity
  92. hours_to_show: 12
  93. lock:
  94. - platform: template
  95. name: Schloss
  96. value_template: "{{ is_state('light.hdmi', 'on') }}"
  97. lock:
  98. service: light.turn_on
  99. data:
  100. entity_id: light.hdmi
  101. unlock:
  102. service: light.turn_off
  103. data:
  104. entity_id: light.hdmi
  105. light:
  106. - platform: flux_led
  107. devices:
  108. 192.168.1.185:
  109. name: Led Strip
  110. - platform: template
  111. lights:
  112. hdmi:
  113. friendly_name: "HDMI"
  114. turn_on:
  115. service: shell_command.turn_on_hdmi
  116. turn_off:
  117. service: shell_command.turn_off_hdmi
  118. room_light:
  119. friendly_name: "Room Light"
  120. turn_on:
  121. service: switch.turn_on
  122. entity_id: switch.lightrelay
  123. turn_off:
  124. service: switch.turn_off
  125. entity_id: switch.lightrelay
  126. switch:
  127. - platform: wake_on_lan
  128. name: Desktop
  129. mac_address: "4C-ED-FB-94-9D-24"
  130. host: 192.168.1.3
  131. turn_off:
  132. service: shell_command.turn_off_desktop
  133. - platform: rpi_rf
  134. gpio: 24
  135. switches:
  136. lightrelay:
  137. pulselength: 315
  138. code_on: 999915
  139. code_off: 999910
  140. anet:
  141. code_on: 17745
  142. code_off: 17748
  143. subwoofer:
  144. code_on: 20817
  145. code_off: 20820
  146. coverdirection:
  147. pulselength: 315
  148. code_on: 999925
  149. code_off: 999920
  150. coverenable:
  151. pulselength: 315
  152. code_on: 999935
  153. code_off: 999930
  154. media_player:
  155. - platform: spotify
  156. client_id: !secret spotify_client_id
  157. client_secret: !secret spotify_client_secret
  158. scan_interval: 10
  159. cover:
  160. - platform: template
  161. covers:
  162. blinds:
  163. friendly_name: "Rollladen"
  164. position_template: "50"
  165. open_cover:
  166. service: script.coverup
  167. close_cover:
  168. service: script.coverdown
  169. stop_cover:
  170. service: script.coverstop
  171. shell_command:
  172. turn_off_desktop: 'echo net rpc shutdown --ipaddress 192.168.1.3 --user Joshu%CYNTWyZkRBFik | ssh pi@192.168.1.2'
  173. turn_on_hdmi: 'echo vcgencmd display_power 1 | ssh pi@192.168.1.179'
  174. turn_off_hdmi: 'echo vcgencmd display_power 0 | ssh pi@192.168.1.179'
  175. api:
  176. alexa:
  177. smart_home:
  178. filter:
  179. exclude_domains:
  180. - automation
  181. - group
  182. exclude_entities:
  183. - switch.coverdirection
  184. - switch.coverenable
  185. - switch.lightrelay
  186. http:
  187. api_password: !secret http_password
  188. base_url: https://home.rutschmann.tech
  189. ifttt:
  190. key: !secret webhooks_key
  191. sun:
  192. group: !include groups.yaml
  193. automation: !include automations.yaml
  194. script: !include scripts.yaml