Hi! This driver reads FoxESS inverters (including WEG rebrands) through the FoxESS Cloud OpenAPI, with the same API key used by the Home Assistant integration.
It exposes PV, load, grid, battery and EPS power, daily energy, battery SoC and SoH, voltages and currents, and powerSource / gridStatus from the inverter's running state (on-grid vs off-grid/EPS). That's handy for power-outage automations, e.g. turning off a water heater when the house switches to battery.
Install: Hubitat Package Manager → search "FoxESS Cloud OpenAPI", or Install → From a URL with https://raw.githubusercontent.com/rngarcia/hubitat/main/drivers/foxess-cloud/packageManifest.json
Code and docs: hubitat/drivers/foxess-cloud at main · rngarcia/hubitat · GitHub
Note: the OpenAPI allows 1,440 calls per day per key, shared with any other integration using it. With the default 5-minute interval, the driver uses about 500.
Credits: authentication, endpoints and variable mapping are based on foxess-ha by macxq and contributors.
@LeDo @brumster: you asked about FoxESS support here, in case it's still useful.