UNPKG

@dr_chai/homebridge-airthings

Version:

Connecting all your Airthings devices over bluetooth with zero configuration.

40 lines (29 loc) 1.28 kB
# Homebridge Airthings `homebridge-airthings` is a plugin for [Homebridge](https://homebridge.io) that integrates with Airthings devices to monitor Radon levels in your home. **Currently, it only supports Airthings Wave 2**. ## Features - Automatically detects all Airthings devices nearby without needing the serial number or MAC address. - Compatible with Homebridge V2 as a dynamic platform. - Connects to devices using Bluetooth (noble), no hub or API required. ## Installation 1. Install Homebridge using the [official instructions](https://github.com/homebridge/homebridge/wiki). 2. Install the `@dr_chai/homebridge-airthings` plugin using npm: ```sh npm install -g @dr_chai/homebridge-airthings ``` 3. Update your Homebridge `config.json` file to include the plugin configuration: ```json { "platforms": [ { "name": "AirThings", "displayRadonSTA": false, "displayRadonLTA": false, "scanTime": 24, // Optional, default: 24s "retryAfter": 30, // Optional, defaul:30s "refreshTime": 3600 // Optional, default: 3600s(1 hour). minimum: 300s(5 minutes) for battery life and matches the sensor read interval } ] } ``` ## License This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.