A proxy for
for easy
integration
# Overview This proxy enables a reliable connection between TSUN third generation inverters and an MQTT broker. With the proxy, you can easily retrieve real-time values such as power, current and daily energy and integrate the inverter into typical home automations. This works even without an internet connection. The optional connection to the TSUN Cloud can be disabled! In detail, the inverter establishes a TCP connection to the TSUN cloud to transmit current measured values every 300 seconds. To be able to forward the measurement data to an MQTT broker, the proxy must be looped into this TCP connection. Through this, the inverter then establishes a connection to the proxy and the proxy establishes another connection to the TSUN Cloud. The transmitted data is interpreted by the proxy and then passed on to both the TSUN Cloud and the MQTT broker. The connection to the TSUN Cloud is optional and can be switched off in the configuration (default is on). Then no more data is sent to the Internet, but no more remote updates of firmware and operating parameters (e.g. rated power, grid parameters) are possible. By means of `docker` a simple installation and operation is possible. By using `docker-composer`, a complete stack of proxy, `MQTT-brocker` and `home-assistant` can be started easily. ## ℹ️ This project is not related to the company TSUN. It is a private initiative that aims to connect TSUN inverters with an MQTT broker. There is no support and no warranty from TSUN. ## ```txt ❗An essential requirement is that the proxy can be looped into the connection between the inverter and TSUN Cloud. There are various ways to do this, for example via an DNS host entry or via firewall rules (iptables) in your router. However, depending on the circumstances, not all of them are possible. If you use a Pi-hole, you can also store the host entry in the Pi-hole. ``` ## Features - supports TSUN GEN3 PLUS inverters: TSOL-MS2000, MS1800 and MS1600 - supports TSUN GEN3 inverters: TSOL-MS800, MS700, MS600, MS400, MS350 and MS300 - `MQTT` support - `Home-Assistant` auto-discovery support - Self-sufficient island operation without internet - runs in a non-root Docker Container ## Home Assistant Screenshots Here are some screenshots of how the inverter is displayed in the Home Assistant:| Micro Inverter Model | Fw. 1.00.06 | Fw. 1.00.17 | Fw. 1.00.20 | Fw. 1.1.00.0B |
|---|---|---|---|---|
| GEN3 micro inverters (single MPPT): MS300, MS350, MS400 MS400-D | ❓ | ❓ | ❓ | ➖ |
| GEN3 micro inverters (dual MPPT): MS600, MS700, MS800 MS600-D, MS800-D | ✔️ | ✔️ | ✔️ | ➖ |
| GEN3 PLUS micro inverters: MS1600, MS1800, MS2000 MS2000-D | ➖ | ➖ | ➖ | ✔️ |
| TITAN micro inverters: TSOL-MP3000, MP2250, MS3000 | ❓ | ❓ | ❓ | ❓ |