在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:DMBlakeley/homebridge-awair2开源软件地址:https://github.com/DMBlakeley/homebridge-awair2开源编程语言:TypeScript 100.0%开源软件介绍:homebridge-awair2This is a second generation Homebridge Dynamic Platform plugin for the Awair family of air quality monitors implemented in TypeScript for Nfarina's Homebridge project. The Awair2 plugin is based on the homebridge-awair plugin developed by Dean L. Young. When migrating from NOTE:homebridge-awair to homebridge-awair2 or from v5.8.14 to v5.9.x please first uninstall homebridge-awair (copy your Developer Token first), restart Homebridge to clear 'homebridge-awair2' cached accessories, install homebridge-awair2 , add your Developer Token to configuration, and finally restart Homebridge one more time.
Alternately you may remove your Awair accessory from the Homebridge single device cache found in Homebridge Settings followed by Homebridge restart. Display and LED mode accessories do not need to be removed. With either method you will need to check that your Awair device is assigned to the correct HomeKit room and verify that HomeKit Automations which use your Awair device are correct. The Awair2 plugin will query your Awair account using a Developer Token to determine registered Awair devices which were setup through the Awair app on your iOS device. While running, the plugin will fetch current sensor conditions for each Awair device (e.g. Awair 1st Edition, Awair Glow, Awair Mint, Awair Omni, Awair 2nd Edition, Awair Glow C, or Awair Element) and provide sensor status and value (e.g. temperature, humidity, carbon dioxide, TVOC, dust/PM2.5/PM10, Omni lux, and Omni battery) to HomeKit. You can look at the current Awair information via HomeKit enabled Apps on your iOS device or even ask Siri for them. The plugin will fetch new data based on selected v5.7.x of the plugin introduced control of the Awair device display for Awair Omni, Awair r2, and Awair Element. Reference Wiki for details and examples of HomeKit automations for this feature. v5.9.x of the plugin introduced binary limit switches for VOC and PM2.5. The switches are implemented as dummy With iOS14, the icons and status have been refined in the iOS/iPadOS/macOS Home app. , temperature and humidity are grouped under a single "climate" status icon at the top of the HomeKit screen (first screenshots below). If you select this icon a screen opens with all of the Climate devices in your HomeKit home (second screenshot). For those with multiple Awair devices, you can optionally list the macAddress of the device (found on the back or bottom of the device) which you want to exclude from HomeKit. For Awair Omni, battery charge level, charging status, low battery, light level and occupancy detection based on ambient sound level [experimental] are also provided using the Local Sensors capability which is configured in the Awair App (reference screenshot below). Battery Status does not appear as a separate tile in the HomeKit interface. Battery charge level and status will be found in the Status menu for each of the sensors. A low battery indication will be identified as an alert in the HomeKit status section (see third and fourth screenshots). NOTE:If you are setting up an Awair unit for the first time, it is recommended that you allow a couple of hours after adding to the iOS Awair App for the unit to calibrate, update firmware if necessary and establish connection to the Awair Cloud. Initially the accessories may show up in Homebridge and HomeKit, however, the data field may be blank. This will correct after the data stream has been established between your Awair device and the Awair Cloud. Acknowledgment to @Sunoo for the homebridge-philips-air plugin which was used as a reference for implementation of the Awair Dynamic Platform TypeScript plugin. Installation
The Awair2 plugin queries your Awair account to determine devices that you have registered. This is the same informaton that you have entered via the Awair app on your iOS device. You will need to request access to the Awair Developer Console to obtain your Developer Token ( The Awair Developer API Documentation explains the inner workings of the Awair Developer API, but for the most part is not necessary to use this plugin. ChangelogChangelog is available here. Plugin ConfigurationConfiguration sample: config-sample.json DescriptionsReference Wiki Chapter 3 for additional details. (*) Introduced with v5.9.0.
Reference Wiki for detailed description of Configurion Options. ResourcesReference Wiki for complete list of Resources. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论