npm.io
1.0.5 • Published 3 years ago

homebridge-supla-battery

Licence
MIT
Version
1.0.5
Deps
2
Size
9 kB
Vulns
1
Weekly
0

homebridge-solis5g-battery

npm npm

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

  1. Install homebridge
  2. 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

Zrzut ekranu 2021-10-12 o 11 19 06

2022