All meshes ‘forcibly disconnect’ devices it’s what they are designed to do. Mobile devices tend to hang on to the original AP that they connect to despite the signal quality falling. They will only connect to a different AP when they are forced to so meshes disconnect devices to make them join onto another hub.
Many mesh hubs are limited to 16 devices if one hub has a lot and another a few and a device is in range of both the mesh will often disconnect a device to make it join the other hub to even the load.
Sent from Mail for Windows
From: ilker Aktuna
Sent: 15 October 2021 08:22
To: TasmotaUsers
Subject: Re: Sonoff switch with Tasmota - Asus Aimesh - connection problem
Btw, I just checked; Tasmota shows 1 ssid with 2 MAC addresses. But it does not allow me to choose them individually.
On Friday, 15 October 2021 at 10:20:53 UTC+3 ilker Aktuna wrote:
This scenario is reasonable at some point. And Tasmota shows 2 mac addresses for wifi ssid when I scan on it. So I can configure it as you suggest (1st try 1st hub, then 2nd hub)
But I could not understand why " The mesh wants Tasmota to connect to Hub 2 so it forcibly disconnects Tasmota from Hub1 "
The mesh should not force Tasmota to connect to any hub. It is not configured that way.
On the other hand, I agree that putting the devices (router and mesh) on UPS would help but I can only put the main router on UPS. For nodes, I can't do that.
And the main router is really away from the Tasmota device. So UPS won't help in my case.
What else can I try ?
Btw, it really is occuring only on Tasmota. I have a Alexa Echo device very close to the Tasmota device and it never has any such problem.
On Friday, 15 October 2021 at 10:11:09 UTC+3 knowles...@gmail.com wrote:
I suspect (but can't prove) that the mesh and Tasmota are fighting each other.
Tasmota was connected to Hub1. The mesh wants Tasmota to connect to Hub 2 so it forcibly disconnects Tasmota from Hub1 but Tasmota can still see it and tries to reconnect. Eventually it sees Hub2 and the correct WiFi SSID but it has the wrong MAC address so sees this as a spoofing attempt and refuses to connect.
Tasmota could help if, when scanning for WiFi, it showed the MAC addresses so that you could select Hub 1 as AP1 and Hub2 as AP2.
I will emphasise (again) that I have experienced the same issues with Shelly, Broadlink and TP-Link devices on my mesh. Every other day or so I after a power outage I will lose 1 device which I need to restart to get it back online. The devices are all ones which are midway between mesh Hubs. After they've all been reconnected it's fine until the next power cut. One thing that definitely helped was putting the main Hub and the router on a UPS. I think devices were connecting to Hubs before the internet connection had been re-established and they couldn't find the NTP Server.
It's not just Tasmota.
From: sonof...@googlegroups.com <sonof...@googlegroups.com> on behalf of ilker Aktuna <ilker...@gmail.com>
Sent: Friday, October 15, 2021 6:34:21 AM
To: TasmotaUsers <sonof...@googlegroups.com>
Subject: Sonoff switch with Tasmota - Asus Aimesh - connection problem
Hi,
I have an Asus Aimesh mesh system with 1 router and 3 mini ax nodes at home.
Basically AX88U and 3 Zenwifi mini ax
My sonoff switch with Tasmota 9.5.0 is between 2 nodes and has a good cover of the 2.4Ghz wifi ssid.
After an electric cut in the house, the device could not reconnect.
Several hours later, I tried to manually connect and it did not work.
Then I made a factory reset and tried to re-associate. In the first 2 attempts it could see the ssid but could not connect.
I then made a configuration reset , restarted mesh nodes. Finally it could connect.
But now I'm anxious that it might fall into same state after another electric cut.
Is this a known configuration issue ?
How should I configure it so that it could connect.
Btw, none of my other 30+ wifi clients at home had such issue at the same electric cut.
Regards.
--
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/78dc3af7-9af6-4b82-b5f7-22a951547fb0n%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/c41b824e-d9f1-4643-929c-f7f8068d2e6an%40googlegroups.com.
You could try switching the busiest hub off and connect the Tasmota to the other hub as AP1. If that doesn’t improve matters switch the hub off and then connect to the busy hub as AP2. That may then let Tasmota switch hubs if the mesh wants to.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/055f4289-7ed4-436b-9f94-03c2266d37e0n%40googlegroups.com.
Just type it into the 2nd AP place. I think that Tasmota links the MAC address with the SSID so when you place it in the second slot they are different (although they obviously look the same). It’s worth a try.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/7f68884e-3020-4e4e-ab6f-56c5a37d9746n%40googlegroups.com.
The default is WiFiConfig 4. 5 may make things worse
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/78dc3af7-9af6-4b82-b5f7-22a951547fb0n%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/c41b824e-d9f1-4643-929c-f7f8068d2e6an%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/055f4289-7ed4-436b-9f94-03c2266d37e0n%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/7f68884e-3020-4e4e-ab6f-56c5a37d9746n%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/48cf3fa7-0467-4bb3-a8a7-a3a8e8f74df1n%40googlegroups.com.
There are lots of ESP8266 firmwares with this issue. The issue is the underlying library
It is a known issue. Some repeaters don't work well with the Arduino Core for ESP8266. Tasmota is built on top of the Arduino Core. And the Arduino core uses the SDK provided by Espressif (the manufacturer of the ESP8266) that is a closed source SDK. So, neither us nor the Arduino core team can solve this issue. Espressif won't open source their libraries and also the actual SDK type (NonOs) is no longer with support/fixes/development by them. Espressif have moved to RTOS Type and the Arduino core haven't moved to it yet because it requires a full rewrite of all the Arduino Core (too much work for a free open source project).
A possible solution from one person is
My solution: Activating the MAC-Filter in my AVM Fritz!Box Client, so that all Tasmota-Clients only connect to the Mesh Master.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/326d31c5-3b4b-481b-b37d-d5213ad5aeban%40googlegroups.com.
I would think it would achieve the same thing as the MAC filter. Most firmwares are based on the Espressif SDK but may cope differently with the problem. I have some Shelly devices which suffer the same and made it slightly better by reducing the numbers on each node.
Regards
Phil K
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/1dd80ed7-df49-49bc-8f7a-2fd34193ecd0n%40googlegroups.com.
I have a similar issue with a couple of Shelly devices and one running Open MQTT Gateway. The other day a Google Home Hub and my Trio Smart Meter display dropped off the mesh which was resolved by powering them off.
The Tasmota (and Shelly) devices that remain in the same state for long periods seem worse affected. If you have the TelePeriod at the default shortening it to a minute may help but no promises.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/70b78628-18e6-4ebe-9056-78912b4f1bfdn%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/7E831D75-3494-4506-AAE3-560BCC53E1F4%40hxcore.ol.
Well, I’d replace the Tasmota device with a Shelly 1 as its inputs will accept mains voltages (you could flash it with Tasmota if you wish). Power the Shelly permanently from the live input to the ZiigBee and connect the output from the ZigBee to the SW input on the Shelly
You could also look at the Sonoff ZBMINI which could be bound to the PIR
Sent from Mail for Windows
From: ilker Aktuna
Sent: 31 October 2021 17:01
To: TasmotaUsers
Subject: Re: Sonoff switch with Tasmota - Asus Aimesh - connection problem
ok. let me try to explain.
there is only 2 power lines in my bathroom. First is used for power outlet (hairdrye etc.)
The second one is attached to 2 devices which work simultaneously. The ceiling lamp and the ventilator.
So, normally when the ceiling lamp is turned on, ventilator starts.
I have this power line controlled by a zigbee switch. It is triggered by a motion sensor.
So when there is motion, the zigbee switch turns on the ceiling lamp which means also the ventilator starts.
To stop the ventilator when I don't want it running, I attached a esp switch (the tasmota device) to the input of the ventilator.
So, it can not receive power all the time. Because the ceiling lamp will be shut off when there is no motion.
Now, I hope you can understand why the tasmota device needs to be powered on "when needed"
any suitable solution ?
On Sunday, 31 October 2021 at 08:39:15 UTC+3 knowles...@gmail.com wrote:
The Arduino core is based on Espressif's (the manufacturer of the ESP8266) SDK so it's most likely that all other firmware's will be based on the same.
It would've helped if you had mentioned the minor issue of it attempting to rejoin the mesh at the beginning. The device isn't been forced to switch by the mesh. It's attempting to rejoin and the mesh looks at its load levels and decides which hub to let it join.
You may get better results by using GPIO16 and putting the ESP8266 into 'deep sleep' mode rather than powering it off.
Unless you are trying to conserve battey power (which again it would've helpful to let us know) you would be better leaving the 8266 powered on.
A full description of what you are trying to achieve would help us to resolve this
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/70b78628-18e6-4ebe-9056-78912b4f1bfdn%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/7E831D75-3494-4506-AAE3-560BCC53E1F4%40hxcore.ol.
--
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/9932fb57-d8a6-4921-a355-ee7033968db9n%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/ffad08c2-5a5c-4e39-b68f-716ea8f41325n%40googlegroups.com.