Home Assistant에 Xiaomi Airpurifier 연결

Xiaomi Airpurifier은 직접 Google Home에 연결이 되지 않아서 Home Assistant를 이용해서 연결을 하게 된다.

아래 내용들이 선행 되야 하니 확인 하기 바란다.

1. Home Assistant설치 with Synology
2. 샤오미 Token 구하기
3. Home Assistant와 IFTTT 연결
4. Home Assistant 테스트 명령어
5. Home Assistant 보안
6. Ifttt와 Google Home 연결 실행

샤오미 공기정화기Home Asisstant:Xiaomi Air Purifier을 참고하여 설정을 진행하였다. 기본적으로 본인의 기기들은 Configuration.yaml 에 등록을 하여 사용하며 정해진 양식이 있으니 그 양식대로 적용하면 크게 문제 되지 않으면 정상적으로 등록이 된다. 샤오미 기기들의 등록 방법은 기본적으로 같다.

vacuum:
- platform: xiaomi_miio
host: 192.168.1.2
token: YOUR_TOKEN
name : Xiaomi vacuum NAME

위와 같은 형태로 Configuration.yaml 에 등록한 후 Home Assistant를 재시작하면 Xiaomi Vacuum이 등록되어 사용 가능해 진다.

명령어로는 아래와 같이 있다.

On, Off
Operation modes (auto, silent, favorite, idle)
Buzzer (on, off)
Child lock (on, off)
LED (on, off), LED brightness (bright, dim, off)
Favorite Level (0…16)
Attributes

power
aqi
average_aqi
humidity
temperature
mode
favorite_level
led
led_brightness
buzzer
child_lock
purify_volume
filter_life_remaining
filter_hours_used
motor_speed

 

 

하지만 실제 내가 사용하는 것은 On, Off, 을 사용하고 있다. 다른 명령어는 정상 동작이 잘 안되었다.Mi Home으로 작업하는 게 더 쉽다.
Xiaomi 기기들이 Home Assistant의 버전에 따라 영향을 받는데 무작정 새로운 버전으로 업데이트 하지 말고 꼭 확인 후 업데이트 하기 바란다.

 

댓글 없음:

댓글 쓰기

🇸🇬 Jurong East Vlog in Singapore - IKEA Shopping and Food Tour!

  Join us on a day in Jurong East, Singapore, as we shop for a full-length mirror at IKEA and explore some hidden food gems. From IKEA shopp...