Skip to content

AWAIR2MQTT Local Sensor for Home Assistant #HA

License

Notifications You must be signed in to change notification settings

chohoo89/awair2mqtt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

awair2mqtt

HAKC) HACS Version v1.4

AWAIR2MQTT Sensor for Home Assistant 입니다.
MQTT Broker로 AWAIR Local 데이터를 발행합니다.

screenshot_1
screenshot_2


Version history

Version Date 내용
v1.0.0 2020.05.06 First version

Installation

Manual

  • HA 설치 경로 아래 custom_components 에 파일을 넣어줍니다.
    <config directory>/custom_components/awair2mqtt/__init__.py
    <config directory>/custom_components/awair2mqtt/manifest.json
  • configuration.yaml 파일에 설정을 추가합니다.
  • Home-Assistant 를 재시작합니다

Usage

configuration

  • HA 설정에 awair2mqtt sensor를 추가합니다.
awair2mqtt:
  broker: '[Your mqtt broker IP] or [core-mosquitto(HA)]'
  broker_user: '[Your broker id]'
  broker_pw: '[Your broker password]'
  devices:
    - awair_ip: '[Your AWAIR Device IP]'
      awair_id: '[Your AWAIR Device ID]'
      awair_type: '[Your AWAIR Device Model Code]'



기본 설정값

옵션 내용
broker (필수) MQTT Broker IP
broker_user (필수) MQTT Broker ID
broker_pw (필수) MQTT Broker Password
broker_port (옵션) MQTT Broker Port / default(1883)
devices (필수) AWAIR Devices
client (옵션) MQTT Client ID / default(awair2mqtt)
scan_interval (옵션) Sensor Update Term / default(120s)

devices 설정값

옵션
awair_ip (필수) AWAIR Local IP
awair_id (필수) AWAIR ID, 띄워쓰기(X), 한글(X)
awair_type (필수) AWAIR Model Code : S/O/M/E

awair_type 설정값

코드 Score Temperature Humidity VOC CO2 PM2.5 Light Noise
S 2nd Edition O O O O O O X X
M Mint O O O O X O O O
O Omni O O O O O O O O
E Element O O O O O O X X

참고사이트

[1] 네이버 HomeAssistant 카페 | 랜이님의 어웨어 로컬센서 설정기 (https://cafe.naver.com/koreassistant/703)
[2] 네이버 HomeAssistant 카페 | 크리틱님의 Awair를 Local로 사용하기 + α (https://cafe.naver.com/koreassistant/729)

About

AWAIR2MQTT Local Sensor for Home Assistant #HA

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%