Zoozee MQTT continues to drop offline

I’m pretty new to mqtt - still trying to understand it.

I just flashed by first device, ZooZee SA102 outlet. I’ve enabled HA auto-discovery, but I’m noticing the device seems to drop offline ever couple seconds, then reconnects. HA flashes everything as Unavailable, then returns when device reconnects. Then, after about 10 or so times of this, it will permanently fail:

00:04:24 MQT: Attempting connection...
00:04:24 MQT: Connected
00:04:24 MQT: tasmota/tele/LWT = Online (retained)
00:04:24 MQT: tasmota/cmnd/POWER = 
00:04:34 MQT: Attempting connection...
00:04:34 MQT: Connect failed to 192.168.0.88:1883, rc -2. Retry in 10 sec

Why idea as to why?

what firmware did you flash it with?

How far is it away from your access point?

Router is not even 3 feet from it. Fresh flash from tuya-convert - https://github.com/ct-Open-Source/tuya-convert - 8.1.0.2(tasmota)

I’m actually noticing, as I go through the UI, it even stops responding every few seconds.

  • AP1 SSId (RSSI): IoT (100%, -48 dBm)
  • Core/SDK Version: 2_6_1/2.2.2-dev(38a443e)

Does your AP see it going on and off the network?

What channel is your AP on?

AP channel is set to Auto. Nighthawk R7000 Router, set as router behind router, 2.4ghx, 20/40 Coexistence is enabled.

Outlet does go offline - stop responding to pings, then returns. A pretty consistent pattern. I should note I have a good dozen devices connected to this SSID. This is the only one device exhibiting these issues.

According to the UI, the device is not rebooting:

  • Uptime: 0T00:22:06
  • Boot Count: 8 (from my settings)

Well, this is interesting: I’ve attempted to run a firmware upgrade - it failed, but it seemed to have cleared up the connection issues…

What I did:

  • Since WIFI continued to die out, I downloaded the .BIN file directly
  • Used the upload option
  • It failed with “Upload buffer miscompare” - BUT pings became consistent, very reliable.

I tried to an OTA firmware upgrade - it ran the upgrade, but then pings became inconsistent again. Attempting an upload upgrade (again) restored consistent connectivity. I’m confused… :confused:

Why did “Upload buffer miscompare” failure fix my constant wifi disconnections?

1 Like

I have no idea, the magic smoke was re-ingested :slight_smile:

--- 192.168.0.33 ping statistics ---
552 packets transmitted, 552 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.174/3.650/49.402/4.310 ms

Strange. What ever it be… it works now!