Advertisement
Guest User

Untitled

a guest
Apr 7th, 2019
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.62 KB | None | 0 0
  1. homeassistant:
  2. # Name of the location where Home Assistant is running
  3. name: Home
  4. # Location required to calculate the time the sun rises and sets
  5. latitude: 46.xxxx
  6. longitude: 6.yyyy
  7. # Impacts weather/sunrise data (altitude above sea level in meters)
  8. elevation: 650
  9. # metric for Metric, imperial for Imperial
  10. unit_system: metric
  11. # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  12. time_zone: Europe/Zurich
  13. # Customization file
  14. customize: !include customize.yaml
  15. # Package for LMS
  16. packages: !include_dir_named packages
  17.  
  18. # LMS integration
  19. recorder:
  20. exclude:
  21. domains:
  22. - script
  23. - automation
  24.  
  25. logger:
  26. default: critical
  27. ### Enable the logs below if you need to debug the application
  28. # logs:
  29. # homeassistant.components.shell_command: debug
  30. # homeassistant.components.intent_script: debug
  31. # homeassistant.components.dialogflow: debug
  32. homeassistant.components.media_player.squeezebox: debug
  33.  
  34. media_player:
  35. - platform: squeezebox
  36. host: 192.168.1.35:9000
  37. # username: USER
  38. # password: PASWD
  39.  
  40. dialogflow:
  41. intent_script:
  42.  
  43. # Show links to resources in log and frontend
  44. introduction:
  45.  
  46. # Enables the frontend
  47. frontend:
  48.  
  49. # Enables configuration UI
  50. config:
  51.  
  52. # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  53. http:
  54. base_url: https://XXXX.duckdns.org:8123
  55. ssl_certificate: /ssl/fullchain.pem
  56. ssl_key: /ssl/privkey.pem
  57.  
  58. # Text to speech
  59. tts:
  60. - platform: google
  61. language: 'fr'
  62. cache: true
  63. cache_dir: /tmp/tts
  64. time_memory: 300
  65. base_url: https://XXXX.duckdns.org:8123
  66.  
  67. # Cloud
  68. cloud:
  69.  
  70. # Sideboard shortcut
  71. panel_iframe:
  72. lms:
  73. title: lms
  74. icon: mdi:music-circle-outline
  75. url: https://XXXX.duckdns.org:9000/material
  76. octoprint:
  77. title: Octoprint
  78. icon: mdi:printer-3d
  79. url: https://XXXX.duckdns.org:5000
  80. pihole:
  81. title: PiHole
  82. icon: mdi:block-helper
  83. url: https://XXXX.duckdns.org:4865
  84. ide:
  85. title: IDE
  86. icon: mdi:code-braces
  87. url: https://XXXX.duckdns.org:8321
  88.  
  89. #Google assistant
  90. google_assistant:
  91. project_id: hassio-cb30b
  92. api_key: APIKEY
  93. exposed_domains:
  94. - switch
  95. - light
  96. - group
  97.  
  98. # Presence detection
  99. device_tracker:
  100. - platform: provider
  101. host: 192.168.1.1
  102. # username: admin
  103. # password: PSWD
  104. interval_seconds: 10
  105. consider_home: 100
  106. new_device_defaults:
  107. track_new_devices: true
  108. hide_if_away: false
  109.  
  110. # Checks for available updates
  111. # Note: This component will send some information about your system to
  112. # the developers to assist with development of Home Assistant.
  113. # For more information, please see:
  114. # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
  115. updater:
  116. # Optional, allows Home Assistant developers to focus on popular components.
  117. # include_used_components: true
  118.  
  119. # Discover some devices automatically
  120. discovery:
  121.  
  122. # Allows you to issue voice commands from the frontend in enabled browsers
  123. conversation:
  124.  
  125. # Enables support for tracking state changes over time
  126. history:
  127.  
  128. # View all events in a logbook
  129. logbook:
  130.  
  131. # Enables a map showing the location of tracked devices
  132. map:
  133.  
  134. # Track the sun
  135. sun:
  136.  
  137. # Harmony remote
  138. remote:
  139. - platform: harmony
  140. name: HarmonyHub
  141. host: 192.168.1.108
  142.  
  143. # Sensors
  144. sensor:
  145. # PiHole
  146. - platform: pi_hole
  147. host: 192.168.1.2:4865
  148. location: admin
  149. ssl: true
  150. verify_ssl: false
  151. monitored_conditions:
  152. - ads_blocked_today
  153. - ads_percentage_today
  154. - dns_queries_today
  155. - domains_being_blocked
  156. - queries_cached
  157. - queries_forwarded
  158. - unique_clients
  159. - unique_domains
  160. - unique_domains
  161. #Weather
  162. - platform: darksky
  163. api_key: APIKEY
  164. forecast:
  165. - 0
  166. latitude: 46.xxxx
  167. longitude: 6.xxxx
  168. monitored_conditions:
  169. - summary
  170. - icon
  171. - temperature
  172. - precip_type
  173. - precip_intensity
  174. - precip_probability
  175. - wind_speed
  176. - wind_bearing
  177. - cloud_cover
  178. - moon_phase
  179. language: fr
  180.  
  181. # Octoprint setup
  182. octoprint:
  183. host: 192.168.1.123
  184. api_key: APIKEY
  185. name: Prusa Mk3
  186. number_of_tools: 1
  187. bed: true
  188. sensors:
  189. monitored_conditions:
  190. - 'Current State'
  191. - 'Job Percentage'
  192. - 'Temperatures'
  193. - 'Time Elapsed'
  194. - 'Time Remaining'
  195. camera:
  196. - platform: mjpeg
  197. name: OctoPrint
  198. still_image_url: http://192.168.1.123/webcam/?action=snapshot
  199. mjpeg_url: http://192.168.1.123/webcam/?action=stream
  200.  
  201. group: !include groups.yaml
  202. automation: !include automations.yaml
  203. script: !include scripts.yaml
  204.  
  205. # light:
  206. light :
  207. - platform: mqtt
  208. name: "Cuisine"
  209. state_topic: "shellies/shelly1-1D9C90/relay/0"
  210. command_topic: "shellies/shelly1-1D9C90/relay/0/command"
  211. qos: 2
  212. payload_on: "on"
  213. payload_off: "off"
  214.  
  215. - platform: mqtt
  216. name: "Salle-à-manger"
  217. state_topic: "shellies/shelly1-1D9337/relay/0"
  218. command_topic: "shellies/shelly1-1D9337/relay/0/command"
  219. qos: 2
  220. payload_on: "on"
  221. payload_off: "off"
  222.  
  223. - platform: mqtt
  224. name: "Salon"
  225. state_topic: "shellies/shelly1-1D9586/relay/0"
  226. command_topic: "shellies/shelly1-1D9586/relay/0/command"
  227. qos: 2
  228. payload_on: "on"
  229. payload_off: "off"
  230.  
  231. - platform: mqtt
  232. name: "Bureau"
  233. state_topic: "shellies/shelly1-1D9814/relay/0"
  234. command_topic: "shellies/shelly1-1D9814/relay/0/command"
  235. qos: 2
  236. payload_on: "on"
  237. payload_off: "off"
  238.  
  239. - platform: mqtt
  240. name: "Lampadaire salon"
  241. state_topic: "shellies/shellybulb-2B97BC/color/0"
  242. command_topic: "shellies/shellybulb-2B97BC/color/0/command"
  243. rgb_state_topic: "shellies/shellybulb-2B97BC/color/0/status"
  244. brightness_state_topic: "shellies/shellybulb-2B97BC/color/0/status"
  245. rgb_command_topic: "shellies/shellybulb-2B97BC/color/0/set"
  246. brightness_command_topic: "shellies/shellybulb-2B97BC/color/0/set"
  247. payload_on: "on"
  248. payload_off: "off"
  249. rgb_command_template: '{ "mode":"color", "red":{{red}}, "green":{{green}}, "blue":{{blue}} }'
  250. rgb_value_template: "{{value_json.red}},{{value_json.green}},{{value_json.blue}}"
  251. brightness_scale: 100
  252. brightness_value_template: "{{ value_json.gain }}"
  253. #brightness_command_template: '{ "mode":"color", "gain":{{ brightness }} }'
  254. retain: false
  255. qos: 1
  256. optimistic: false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement