Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.13 KB | None | 0 0
  1. hassio:
  2.  
  3. homeassistant:
  4. # Name of the location where Home Assistant is running
  5. name: Home
  6. # Location required to calculate the time the sun rises and sets
  7. latitude: 59.5
  8. longitude: 18.05
  9. # Impacts weather/sunrise data (altitude above sea level in meters)
  10. elevation: 25
  11. # metric for Metric, imperial for Imperial
  12. unit_system: metric
  13. # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  14. time_zone: Europe/Stockholm
  15. # Customization file
  16. customize: !include customize.yaml
  17. packages: !include_dir_named packages
  18. auth_providers:
  19. - type: trusted_networks
  20.  
  21.  
  22. zone:
  23. name: Work
  24. latitude: ***
  25. longitude: ***
  26. radius: 100
  27.  
  28.  
  29. # Show links to resources in log and frontend
  30. #introduction:
  31.  
  32. # Enables the frontend
  33. frontend:
  34. themes:
  35. happy:
  36. primary-color: pink
  37. sad:
  38. primary-color: blue
  39. darkorange: !include themes/dark_orange.yaml
  40. # Enables configuration UI
  41. config:
  42.  
  43. http:
  44. trusted_networks:
  45. - ***
  46. # Secrets are defined in the file secrets.yaml
  47. # api_password: !secret http_password
  48. # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  49. # base_url: example.duckdns.org:8123
  50.  
  51. # Checks for available updates
  52. # Note: This component will send some information about your system to
  53. # the developers to assist with development of Home Assistant.
  54. # For more information, please see:
  55. # https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
  56. updater:
  57. # Optional, allows Home Assistant developers to focus on popular components.
  58. # include_used_components: true
  59.  
  60. # Discover some devices automatically
  61. #discovery:
  62.  
  63. # Allows you to issue voice commands from the frontend in enabled browsers
  64. conversation:
  65.  
  66. # Enables support for tracking state changes over time
  67. history:
  68.  
  69. # View all events in a logbook
  70. logbook:
  71.  
  72. # Enables a map showing the location of tracked devices
  73. map:
  74.  
  75. # Track the sun
  76. sun:
  77. elevation: 116
  78.  
  79. # Weather prediction
  80. sensor:
  81. - platform: yr
  82. name: Weather
  83. monitored_conditions:
  84. - temperature
  85. - symbol
  86. - precipitation
  87. - windSpeed
  88. - pressure
  89. - windDirection
  90. - humidity
  91. - fog
  92. - cloudiness
  93. - lowClouds
  94. - mediumClouds
  95. - highClouds
  96. - dewpointTemperature
  97.  
  98. - platform: rest
  99. resource: ***
  100. value_template: '{{ value_json.state.lightlevel }}'
  101. unit_of_measurement: Lux
  102. name: 'Hallway Lux'
  103.  
  104. - platform: rest
  105. resource: ***
  106. value_template: '{{ value_json.state.temperature | float / 100 }}'
  107. unit_of_measurement: °C
  108. name: 'Hallway Temperature'
  109.  
  110. - platform: rest
  111. resource: ***
  112. value_template: '{{ value_json.state.status }}'
  113. name: 'Hallway Motion'
  114.  
  115. - platform: rest
  116. resource: ***
  117. value_template: '{{ value_json.state.lightlevel }}'
  118. unit_of_measurement: Lux
  119. name: 'Bathroom Lux'
  120.  
  121. - platform: rest
  122. resource: ***
  123. value_template: '{{ value_json.state.temperature | float / 100 }}'
  124. unit_of_measurement: °C
  125. name: 'Bathroom Temperature'
  126.  
  127. - platform: rest
  128. resource: ***
  129. value_template: '{{ value_json.state.status }}'
  130. name: 'Bathroom Motion'
  131.  
  132. - platform: speedtest
  133. minute:
  134. - 0
  135. - 30
  136. monitored_conditions:
  137. - ping
  138. - download
  139. - upload
  140.  
  141. - platform: synologydsm
  142. host: ***
  143. username: sensor
  144. password: Sens0r
  145. monitored_conditions:
  146. - cpu_total_load
  147. - memory_real_usage
  148. - network_up
  149. - network_down
  150. - disk_temp
  151. - volume_percentage_used
  152. - volume_disk_temp_avg
  153.  
  154.  
  155. - platform: template
  156. sensors:
  157. temp_diff:
  158. friendly_name: Degrees warmer inside
  159. value_template: "{{((states.sensor.hallway_temperature.state) | float - (states.sensor.weather_temperature.state) | float) | round(3)}}"
  160.  
  161. # Text to speech
  162. tts:
  163. - platform: google
  164.  
  165. # Cloud
  166. cloud:
  167. alexa:
  168. filter:
  169. include_entities:
  170. - group.living_room
  171. - group.kitchen
  172. - group.bedroom
  173. - group.hallway
  174. - group.lights
  175. - lights.hall
  176. - script.bed
  177. - script.shield
  178. - script.shutdown
  179. - script.dmxon
  180. - script.dmxoff
  181. include_domains:
  182. - switch
  183. exclude_entities:
  184. - group.other
  185. exclude_domains:
  186. - script
  187. entity_config:
  188. light.kitchen:
  189. name: Alexis hallway
  190. description: The light in the hallen
  191. switch.stairs:
  192. display_categories: LIGHT
  193.  
  194.  
  195. group: !include groups.yaml
  196. automation: !include automations.yaml
  197. script: !include scripts.yaml
  198.  
  199. zwave:
  200. usb_path: /dev/ttyACM1
  201. network_key: ***
  202.  
  203. tellstick:
  204. signal_repetitions: 2
  205. host: core-tellstick
  206. port: [50800, 50801]
  207.  
  208. light:
  209. - platform: tellstick
  210. - platform: artnet
  211. host:***
  212. port: 6454
  213. dmx_channels: 8
  214. default_level: 0
  215. devices:
  216. - channel: 1
  217. type: rgb
  218. name: RGB
  219. default_rgb: [150,150,150]
  220. - channel: 6
  221. type: dimmer
  222. name: MODE-dimmer
  223. default_level: 0
  224. - channel: 7
  225. type: dimmer
  226. name: Master_dim
  227. default_level: 255
  228. - channel: 6
  229. type: switch
  230. name: MODE-auto_mix
  231. default_level: 129
  232.  
  233.  
  234. switch:
  235. - platform: tellstick
  236. # - platform: rest
  237. # resource: http://IP_OF_YOUR_PI:3000/remotes/SamsungTV/KEY_PAUSE
  238. # name: "TV Pause"
  239. # - platform: rest
  240. # resource: http://IP_OF_YOUR_PI:3000/remotes/SamsungTV/KEY_PLAY
  241. # name: "TV Play"
  242. # - platform: rest
  243. # resource: http://IP_OF_YOUR_PI:3000/remotes/Harman-Kardon_HK3490/KEY_MUTE
  244. # name: "Mute Amp"
  245. - platform: wake_on_lan
  246. mac_address: ***
  247. name: my pc
  248. host: ***
  249.  
  250. - platform: rfxtrx
  251. devices:
  252. 5F60810:
  253. name: test_device
  254.  
  255. volvooncall:
  256. username: ***
  257. password: !secret***
  258.  
  259. media_player:
  260. - platform: kodi
  261. host: ***
  262. name: Kodi
  263. # - platform: denon
  264. # host: ***
  265. - platform: squeezebox
  266. host: ***
  267. port: 9002
  268. username: ***
  269. password: !secret***
  270.  
  271. hue:
  272. bridges:
  273. - host: ***
  274. # Pushbullet, behöver fixxa device_tracker för att det ska fungera
  275.  
  276. notify:
  277. - name: pushbullet
  278. platform: pushbullet
  279. api_key: ***
  280.  
  281. remote:
  282. - platform: harmony
  283. name: Living Room
  284. host: ***
  285.  
  286. device_tracker:
  287. - platform: nmap_tracker
  288. hosts:***
  289. exclude: ***
  290. scan_options: " --privileged -sP "
  291. home_interval: 10
  292. consider_home: 180
  293. interval_seconds: 10
  294. new_device_defaults:
  295. track_new_devices: false
  296. hide_if_away: true
  297.  
  298. camera:
  299. # - platform: synology
  300. # url: http://***
  301. # username: sebbe
  302. # password: !secret ***
  303. # verify_ssl: False
  304. - platform: ffmpeg
  305. name: DoorCAM
  306. input: ***
  307. - platform: ffmpeg
  308. name: PrinterCAM
  309. input: !secret***
  310. - platform: ffmpeg
  311. name: HallCAM
  312. input: rtsp:***
  313.  
  314. input_boolean:
  315. soffstrip_colorloop:
  316. name: soffstrip_colorloop
  317. initial: off
  318. icon: mdi:cake
  319.  
  320. rfxtrx:
  321. device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A138UU5B-if00-port0
  322. debug: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement