Important Notice
This article is intended for SolarEdge inverter installers or people having experience configuring SolarEdge inverters. Do not attempt the steps in this article if you've never worked with "SetApp" before. There's no guarantee on the accuracy of this article and you do this on your own risk.
If you are reading metrics from your SolarEdge inverter using the Modbus connection (usually listening on port tcp/1502 on the inverter), you might sometimes run into problems that Modbus is no longer responding.
As the communication no longer works, no metrics are retrieved and your custom SolarEdge dashboard shows "No data".

The reason for the communication loss is unknown, however there is a way to restart the Modbus listener on the inverter. The downside is: The restart needs to be done on-site with the SolarEdge SetApp app.
Connect to the SolarEdge inverter using SetApp
The SolarEdge SetApp app is a mobile app created for the installers of the inverter. In order to use the SetApp you need to login with a SolarEdge account.
Standing physically in front of the inverter, toggle the red power switch to the left "P" side. Make sure to do this quickly and release the switch back to position 1. Do not hold the switch or the inverter will reboot. This will start the internal WiFi of the inverter.

Now open the SetApp and scan the QR code, which should be found on a sticker on the right side of the inverter. Your phone should now connect to the WiFi of the inverter. The WiFi name should be "SEDGxxxxxx".
Note: Sometimes it's necessary to do a manual connection using your phone's WiFi settings. The WiFi SSID and password can be found on the sticker close to the QR code.
Restart Modbus TCP in SetApp
With your SetApp connected to the inverter's WiFi, you should be able to see the menu in your app. Tap on the "Site Communication".

One of the entries is the RS485-1 communication connection, usually used as "Modbus" communication. Tap on "Modbus (Multi-Device)".
SetApp should now show details about the "Modbus TCP port" settings. Modbus TCP should be set to "Enabled" and the default Port is usually set to "1502".

Tap on the first entry "Modbus TCP". You will see a choice between "Enable" and "Disable". Tap on "Disable". This stops the Modbus service inside the inverter. In the SetApp app the check icon should switch to "Disable" after a few seconds.

Once disabled, wait a few seconds, then reverse the settings by enabling Modbus TCP again.

This basically "restarts" the Modbus TCP service on the inverter.
The Modbus communication to the inverter's IP address and tcp/1502 (or an alternative port if differently configured) should now work again.

The Modbus communication to the inverter's IP address and tcp/1502 (or an alternative port if differently configured) should now work and data can be retrieved again.
