/homebridge-solis5g-alarm

homebridge-solis5g-alarm

Primary LanguageJavaScriptMIT LicenseMIT

homebridge-solis5g-alarm

npm npm

Description

This homebridge plugin read Alarm state from Solis5G inverter using local network or Cloud and exposes it as a Switch Accessory to Apple's HomeKit. If Alarm is active, switch is ON, otherwise it's turned OFF. Currently for Cloud mode error codes responsible for Power Loss are verified. (186E4 / 186E6). Locally anything marked as "Alert" will trigger Switch.

Installation

  1. Install homebridge
  2. Install this plugin: npm install -g homebridge-solis5g-battery
  3. Update your config.json file

Configuration

"accessories": [
     {
       "accessory": "Solis5gBattery",
       "name": "NoPower",  
       "url": "<URL to Your local Solis Inverter>",
       "username": "<username>",
       "password": "<password>"       
     }
]

Core

Key Description Default
accessory Must be Solis5GAlarm N/A
name Name to appear in the Home app N/A
url URL To Your Solis5G Inverter N/A
username Username that you use to open webPage from Solis Inverter N/A
password Passord that you use to open webPage from Solis Inverter N/A

Optional fields

Key Description Default
useCloud If set to true, soliscloud.com service will be used instead of local network N/A
solis_url Main Solis URL where requests are send https://www.soliscloud.com:13333
solis_keyid Solis KeyId (obtain from Solis support) N/A
solis_secret Solis Secret (obtain from Solis support) N/A
solis_deviceSN Solis DeviceSN (Your DeviceSN) N/A

Additional options

Key Description Default
pollInterval Time (in seconds) between device polls 300
model Appears under the Model field for the accessory plugin
serial Appears under the Serial field for the accessory 000-000-000-001
manufacturer Appears under the Manufacturer field for the accessory author
firmware Appears under the Firmware field for the accessory version

Donation

If you like it, any BTC donation will be great. My BTC Wallet: 3Ma1KEEfvNbvfAEyvRvmGHxNs61qZE7Jew

Zrzut ekranu 2021-10-12 o 11 19 06