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 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. api_key: a4ed09bb6876088218126eb856cc06b5
  27. map:
  28. homekit:
  29. filter:
  30. exclude_domains:
  31. - script
  32. - automation
  33. exclude_entities:
  34. - switch.coverdirection
  35. - switch.coverenable
  36. - switch.lightrelay
  37. logbook:
  38. history:
  39. device_tracker:
  40. - platform: luci
  41. host: 192.168.1.1
  42. username: !secret luci_username
  43. password: !secret luci_password
  44. ios:
  45. sensor:
  46. - platform: dht
  47. sensor: DHT22
  48. pin: 18
  49. monitored_conditions:
  50. - temperature
  51. - humidity
  52. - platform: fritzbox_callmonitor
  53. name: Phone
  54. username: homeassistant
  55. password: !secret fritz_password
  56. phonebook: 0
  57. prefixes:
  58. - '+49'
  59. binary_sensor:
  60. - platform: rpi_gpio
  61. ports:
  62. 14: pir
  63. history_graph:
  64. temperature:
  65. name: Temperature
  66. entities:
  67. - sensor.dht_sensor_temperature
  68. hours_to_show: 240
  69. refresh: 60
  70. humidity:
  71. name: Humidity
  72. entities:
  73. - sensor.dht_sensor_humidity
  74. hours_to_show: 120
  75. light:
  76. - platform: flux_led
  77. devices:
  78. 192.168.1.185:
  79. name: Led Strip
  80. - platform: template
  81. lights:
  82. room_light:
  83. friendly_name: "Room Light"
  84. turn_on:
  85. service: switch.turn_on
  86. entity_id: switch.lightrelay
  87. turn_off:
  88. service: switch.turn_off
  89. entity_id: switch.lightrelay
  90. switch:
  91. - platform: wake_on_lan
  92. name: Desktop
  93. mac_address: "4C-ED-FB-94-9D-24"
  94. host: 192.168.1.3
  95. turn_off:
  96. service: shell_command.turn_off_desktop
  97. - platform: rpi_rf
  98. gpio: 24
  99. switches:
  100. lightrelay:
  101. pulselength: 315
  102. code_on: 999915
  103. code_off: 999910
  104. anet:
  105. code_on: 17745
  106. code_off: 17748
  107. subwoofer:
  108. code_on: 20817
  109. code_off: 20820
  110. coverdirection:
  111. pulselength: 315
  112. code_on: 999925
  113. code_off: 999920
  114. coverenable:
  115. pulselength: 315
  116. code_on: 999935
  117. code_off: 999930
  118. media_player:
  119. - platform: spotify
  120. client_id: !secret spotify_client_id
  121. client_secret: !secret spotify_client_secret
  122. scan_interval: 10
  123. cover:
  124. - platform: template
  125. covers:
  126. blinds:
  127. friendly_name: "Rollladen"
  128. position_template: "50"
  129. open_cover:
  130. service: script.coverup
  131. close_cover:
  132. service: script.coverdown
  133. stop_cover:
  134. service: script.coverstop
  135. set_cover_tilt_position:
  136. service: script.coverposition
  137. data_template:
  138. delay: '{{position}}'
  139. shell_command:
  140. turn_off_desktop: 'net rpc shutdown --ipaddress 192.168.1.3 --user Joshu%CYNTWyZkRBFik'
  141. http:
  142. # Secrets are defined in the file secrets.yaml
  143. #api_password: !secret http_password
  144. #base_url: https://home.rutschmann.tech
  145. api_password: !secret http_password
  146. base_url: http://localhost:8123
  147. #trusted_networks:
  148. # - 127.0.0.1
  149. ifttt:
  150. key: !secret webhooks_key
  151. sun:
  152. group: !include groups.yaml
  153. automation: !include automations.yaml
  154. script: !include scripts.yaml