LAN
SMA Energy Meter
LAN connection

No configuration is necessary. You can connect up to 20 devices.
Connect the Energy Meter, regardless of what is to be measured, so that the lower terminals always point in the direction of the "public power grid".