-
-
Notifications
You must be signed in to change notification settings - Fork 8
Operation Modes Overview
the proxy can be operated in different modes.
In server mode, the proxy listens on a well known ports and the inverter establishes the connection to the proxy. To do this, the inverter first resolves the FQDN (fully qualified domain name) and thus receives the IP address of the TSUN Cloud. It then establishes the connection to the IP address and the well known port.
Depending on the inverter used, there are various options for redirecting the connection setup to the proxy.
GEN3 inverters use a solution with a proprietary protocol from Raymon to connect to the TSUN server. The server is accessible under the FQDN logger.talent-monitoring.com
. It is a simple TCP connection to the well-known port 5005, so we can simply redirect the connection to the proxy.
GEN3PLUS inverters use the known protocol solarman V5 to connect to the TSUN server. The server is accessible under the FQDN iot.talent-monitoring.com
. It is a simple TCP connection to the well-known port 10000, so we can simply redirect the connection to the proxy.
TSUN has upgraded some GEN3PLUS inverters so that they now only support SSL connections. The server is accessible under the FQDN iot.talent-monitoring.com
. This is an encrypted TCP connection to the known port 10443. As the inverter does not support the deactivation of the certificate check, nor can we upload our own CA certificate to the inverter, this connection cannot be used with the proxy.
But you can use the Client Mode
on such inverters.
If an inverter is connected to the proxy (server-mode
), the proxy can establish a second connection to the TSUN Cloud. This is known as proxy mode, in which the proxy behaves like an inverter for the TSUN Cloud. In proxy mode, the proxy can forward the data from the inverter or filter certain data or commands. For example, you can send your measured values to the cloud, but filter update commands or password queries from the cloud.
For now the proxy supports the raymon and solarman protocol and can establich a connection to the well-known ports 5005 and 10000.
An encrypted connection to the TSUN Cloud via the well-known port 10443 is currently not supported
In client mode, the proxy establishes the connection to the inverter. This mode is only supported by GEN3PLUS inverters that listen on port 8899 for this function. The inverter IP address is specified in config.toml so that the inverter can be reached by the proxy. The inverter should have a fixed IP address. The use of DNS is currently not recommended, as the proxy directly addresses a DNS server on the Internet to support the proxy mode and this cannot resolve the local names.
Please ask questions in the discussions area