The web UI for the Sunny Island has a section for Modbus. Activating that, I can connect on the port (502). So it looks like it has that.
I gather (sorry, new to this) that modbus is a standard interface, so that presumably makes it more likely that there's some existing code which can use that?