ecoen66 / homebridge-solaredge-inverter

SolarEdge Inverter plugin for homebridge
MIT License
14 stars 8 forks source link

Multiple inverters in the same site #1

Closed stepir closed 4 years ago

stepir commented 4 years ago

/edit

I took a look at the API documentation and will close this issue and open a new one with a better proposal

Hi

first of all thanks for your work! very happy to see solaredge integration with HomeKit finally!!

My site is composed by 3 inverters:

I tried adding 3 accessories as the following:

`{ "bridge": { "name": "Homebridge", "username": "DD:FF:3F:A3:CE:AB", "port": 51826, "pin": "031-45-124" }, "accessories": [ { "name": "SolarEdge Inverter 9K", "manufacturer": "SolarEdge", "model": "SE9K-RW00ENNN2", "serial": "xxxxxxxxxxxxx", "site_id": "xxxxxxxxxxxxx", "api_key": "xxxxxxxxxxxxx", "accessory": "SolarEdge Inverter" }, { "name": "SolarEdge Battery Inverter1", "manufacturer": "SolarEdge", "model": "SE5000H-RWSACNNN2", "serial": "xxxxxxxxxxxxx", "site_id": "xxxxxxxxxxxxx", "api_key": "xxxxxxxxxxxxx", "accessory": "SolarEdge Inverter" }, { "name": "SolarEdge Battery Inverter2", "manufacturer": "SolarEdge", "model": "SE5000H-RWSACNNN2", "serial": "xxxxxxxxxxxxx", "site_id": "xxxxxxxxxxxxx", "api_key": "xxxxxxxxxxxxx", "accessory": "SolarEdge Inverter" }

]

}`

homebridge start and I find the 3 inverters which all report the same lux value (784) - while on Solaredge portal the would be:

1.4Kw of production .89kw of consumption .6kw of battery charging

Any chance your code could easily support such scenario?

Thanks!