JONSEOK

샤오미 로봇청소기 Home Assistant 연동

지원하는 장비 목록 확인: https://github.com/al-one/hass-xiaomi-miot/blob/master/custom_components/xiaomi_miot/core/device_customizes.py토큰 얻기: https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor 1. HACS > Xiaomi Miot Auto 설치 2. 설정 > 기기 및 서비스 > +통합구성요소 추가하기 > “Xiaomi Miot Auto” 추가 3. 설정 > 기기 및 서비스 > Xiaomi Miot Auto 선택하여 로그인 또는 로컬 IP와 토큰 값으로 기기 인증

샤오미 로봇청소기 Home Assistant 연동 더 읽기"

IoT 장치 목록

■SONOFF ZBDongle-E  URL: https://ko.aliexpress.com/item/1005004941136388.html  SoC: EFR32MG21  USB-Serial Chip: CH9102F  Desc: SONOFF Zigbee 3.0 USB Dongle Plus V2 ■GIRIER Tuya-ZigBee 3.0 스마트 허브(Wired Hub)  URL: https://ko.aliexpress.com/item/1005005225025973.html  Specifications:    대기 수량: 200 개 장치    적용 거리: 30 m    크기: 95*95*23mm    컬러: 화이트    어댑터 출력: 5V 1A    작동 전류: <1A    작동 온도:

IoT 장치 목록 더 읽기"

TTS를 Google Nest를 통해 출력

1. HACS에서 “Microsoft Edge TTS” 설치 후 configuration.yaml에 아래를 추가################################################################################ Text to speech###############################################################################tts: – platform: edge_tts #language: ko-KR-SunHiNeural language: ko-KR-InJoonNeural volume: +100%2. 설정 > 기기 및 서비스 > +통합구성요소 추가하기 Google > Google Cast 추가 Google Nest IP 주소를 입력(1개 이상이면 쉽표로 구분): 192.168.1.25,192.168.1.263. 설정 > 기기 및 서비스 > Google Cast 확인 구성요소ID를 아래와

TTS를 Google Nest를 통해 출력 더 읽기"

Google Assistant와 Home Assistant 연동

  /var/hass/homeassistant/configuration.yaml에 아래와 같은 형식으로 추가한다. ################################################################################ Google Assistant###############################################################################google_assistant:  project_id: my_project_id  service_account: !include my_project_id_google_key.json  report_state: true  # 기본적으로 기기들을 연동할지 여부를 결정 (수동으로 추가하기 위해 false 처리)  expose_by_default: false  exposed_domains:    – binary_sensor    – cover    – sensor    – switch  entity_config:    # 거실 전동 커튼    cover.curtain_motor:      name: 커튼   

Google Assistant와 Home Assistant 연동 더 읽기"

IoT 장치 명명 목록

Zigbee2MQTT명 / 기기명 / IEEE주소 ■Smart Air House Keeper-공기질 센서 (TS0601)  air_house_keeper      “공기질 측정 센서”   0xa4c138131b378875 ■Motion Sensor-재실 센서 (TS0202)  bathroom1-motion_sensor “욕실-1 재실 센서” 0xa4c138e8afc30cc9 ■MOES Tuya Zigbee Light Sensor-조도 센서 (TS0222)  light_sensor  “조도 센서” 0xa4c138528bbd8f49 ■IR 리모컨 (iH-F8260)  livingroom-ir_remocon “거실 IR 리모컨” 0x7cc6b6fffeabd463  innerroom-ir_remocon  “안방 IR 리모컨” 0x403059fffef798cb  ts1201-3    

IoT 장치 명명 목록 더 읽기"

Zigbee2MQTT 새로운 장치 추가

참고: https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html#instructions 만일 Zigbee 장치가 Z2M에서 정상적으로 인식되지 않을 경우 장치에 대한 외부 정의를 파일로 만들어 Z2M에게 인식시켜주면 된다.이를 위해 아래 과정을 따른다. 1. 제조사 코드로 비슷한 제품으로 인식 시키기  ⑴ Zigbee 제조사 코드 알아내기    Zigbee2MQTT > 0xa4c138758807b972(인식불가 기기) > Zigbee 제조사: _TZE204_w1wwxoja   ⑵ 자신의 기기와 비슷한 기기의 제조사 코드 알아내기    https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/tuya.ts 

Zigbee2MQTT 새로운 장치 추가 더 읽기"

TTS Bluetooth Speaker for Home Assistant

원본: https://github.com/pkozul/ha-tts-bluetooth-speaker 이 프로젝트는 Bluetooth 스피커를 통해 TTS(텍스트 음성 변환)를 재생하는 Home Assistant용 미디어 플레이어(사용자 정의 구성 요소)를 제공합니다. HA의 Bluetooth 장치 추적기(존재 감지용)를 사용하는 경우, 이 프로젝트는 두 구성 요소가 원활하게 작동할 수 있도록 하는 대체 Bluetooth 추적기도 제공합니다. Bluetooth 추적기는 지속적으로 장치를 스캔하기 때문에 Bluetooth 스피커에서 오디오 재생이 중단되거나 스캔하는 동안 끊길 수

TTS Bluetooth Speaker for Home Assistant 더 읽기"

Home Assistant IR 리모컨 센서 설정 예제

■관련 링크:  IR리모컨 제어: https://cafe.naver.com/koreassistant/12641  HA 도우미 개념: https://rayblog.tistory.com/206 1.리모컨 코드 얻기  좌측 Zigbee2MQTT > IR 장치 선택 > ⇧Exposes(노출)    Learn ir code: ON    리모컨의 버튼을 누르면 Ir code to send에 코드가 나타나며 추후 등록을 위해 모두 기록해 놓는다.     테스트 리모컨 명: ir_remote1    테스트 리모컨 코드: __code1___ 2.리모컨 발신 스크립트

Home Assistant IR 리모컨 센서 설정 예제 더 읽기"

Home Assistant Reverse Proxy

1.Home Assistant 에서 Reverse Proxy 허용   vi /var/homeassistant/homeassistant/configuration.yaml———-# Enable Reverse Proxyhttp:  use_x_forwarded_for: true  trusted_proxies:    – 10.10.10.0/24    – 127.0.0.1 # Enable WebSocketwebsocket_api:———- 2. apache2 설정 예제   echo “Listen 443” >> /etc/apache2/ports.conf  a2enmod proxy_wstunnel  vi /etc/apache2/sites-available/hass_reverse_proxy.conf———-############################################################ /etc/apache2/sites-available/hass_reverse_proxy.conf## Add the following to Home Assistant’s configuration.yaml:############################################################http:#  use_x_forwarded_for: true#  trusted_proxies:#    – 10.10.10.0/24#    – 10.10.10.108#

Home Assistant Reverse Proxy 더 읽기"

위로 스크롤