티스토리 뷰

configuration.yaml은 다른 *.yaml을 include 가능하다.

ex) !include sensor.yaml

 

리스트/배열

'-'(하이픈)으로 시작

ex) - LivingRoom , -BedRoom

 

해쉬(키:값)

':'(콜론)으로 표시

ex) A:aaa, B:bbb

 

-> - LivingRoom

      email: abc@gamil.com

      pone: +82 01 1234 1234

 

내부 주소 

  config\www\dir

-> 10.0.0.1(nas or 라즈배리 ip):8123\dir

 

configuration.yaml 예제

 

#googleHome

google_assistant:

  project_id: test-xxxxx

  client_id: !include service_account.json

  access_token: xxxxxxxx #(공식홈에서 추출 가능)

  exposed_domanins:

   - switch

   - script

 

#xiaomi gateway

xiaomi_aqara:

  gateways:

  - mac: 12:12:12:12:12 #xiaomi mac 주소

    key: token xxxxxxxx #(구버전 MiHome에서 추출가능)

 

# media
homeassistant:
    media_dirs:
      media: /media
      media: /config/www/music

 

#lg smartthinq

smartthinq:
  token: xxxxxx386dfwersdf #(토큰 추출방법 포스팅 예정)
climate:
  - platform: smartthinq
    name: refrigerator
    mac: 12:42:a3f...

 

#xiaomi switch

switch:
  - platform: xiaomi_miio
    host: 10.0.0.1
    token: 12312dfsgd344
 

#xiaomi fan

fan:
  - platform: xiaomi_miio
    host: 10.0.0.1
    token: 123erwe

 

참고)

smartthinq api 

http://us.smartthinq.com/images/grid/smartThinQ%203rd%20party%20openAPI.pdf 85

http://thinq.developer.lge.com/en/discover/partnership/

 

 

'HOME ASSISTANT' 카테고리의 다른 글

SmartThinq Component Token  (0) 2020.11.03
HomeAssistant scripts 설정  (0) 2020.11.03
HomeAssistant Automation 설정  (0) 2020.11.02
HomeAssistant 기본 설명  (0) 2020.11.02
HOME ASSISTANT 설치  (0) 2020.11.02
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
more
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함