UNPKG

@dr_chai/homebridge-airthings

Version:

Connecting all your Airthings devices over bluetooth with zero configuration.

84 lines (83 loc) 2.83 kB
{ "pluginAlias": "AirThings", "headerDisplay": "AirThings plugin for [Homebridge](https://github.com/nfarina/homebridge) using the Bluetooth(noble) only.", "footerDisplay": "As of the time this plugin was implemented, [Apple HomeKit](https://developer.apple.com/documentation/homekit/characteristic-types#Air-quality-and-smoke-detection) does not recognize the Radon characteristic. To view Radon statistics, the plugin uses [SulphurDioxideDensity](https://developers.homebridge.io/#/characteristic/SulphurDioxideDensity) and [OzoneDensity](https://developers.homebridge.io/#/characteristic/OzoneDensity) to represent *Radon short-term average* and *Radon long-term average*, respectively.", "pluginType": "platform", "singular": true, "strictValidation": false, "schema": { "type": "object", "properties": { "name": { "title": "Name", "type": "string", "required": true, "default": "AirThings" }, "displayRadonSTA": { "title": "Display Radon short term avg.", "description": "Uses the SulphurDioxideDensity field to display Radon short-term average. Homebridge will show the correct title.", "type": "boolean", "required": true, "default": false }, "displayRadonLTA": { "title": "Display Radon long term avg.", "description": "Uses the OzoneDensity field to display Radon long-term average. Homebridge will show the correct title.", "type": "boolean", "required": true, "default": false }, "scanTime": { "title": "Total scan time", "type": "integer", "default": 24, "description": "Specifies the total scan time in seconds for discovering AirThings devices nearby." }, "retryAfter": { "title": "Retry after delay", "type": "integer", "default": 30, "description": "Specifies the delay in seconds before retrying the scan." }, "refreshTime": { "title": "Refresh time ", "type": "integer", "default": 3600, "description": "Specifies the refresh time for sync data from all AirThings devices in seconds (default 60min)" } } }, "layout": [ { "type": "section", "title": "General Settings", "expandable": true, "expanded": true, "items": [ { "items": [ "name", "displayRadonSTA", "displayRadonLTA" ] } ] }, { "type": "section", "title": "Bluetooth Settings (Optional)", "expandable": true, "expanded": false, "items": [ { "items": [ "scanTime", "retryAfter", "refreshTime" ] } ] } ] }