Advertisement
Guest User

Untitled

a guest
Nov 12th, 2017
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1. homeassistant:
  2. name: Dom
  3. latitude: 50.2244
  4. longitude: 20.6580
  5. elevation: 202
  6. unit_system: metric
  7. time_zone: Europe/Warsaw
  8. customize: !include customize.yaml
  9. frontend:
  10. config:
  11.  
  12. http:
  13. api_password: test
  14. updater:
  15. discovery:
  16. map:
  17. conversation:
  18. history:
  19. logbook:
  20. sun:
  21. tts:
  22. - platform: google
  23. language: 'pl'
  24.  
  25. weather:
  26. - platform: yweather
  27. woeid: 523634
  28.  
  29.  
  30.  
  31.  
  32. media_player:
  33. - platform: kodi
  34. host: 192.168.1.249
  35. port: 8080
  36. name: ThinkPad
  37. - platform: gstreamer
  38.  
  39. #twilio:
  40. # account_sid: AC71505b72dd4146849678e8c5cccf5856
  41. # auth_token: 6abb54b3f8c255e52378949f7f54676c
  42.  
  43. notify:
  44. - name: telefon
  45. platform: pushbullet
  46. api_key: o.cGJEosfRKEJlEpLzKp30MR087RRUd4fm
  47.  
  48. - platform: kodi
  49. name: thinkpad
  50. host: 192.168.1.249
  51.  
  52. # - name: sms
  53. # platform: twilio_sms
  54. # from_number: +48588813241
  55.  
  56.  
  57. camera:
  58. - platform: mjpeg
  59. name: Podworko
  60. still_image_url: http://orangepipc.lan:8765/picture/1/current/
  61. mjpeg_url: http://orangepipc.lan:8081/
  62.  
  63. - platform: mjpeg
  64. name: Plac
  65. still_image_url: http://orangepipc.lan:8765/picture/2/current/
  66. mjpeg_url: http://orangepipc.lan:8082/
  67.  
  68. panel_iframe:
  69. router:
  70. title: 'Router'
  71. url: 'http://192.168.1.1'
  72. icon: mdi:router-wireless
  73.  
  74. kodi:
  75. title: 'Kodi ThinkPad'
  76. url: 'http://192.168.1.249:8080'
  77. icon: mdi:kodi
  78. camera:
  79. title: Kamery
  80. url: 'http://192.168.1.110:8765/'
  81.  
  82. scene:
  83. - name: Film
  84. entities:
  85. light.biurko:
  86. state: on
  87. brightness: 10
  88. light.sufit:
  89. state: on
  90. brightness: 10
  91.  
  92. - name: Normal
  93. entities:
  94. light.biurko:
  95. state: on
  96. brightness: 255
  97. light.sufit:
  98. state: on
  99. brightness: 255
  100.  
  101.  
  102.  
  103. group: !include groups.yaml
  104. automation: !include automations.yaml
  105. script: !include scripts.yaml
  106.  
  107. device_tracker:
  108. - platform: owntracks_http
  109.  
  110. # - platform: luci
  111. # host: 192.168.1.1
  112. # username: root
  113. # password: zxc
  114.  
  115. #mqtt
  116. mqtt:
  117. broker: 192.168.1.110
  118.  
  119.  
  120.  
  121. cover:
  122. - platform: mqtt
  123. name: "Brama"
  124. command_topic: "/esp003/cmd"
  125. payload_open: "pulse,14,0,1000"
  126. payload_close: "pulse,12,0,1000"
  127. payload_stop: "pulse,5,0,1000"
  128.  
  129. # - platform: mqtt
  130. # name: "Piec"
  131. # command_topic: "/esp003/cmd"
  132. # payload_open: "servo,1,4,90"
  133. # payload_close: "servo,1,4,0"
  134.  
  135.  
  136. light:
  137. - platform: mqtt
  138. name: Biurko
  139. command_topic: "/esp001/cmd"
  140. brightness_command_topic: '/esp001/pwm/0'
  141. brightness_scale: 1023
  142. on_command_type: 'brightness'
  143. payload_on: "pwm,0,1023,1000"
  144. payload_off: "pwm,0,0,1000"
  145. entity_id: biurko
  146.  
  147.  
  148. - platform: mqtt
  149. name: Podwórko
  150. command_topic: "/esp001/cmd"
  151. brightness_command_topic: '/esp001/pwm/4'
  152. brightness_scale: 1023
  153. on_command_type: 'brightness'
  154. payload_on: "pwm,4,1023,1000"
  155. payload_off: "pwm,4,0,1000"
  156. entity_id: podworko
  157.  
  158. - platform: mqtt
  159. name: Plac
  160. command_topic: "/esp001/gpio/16"
  161. #state_topic: "/esp001/gpio/16/Switch"
  162. payload_on: "1"
  163. payload_off: "0"
  164. entity_id: plac
  165.  
  166.  
  167. - platform: mqtt
  168. name: Oświetlenie domu
  169. command_topic: "/esp001/gpio/5"
  170. #state_topic: "/esp001/gpio/5/Switch"
  171. payload_on: "1"
  172. payload_off: "0"
  173. entity_id: oswietlenie_domu
  174.  
  175.  
  176. - platform: mqtt
  177. name: Sufit
  178. command_topic: "/esp001/cmd"
  179. brightness_command_topic: '/esp001/pwm/2'
  180. brightness_scale: 1023
  181. on_command_type: 'brightness'
  182. payload_on: "pwm,2,1023,1000"
  183. payload_off: "pwm,2,0,1000"
  184. entity_id: sufit
  185.  
  186.  
  187. - platform: mqtt
  188. name: Halogen Brama
  189. command_topic: "/esp002/gpio/13"
  190. #state_topic: "/esp002/LED/Switch"
  191. payload_on: "1"
  192. payload_off: "0"
  193. entity_id: halogen_led
  194.  
  195.  
  196.  
  197.  
  198. sensor:
  199.  
  200. - platform: time_date
  201. display_options:
  202. - 'time_date'
  203.  
  204. - platform: openweathermap
  205. api_key: dc16ea0cfe54fe68bdb0628f0a08156b
  206. language: pl
  207. monitored_conditions:
  208. - weather
  209.  
  210. - platform: mqtt
  211. name: Temperatura na zewnątrz
  212. state_topic: "/esp002/Zew/Temperature"
  213. unit_of_measurement: "°C"
  214.  
  215. - platform: mqtt
  216. name: Napięcie akumulatora
  217. state_topic: "/esp002/voltage/Analog"
  218. unit_of_measurement: "V"
  219.  
  220. - platform: command_line
  221. name: Temperatura CPU
  222. command: "cat /sys/class/thermal/thermal_zone0/temp"
  223. unit_of_measurement: "°C"
  224.  
  225.  
  226. - platform: yr
  227. - platform: cpuspeed
  228. - platform: uptime
  229. - platform: speedtest
  230. minute: 0
  231. hour:
  232. - 0
  233. - 6
  234. - 10
  235. - 12
  236. - 14
  237. - 18
  238. - 19
  239. - 20
  240. - 21
  241. - 22
  242. - 23
  243. monitored_conditions:
  244. - ping
  245. - download
  246. - upload
  247.  
  248.  
  249.  
  250. binary_sensor:
  251. - platform: mqtt
  252. name: Czujka zewnątrz
  253. state_topic: "/esp001/PIR/Switch"
  254. device_class: motion
  255. payload_on: "1"
  256. payload_off: "0"
  257.  
  258.  
  259. - platform: mqtt
  260. name: Czujka bramy
  261. state_topic: "/esp002/CZUJKA/Switch"
  262. device_class: motion
  263. payload_on: "0"
  264. payload_off: "1"
  265.  
  266. - platform: mqtt
  267. name: Garaż
  268. state_topic: "/esp002/DOWN_END/Switch"
  269. device_class: opening
  270. payload_on: "1"
  271. payload_off: "0"
  272.  
  273.  
  274. # - platform: mqtt
  275. # name: Drzwi pokój
  276. # state_topic: "/esp001/drzwi/Switch"
  277. # device_class: opening
  278. # payload_on: "1"
  279. # payload_off: "0"
  280.  
  281.  
  282. # - platform: mqtt
  283. # name: Czujka Kuchnia
  284. # state_topic: "/esp002/PIR/Switch"
  285. # device_class: motion
  286. # payload_on: "1"
  287. # payload_off: "0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement