Sonoff ZBBridge Pro TCP dropping out every few minutes #23649
Replies: 2 comments
-
I think I solved the issue. I found a comment in Q&A. I found out that MqttTimeout was lowered to 200ms from 5 seconds. Now it's even lower per docs, only 4ms? Why so low? Anyway, I set it to 5 seconds now, almost 3 hours without disconnecting, while before it was every few minutes. Not sure if there are some consequences to this, I didn't notice anything so far. |
Beta Was this translation helpful? Give feedback.
-
I spoke to soon. It seems MqttTimeout is in seconds, not milliseconds. So setting it to 5000 was overkill. Anyway, I tried Reset 3, increasing wifi power to 20, increasing wifi timeout and I don't know what, but still I experience disconnects. Sometimes it will work for hours, then it starts dropping every few minutes. Anyone has any ideas? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I hope someone can help me, since I am going crazy. I am trying for couple of days to sort out this issue but without success.
I flashed tasmota to sonoff ZBBridge Pro, applied TCP config. I also flashed coordinator.
I also use Home Assistant, via Zigbee2MQTT, to connect to Sonoff.
But I am experiencing constant disconnecting every few minutes.
Zigbee2MQTT logs show:
[2025-07-07 21:53:37] error: zh:zstack:znp: Socket error Error: read ETIMEDOUT
[2025-07-07 21:53:37] info: zh:zstack:znp: Port closed
[2025-07-07 21:53:37] info: zh:zstack:znp: closing
[2025-07-07 21:53:37] error: z2m: Adapter disconnected, stopping
Tasmota logs show:
20:17:35.255 TCP: Got connection from 192.168.1.201 (1 already connected)
20:19:50.315 TCP: Got connection from 192.168.1.201 (1 already connected)
20:22:05.078 TCP: Got connection from 192.168.1.201 (0 already connected)
I tried with ZHA add-on, but same issue is present.
Sonoff is not dropping from wifi, since I can always access it via IP.
I use watchdog to keep Zigbee2MQTT running, but it's extremely annoying since switches I use are often unavailable.
Anone has any ideas what is happening here?
Beta Was this translation helpful? Give feedback.
All reactions