UNPKG

homebridge-aron-airquality

Version:

homebridge plugin airquality

30 lines (23 loc) 817 B
Airquality plugin for HomeBridge. 14124836 zeng tingdong * You can find City codes in https://github.com/jokermonn/-Api/blob/master/CenterWeatherCityCode.json ## Installation 1. Install HomeBridge, please follow it's [README](https://github.com/nfarina/homebridge/blob/master/README.md). If you are using Raspberry Pi, please read [Running-HomeBridge-on-a-Raspberry-Pi](https://github.com/nfarina/homebridge/wiki/Running-HomeBridge-on-a-Raspberry-Pi). 2. Make sure you can see HomeBridge in your iOS devices, if not, please go back to step 1. 3. Install packages. ``` ## Configuration ``` "platforms": [ { "platform": "WeatherPlatform", "deviceCfgs": [{ "name": "上海", "city": "CHSH000000" }] }] ``` ## Version Logs ### 0.0.2 1. Init.