Hi there,
I’m trying to put together tasmotized sonoff bridge with HA. I’ve digged through internets for 2 days and couldn’t find one simple tutorial how to do it. I’ve seen some videos from 2019, so the topic is a bit obsolete. Anyway. Is there anyone who can write some comprehensive help for dense people like me?
the bridge has tasmota on it, mosquitto is installed but all I get is:
1613226783: New connection from 192.168.1.18 on port 1883.
1613226783: Socket error on client <unknown>, disconnecting.
similar on the bridge:
15:39:06 MQT: Attempting connection...
15:39:06 MQT: Connect failed to 192.168.1.20:1883, rc 5. Retry in 120 sec
Thank you!!
1 Like
I’m was having the exact same issue with my Sonoff bridge. I flashed it with Tasmota, also flashed the radio and all that jazz and got the exact same rc 5 errors you have. I double, triple…hell, probably 20-checked the password and it matched my HA account for mqtt. I was just using “mqtt” as my password, so it was short.
Then I changed the mqtt password to an 8-char password a voila, it worked!
So if you’re using a short password, trying making a longer one. Be sure to reboot Mosquitto add-on when you change the password in your MQTT integration. My MQTT integration would connect until after I restarted.
Hope this helps. Although 4 months later, so you probably already solved the problem.
I have got same problem, spend 3 hours before solution:
- Every sonoff device with tasmota 9.5 works with mqtt/mqtt (user/pass), but rf bridge does not work. RC5 error codes dropped.
- After changing password to mq2020tt it works!
- After that every device need to be updated. So these works too.
(There is a same chip 8285, same firmware (updated same day) but different…)