Hi Willem,
Perhaps Ronny can show you some possibilities? He uses his Modbus app to control stuff
The Solaredge + Growatt TCP Modbus app might do the job as well (it’s not limited to these 2 brands):