based on the code of https://github.com/Stog/homebridge-fronius-inverter and https://github.com/ecoen66/homebridge-solaredge-inverter
The plugin use the Solaredge's Portal API 'currentPowerFlow' to extract the following information:
Follow the example config.json to properly configure the needed accessories. Given what homebridge/homekit support today, power device are done with Light Sensor and the battery as a Humidity Sensor. Light Sensors will display their value (KW) in Lux, while Humidity Sensors reports a percentage.