The wifi isn’t dropping so it’s a MQTT issue. It’s worth looking at the MQTT logs for errors Is the disconnection roughly every 40 seconds?
Regards
Phil K
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/1ea1904b-938f-4afe-8cf4-addd87f42fa3n%40googlegroups.com.
I wonder why this is happening?
May 4 12:14:57 webcam-salon ESP-MQT: Unsubscribe from homeassistant/status
A common cause of frequent MQTT disconnects is 2 clients with the same name but don’t think this is the case here.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/63e4a1dd-22b1-40fa-bef6-fa8f2ebbf597n%40googlegroups.com.
The date of the post would point to v9.2.0 so it may be worth trying that version just in case a bug has been introduced.
Regards
Phil K
![]()
From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of frederic...@gmail.com <frederic...@gmail.com>
Sent: Friday, May 7, 2021 6:56:43 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: Ai-thinker ESP32 - constant reconnection after few hours of use
Hi Phil,
I did follow this good article first time. I do it again with latest development firmware -webcam one). Let see how it goes.
I will flash again the board as specified in the article as next step if MQTT issue is still there.
Le vendredi 7 mai 2021 à 07:42:22 UTC+2, knowles...@gmail.com a écrit :
I think it might be worth reading this page
He has the same board
Regards
Phil K
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/4d1144e4-92f4-429a-b1fb-6c89d6e223cen%40googlegroups.com.

I think it may be Mosquitto V2 – there are a few Issues on GitHub with Tasmota users on V2 . The problem is that you have too many variables to check. If you update Mosquitto on the second Pi (or downgrade on the first) you can at least narrow it down.
Regards
Phil K
Sent from Mail for Windows 10
From: frederic...@gmail.com
Sent: 31 May 2021 06:57
To: TasmotaUsers
Subject: Re: Ai-thinker ESP32 - constant reconnection after few hours of use
Hi,
I have got a new device and have the same issue.
I am doing a test.
Instead of using mosquitto broker on a raspberry where domoticz is running with option "false" to prevent loop, I use another mosquitto broker available on another raspberry where HA is running.
With the first case (raspberry domoticz), mosquitto version is 2.0.10.
With the second case (raspberry HA), mosquitto version is 1.6.12.
Do you think that the issue must be related to the version of mosquitto ? Or the fact that I have the option set to false to prevent loop ?
FYI, the issue regarding constant reconnection is only on esp webcam devices.
Le samedi 8 mai 2021 à 18:15:57 UTC+2, frederic...@gmail.com a écrit :
I tried few other options like mqtt over tls, went back to 9.2.0. No improvement.
As soon as domoticz is enable, I get the issue. If domoticz is disabled, all good.
I give up....:-(
Le vendredi 7 mai 2021 à 14:08:04 UTC+2, frederic...@gmail.com a écrit :
With latest version 9.4.0.3 from the development branch same issue.
Currently running with the firmware I have compiled 9.4.0.3 with followings options:
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/973d21af-5308-4e47-9fa0-ac7bdb6ab772n%40googlegroups.com.
It could be as simple as
listener 1883allow_anonymous trueas these are significant changes between 1.6 and 2.0 (apparently)
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers..@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/1ea1904b-938f-4afe-8cf4-addd87f42fa3n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/63e4a1dd-22b1-40fa-bef6-fa8f2ebbf597n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/bc333195-3497-4bce-8b72-730e9dd1ee81n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/4d1144e4-92f4-429a-b1fb-6c89d6e223cen%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/973d21af-5308-4e47-9fa0-ac7bdb6ab772n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/6c3a6669-58f1-4198-bc4f-692d87034ec7n%40googlegroups.com.