Hi Robin, thanks for taking the app on and adding the Modbus drivers. I’ve been testing Inverter (Modbus), Battery (Modbus) and Meter (Modbus) on app v2.1.2 since 22 Oct, alongside the older SolarEdge + Growatt app for comparison. The meter and battery look great. I’ve found one issue on DC-coupled systems, and I have two requests.
Setup: a SolarEdge inverter with a DC-coupled SolarEdge battery and a SolarEdge Modbus meter, on Homey Pro (Early 2023). No backup interface.
1. Inverter (Modbus) power is AC output, so on a DC-coupled system it isn’t PV generation
Inverter (Modbus) measure_power is the inverter’s AC power, and meter_power is its lifetime AC energy. With a DC-coupled battery, that AC figure includes whatever the battery is doing. From my Insights, using the app’s own Battery (Modbus) readings:
| Time |
Inverter (Modbus) |
Battery (Modbus) |
Actual PV |
| 22 Oct 12:40, charging from PV |
~300 W |
+1,770 W |
~2.1 kW |
| 22 Oct 12:49, battery idle |
1,644 W |
0 W |
1,644 W |
| 23 Oct 03:00, charging from grid |
−4,936 W |
+4,900 W |
~0 W |
| 23 Oct 16:50, discharging at peak |
~+4,990 W |
−5,000 W |
~0 W |
So PV ≈ inverter AC power + battery power (battery positive when charging). The small negative remainder while grid-charging is conversion losses.
The inverter is solarpanel class, so Homey Energy takes this as solar generation. Including it in Energy would:
- show about 5 kW of “solar” at dusk while the battery discharges, as well as the battery discharging, so the discharge is counted twice;
- miss solar that goes straight into the battery;
- show negative solar overnight, which the SDK says Homey treats as consumption.
I noticed your cloud inverter driver already handles this. It adds the battery to the AC power for DC-coupled sites, so for now I’m keeping the cloud inverter as my Energy solar source.
Request: could Inverter (Modbus) report PV the same way the cloud driver does, by adding the battery’s power whenever the inverter has a DC-coupled battery? The app can detect one from the battery registers, as the battery driver already does when pairing, whether or not a Battery (Modbus) device is paired. Without a battery the battery term is zero, so nothing changes for anyone else.
measure_power = AC power + battery power, clamped at 0.
meter_power = cumulative PV energy. I don’t think the registers give PV energy directly: the AC energy counter only counts production and stays flat while charging from the grid. The app would probably need to integrate PV power itself and keep the total in the device store.
- The raw AC readings could move to sub-capabilities, for example
measure_power.ac and meter_power.ac, for anyone who wants them.
That would make the three Modbus devices a complete, fully local Homey Energy setup for DC-coupled installations.
2. Small request: one decimal on battery SoC
Battery (Modbus) measure_battery is rounded to whole percent: 92 when the other app showed 91.46. The register is a float, so one decimal would help flows with thresholds near 100%.
3. Request: charge and discharge limit controls on Battery (Modbus)
My battery automation relies on one SolarEdge behaviour: self-consumption with the discharge limit set to 0 W. Solar can still charge the battery, but it doesn’t discharge into the house. I hold the battery like that every day until the evening peak, and in the evening before grid events. I currently write the remote-control charge and discharge limit registers with the older app.
The new modes don’t seem to cover this. Homey mode at 0 W idles the battery, which also stops solar charging it. Your source notes the backup reserve only applies with backup hardware, which my inverter doesn’t have, so it can’t be used as a floor either.
Could Battery (Modbus) expose the charge and discharge limits, for example as action cards “Set discharge limit to … W” and “Set charge limit to … W”? That would let me retire the older app completely.
Happy to test a build, send a diagnostics report, or share more Insights data. Thanks again!