homebridge-supla-battery
v1.0.5
Published
Homebridge plugin for a Supla Battery status
Readme
homebridge-solis5g-battery
Description
This homebridge plugin read UPS Supla Device (Hummidity) and translate it into Battery stats, exposing it as a Fan Accessory to Apple's HomeKit. Battery % is displayed as rotationSpeed of the Fan. When Fan is disabled - UPS is not working on backup (just standbay).
Installation
- Install homebridge
- Install this plugin:
npm install -g homebridge-supla-battery
Configuration
"accessories": [
{
"accessory": "SuplaBattery",
"name": "SuplaBattery",
"url": "
}
]Core
| Key | Description | Default |
| --- | --- | --- |
| accessory | Must be SuplaBattery | N/A |
| name | Name to appear in the Home app | N/A |
| url | url to your Suppla Account) | N/A |
Optional fields
| Key | Description | Default |
| --- | --- | --- |
| lowBatteryTreshold | If Battery level drop below definded treshold (0-100), notify Apple UI about it | N/A |
Additional options
| Key | Description | Default |
| --- | --- | --- |
| pollInterval | Time (in seconds) between device polls | 120 |
| model | Appears under the Model field for the accessory | plugin |
| serial | Appears under the Serial field for the accessory | 000-000-000-002 |
| manufacturer | Appears under the Manufacturer field for the accessory | author |
| firmware | Appears under the Firmware field for the accessory | version |
Thank you
If you like it, any BTC donation will be great. My BTC Wallet: 3Ma1KEEfvNbvfAEyvRvmGHxNs61qZE7Jew
2022
