tobiasfaust / SolaxModbusGateway

Modbus RTU to MQTT Gateway
GNU General Public License v3.0
55 stars 17 forks source link

ESP Gateway loses ModBus connection to Growatt inverter #6

Closed saschoctm closed 1 year ago

saschoctm commented 1 year ago

The Gateway repeatedly loses connection to the Growatt SPH inverter. So far about every 7 days. The problem exists with 3 different installations, all with Growatt SPH inverters.

In case the connection is broken:

tobiasfaust commented 1 year ago

Hi, Please use at first the real RX/TX Pins 16 and 17. The past shows us, that other pins could raise wierd problems. If that not helps, please use another ESP32.

saschoctm commented 1 year ago

Pins 16 and 17 are used.

tobiasfaust commented 1 year ago

unfortunally, i cannot confirm your behavior. At other growatt inverters, no problems occurs. At my Solax, the ESP works since last update 23 days ago with no failures.

I case of failure, can you connect to WebUI? The ESP lives? GND is connected to your Inverter? Maybe you can monitor your ESP at seriell console. And change your ESP32 to another one.

saschoctm commented 1 year ago

I have no GND connected, is this nesseccary? Why? Next time when loosing connection I will try to monitor and check if WebUI is still alive. I think so that ESP is still alive because Rx/Tx is still working, otherwise LED would be dead too or? I ordered already another ESP and will check if that helps.

tobiasfaust commented 1 year ago

like described in my wiki, a missing ground connection "can" (!) raise some weird failures. Ok, if RX/TX are blinking so ESP isn´t dead ;)

You can try some options: