![npm](https://camo.githubusercontent.com/d92b8b93e8fa41f1e8db42b06f884fac2d2613ccd53f99843b5892131bbc618f/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f64742f686f6d656272696467652d736f6c697335672d616c61726d2e737667)
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.
- Install homebridge
- Install this plugin:
npm install -g homebridge-solis5g-battery
- Update your
config.json
file
"accessories": [
{
"accessory": "Solis5gBattery",
"name": "NoPower",
"url": "<URL to Your local Solis Inverter>",
"username": "<username>",
"password": "<password>"
}
]
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 |
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 |
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 |
If you like it, any BTC donation will be great. My BTC Wallet: 3Ma1KEEfvNbvfAEyvRvmGHxNs61qZE7Jew
![Zrzut ekranu 2021-10-12 o 11 19 06](https://user-images.githubusercontent.com/3016639/136928595-3eef3c29-e3ee-449b-95be-364fd5fbdab9.png)