No problems, all kudos to the community!
The HW setup on the solar plant side is a Fronius Symo 5.0-3-M taking energy from 17x SunPower SPR-E20-327 solar panels. It’s a 3 phase system, hence the three energy phases in the items file - which the binding handles OK.
The smart meter is indeed connected via RS485 and being queried through the modbus connect to the inverter - a lovely little pink cable that looks like cat5 but is wired differently. It’s a 63A-3. Primary power goes to the 3 phase local meter (per regulation) then to the smart meter and power is consumed on each phase prior to feeding in, no battery (ROI is not there yet). This is why the reported energy generation is not the same as actual consumption as you can conceivably have consumption from the grid on any one or more of the three phases while any other phases are feeding in to the grid.
The calculation of total energy used vs. fed into the grid is not the same as the number reported by the PV generation channel in and of itself.
These would work with other items too, Fronius haven’t changed the way in which they communicate data. While I don’t have a gen24, I suspect it’s no different.
On the battery setup, I have none :(. However have been researching extensively. A three phase setup is not ideal for battery storage and consumption, but the smart meter will handle it if you set up the battery to take energy from and feed in to each phase as if they are parralell. It gets complex depending on consumption vs. generation for each phase - but in the same way I have calculated total feed-in to the grid by taking PV generation for each phase and then consumption for each phase, the same can be calculated for battery generation and consumption.
It will take a bit of trial and error on the variables I suspect - but can be obtained through the smart meter. Of course a single phase installation will be much easier.
The Fronius binding has a channel for battery power, but it’s a single channel and I haven’t experimented with that. Oh for a battery to test it out!