MQTT

38 views
Skip to first unread message

R Casorso

unread,
Apr 22, 2024, 8:17:40 AMApr 22
to TasmotaUsers
I have an odd issue, every hour some of my device become unavailable.  It seems to be at a set time each hour (within a few seconds)  and at different times on each device.  some devices seem to be fine.  I am using the Mosquitto broker and home assistant is running on a windows computer.  The MQTT log shows:
2024-04-21 19:54:30: New connection from 192.168.2.52:64934 on port 1883. 2024-04-21 19:54:30: Client DVES_D6F16B already connected, closing old connection. 2024-04-21 19:54:30: New client connected from 192.168.2.52:64934 as DVES_D6F16B (p2, c1, k30, u'switch1'). there is no duplicate of client names
Thanks

Philip Knowles

unread,
Apr 22, 2024, 8:18:59 AMApr 22
to R Casorso, TasmotaUsers
How many wifi devices and what's your router?

From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of R Casorso <rvca...@gmail.com>
Sent: 22 April 2024 13:17
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: MQTT
 
I have an odd issue, every hour some of my device become unavailable.  It seems to be at a set time each hour (within a few seconds)  and at different times on each device.  some devices seem to be fine.  I am using the Mosquitto broker and home assistant is running on a windows computer.  The MQTT log shows:
2024-04-21 19:54:30: New connection from 192.168.2.52:64934 on port 1883. 2024-04-21 19:54:30: Client DVES_D6F16B already connected, closing old connection. 2024-04-21 19:54:30: New client connected from 192.168.2.52:64934 as DVES_D6F16B (p2, c1, k30, u'switch1'). there is no duplicate of client names
Thanks

--
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/5e7fa3f0-06dd-4596-b286-68c5bddbfcddn%40googlegroups.com.

R Casorso

unread,
Apr 22, 2024, 8:35:54 AMApr 22
to TasmotaUsers
bit more, I checked the router log and the time is the same as when the DHCP router allocates an IP
2024-04-22 00:54:32 dhcp_server[7706]: <5> 01712251 DHCP Server allocated IP address 192.168.2.52 for the client[MAC: ].

Philip Knowles

unread,
Apr 22, 2024, 9:18:30 AMApr 22
to R Casorso, TasmotaUsers
You might be hitting the device limit for the router (some default to as low as 16 and then work on first come first served). It might be worth trying static addresses to see if that resolves it. 

Sent: 22 April 2024 13:35
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: MQTT
 

Ron Casorso

unread,
Apr 22, 2024, 9:20:03 AMApr 22
to Philip Knowles, TasmotaUsers
I'll give that a try, thanks


------ Original Message ------
From: "Philip Knowles" <knowles...@gmail.com>
To: "R Casorso" <rvca...@gmail.com>; "TasmotaUsers" <sonof...@googlegroups.com>
Sent: 4/22/24 6:18:21 AM
Subject: Re: MQTT

You might be hitting the device limit for the router (some default to as low as 16 and then work on first come first served). It might be worth trying static addresses to see if that resolves it. 
Sent: 22 April 2024 13:35
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Re: MQTT

Ron Casorso

unread,
Apr 24, 2024, 3:42:18 PMApr 24
to Philip Knowles, TasmotaUsers
I have 5 devices running combination of 8266 and esp32, problems with 1 each of the 8266 and esp32.   Router is TP-Link ER605 with multiple access points.  The devices that are having issues are connected to Dlink DAP:1820 access points (wired backhaul).  They are connected to different access points.   

------ Original Message ------
From: "Philip Knowles" <knowles...@gmail.com>
To: "R Casorso" <rvca...@gmail.com>; "TasmotaUsers" <sonof...@googlegroups.com>
Sent: 4/22/24 5:18:46 AM
Subject: Re: MQTT

How many wifi devices and what's your router?

From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of R Casorso <rvca...@gmail.com>
Sent: 22 April 2024 13:17
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: MQTT
 
I have an odd issue, every hour some of my device become unavailable.  It seems to be at a set time each hour (within a few seconds)  and at different times on each device.  some devices seem to be fine.  I am using the Mosquitto broker and home assistant is running on a windows computer.  The MQTT log shows:
2024-04-21 19:54:30: New connection from 192.168.2.52:64934 on port 1883. 2024-04-21 19:54:30: Client DVES_D6F16B already connected, closing old connection. 2024-04-21 19:54:30: New client connected from 192.168.2.52:64934 as DVES_D6F16B (p2, c1, k30, u'switch1'). there is no duplicate of client names
Thanks

--

R Casorso

unread,
Apr 27, 2024, 10:22:07 AMApr 27
to TasmotaUsers
Just an quick update.
Turns out the wireless access point was the issue put in a tp-link and connection is solid, no more unavailable.
I would not recommend the D-Link DAP-1820  (or any of the DAP access points) 
Cheers

AKS-Gmail-IMAP

unread,
Apr 30, 2024, 6:20:33 AMApr 30
to TasmotaUsers
Have you looked to see what the devices report for their signal RSSI and dBm for AP1 Information? I have seen the same symptoms for a device that due to what was between it and the AP was down in the -78 dBm or worse for signal reception. It was always slow to access. It was not until I was trouble shooting some other equipment when I happened to notice the MQTT broker log showing messages like what you have posted occurring every minute or so. Adding an old AP nearby brought the reception up to -45 dBm or so. Access became instantaneous. All the broker logging went away. 

Reply all
Reply to author
Forward
0 new messages