로그인

검색

[home assistant] local tuya 세팅 (smart life, smart plug)

[home assistant] local tuya 세팅 (smart life, smart plug)

 

 

스마트플러그를 가지고 있습니다.

image.png

 

 

 

스마트폰에 앱을 깔아서 사용했습니다.

image.png

 

 

 

 

HA 에서 제어해 보기로 합니다.

하지만,

많이 복잡합니다.

 

 

1. HACS 설치
2. local tuya 설치

3. setting - devices&services - local tuya - add entry

 

 

image.png

 

** 반드시 체크 ; Do not configure Cloud API Account

** 서버는 미국

** client ID 등은 iot.tuya.com 에서 볼 수 있습니다.

  (홈 - cloud - open project)

  (미리 create cloud project 만들어 줘야 합니다.)

 

image.png.jpg

 

 

 

image.png

 

 

4. 디바이스를 추가합니다.

 

image.png.jpg

 

 

 

 

 

5. HA - local tuya - configuration  - add a new device

 

image.png

 

 

 

 

image.png

 

 

*** local key 찾는 법

- cloud - API explorer - device management

 

 

image.png

 

 

 

 

image.png

 

 

 

image.png

 

 

 

 

- 스마트폰 홈 화면

 

image.png

 

 

 

 

결론

- 폰에서 앱으로 제어 할때는, 앱 open 하는 시간동안 기다려야 했는데,

HA 에서 제어할때는 기다리는 시간이 전혀 없어서 좋습니다.

이 게시물을

댓글'1'

참고

https://smarthomecircle.com/how-to-setup-local-tuya-in-home-assistant

이 댓글을

이 댓글을 삭제하시겠습니까?