No ESP Easy connection to my other WiFi access points with same SSID

Moderators: grovkillen, Stuntteam, TD-er

Message
Author
Bracew
New user
Posts: 5
Joined: 20 May 2018, 12:53
Location: Germany

No ESP Easy connection to my other WiFi access points with same SSID

#1 Post by Bracew » 20 May 2018, 13:24

Hello,

I use ESP Easy mega-20180513 on NodeMCU V2 Amica with a DHT22 sensor.
Works well.

I have 1 wifi network with SSID "test".
There are 3 overlapping WiFi access points (AP) in the network.
All AP have SSID "test" with same Password.
Each AP has its own BSSID = Mac address.

JSON Printout:

Code: Select all

   WiFi
   Host Name   "ESP Easy-0"
   IP config   "DHCP"
   IP          "192.168.0.60"
   Subnet Mask "255.255.255.0"
   Gateway IP  "192.168.0.254"
   MAC address "5C: CF: 7F: 76: F8: 3A"
   DNS 1       "192.168.0.254"
   DNS 2       "0.0.0.0"
   SSID        "Test"
   BSSID       "EC: 08: 6B: 50: 28: 1E"
   channel     11
 
Unfortunately, ESP Easy uses only one AP with the Mac address "EC: 08: 6B: 50: 28: 1E".
If this is not available, ESP Easy will not connect to the other APs.

How can I set ESP Easy to connect to any AP with SSID "test" regardless of the BSSID?

Greeting Bracew

Translated by Google Translator from German to English

User avatar
Methuselah
Normal user
Posts: 45
Joined: 04 Feb 2018, 01:39
Location: Boston, MA

Re: No ESP Easy connection to my other WiFi access points with same SSID

#2 Post by Methuselah » 21 May 2018, 18:50

I have the same issue. No workaround I am aware of.
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape :)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#3 Post by TD-er » 21 May 2018, 22:47

I am planning to add a proper fix for this, but it involves to store the BSSID's (at least in memory).
Currently the BSSID is not stored, so it should be possible to connect to another one at (cold) boot.

If that's not working, it will confirm my suspicion the core library is storing the BSSID somewhere I am not fully aware of.

Bracew
New user
Posts: 5
Joined: 20 May 2018, 12:53
Location: Germany

Re: No ESP Easy connection to my other WiFi access points with same SSID

#4 Post by Bracew » 22 May 2018, 12:01

Hallo TD-er,

please look at my JSON Printout above.

Code: Select all

BSSID       "EC: 08: 6B: 50: 28: 1E"
So, I think the BSSID is stored somewhere because it is displayed.

My ESP Easy on NodeMCU can't cold boot to another AP if I tried.

A correction fix would be great!

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#5 Post by TD-er » 23 May 2018, 00:10

A lot of the displayed information is collected at runtime.
Only the SSID and password is being stored in the ESPeasy settings.

There is however some function in the core libraries to store the last used BSSID on a successful connect.
This to allow a faster reconnect when the connection is lost or the unit is rebooted.

I did disable this feature to write less often to the flash. (or else any connect/reconnect would trigger a write)
But is looks like in the background some units still have this BSSID stored somewhere in the core library settings (not ESPeasy settings)
I am not sure what caused this settings to be stored, because ESPeasy doesn't do that. At least the versions in the last month and probably longer.
But the presence of these settings may affect behavior when reconnecting to WiFi.

Bracew
New user
Posts: 5
Joined: 20 May 2018, 12:53
Location: Germany

Re: No ESP Easy connection to my other WiFi access points with same SSID

#6 Post by Bracew » 23 May 2018, 20:58

Hi TD-er,

at the moment ESPeasy connects not to the best Wifi RSSI stored SSID. Sometime it do not connect anyway, because it is to far away from the stored BSSID.
No Data, no benefit!

How can we fixed it, having a workaround?

Automaticly:
Is it possible to clear BSSID?
Is it possible to make a switch, with / without BSSID?
A new release without BSSID-based, only SSID-based connecting?

Manualy:
In ESPeasy menu: Tools - Scan
ESPeasy shows all SSID with its BSSID. I can see all my reachable AccessPoints with its Name [SSID] and Mac-Adress [BSSID], but I can't select the one I want! Can you make it selectable there?

Greeting Bracew

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#7 Post by TD-er » 23 May 2018, 21:12

The BSSID is not stored in flash, as far as I know.
So if you reboot (cold boot), it should start a search for wifi with the set SSID/password.
And it should connect to the strongest one, but there is a possibility it is not always the strongest one, since the power-save option is enabled by default, which means the WiFi is not on all the time and thus it may miss the beacon signal of the strongest one while scanning.

That's one thing I want to change and also I want to store the BSSID and keep track of the strongest ones to reconnect to the strongest BSSID.
But that's something that's not going to change right now.

User avatar
Methuselah
Normal user
Posts: 45
Joined: 04 Feb 2018, 01:39
Location: Boston, MA

Re: No ESP Easy connection to my other WiFi access points with same SSID

#8 Post by Methuselah » 24 May 2018, 03:26

TD-er wrote: 23 May 2018, 21:12 So if you reboot (cold boot), it should start a search for wifi with the set SSID/password.
I can definitely say this doesn't seem to be what is happening. All my APs have the same SSID. My Sonoffs refuse to connect, even after power cycling.
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape :)

Bracew
New user
Posts: 5
Joined: 20 May 2018, 12:53
Location: Germany

Re: No ESP Easy connection to my other WiFi access points with same SSID

#9 Post by Bracew » 24 May 2018, 18:53

Hi,

today I placed my ESP-Easy device between two Wifi Access Points (AP). Everytime I switch off one of these two AP the ESP-Easy device connect to the other AP and vise versa. If both AP are on, the ESP-Easy device do not connect to the better one. It stay on the last AP, even when it has bad conditions and sometimes failure.

Greeting Bracew

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#10 Post by grovkillen » 24 May 2018, 19:52

What differences in RSSI are we talking about?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

Bracew
New user
Posts: 5
Joined: 20 May 2018, 12:53
Location: Germany

Re: No ESP Easy connection to my other WiFi access points with same SSID

#11 Post by Bracew » 24 May 2018, 21:36

Now the difference is 15

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#12 Post by TD-er » 25 May 2018, 20:17

Methuselah wrote: 24 May 2018, 03:26
TD-er wrote: 23 May 2018, 21:12 So if you reboot (cold boot), it should start a search for wifi with the set SSID/password.
I can definitely say this doesn't seem to be what is happening. All my APs have the same SSID. My Sonoffs refuse to connect, even after power cycling.
Could you test/confirm this behavior on a fresh new ESP unit, which has never had another ESPeasy running before?

customdev
New user
Posts: 1
Joined: 25 May 2018, 23:46

Re: No ESP Easy connection to my other WiFi access points with same SSID

#13 Post by customdev » 25 May 2018, 23:58

I can confirm that I am having problems with multiple access points of the same SSID and password. I use WDS to have one SSID across my home, garage, and shop. Thus far out of the fifteen or so ESPEasy devices I have connected only the latest two projects have been affected. These two devices have the mega-20180417 build flashed on them.

Both devices are within four feet of their respective access points with complete unobstructed line of sight for the signal. They are LinkNode D1 boards if that would happen to matter. I have run ESPEasy on everything from the ESP-03 clear up to the ESP32 without difficulty. Even the ESP32 build seems very robust in comparison... Thoughts?

User avatar
Methuselah
Normal user
Posts: 45
Joined: 04 Feb 2018, 01:39
Location: Boston, MA

Re: No ESP Easy connection to my other WiFi access points with same SSID

#14 Post by Methuselah » 26 May 2018, 03:59

TD-er wrote: 25 May 2018, 20:17
Methuselah wrote: 24 May 2018, 03:26
TD-er wrote: 23 May 2018, 21:12 So if you reboot (cold boot), it should start a search for wifi with the set SSID/password.
I can definitely say this doesn't seem to be what is happening. All my APs have the same SSID. My Sonoffs refuse to connect, even after power cycling.
Could you test/confirm this behavior on a fresh new ESP unit, which has never had another ESPeasy running before?
Not easily, I would have to order another sonoff off amazon. I can test in a few days when it arrives. Which build should I flash?
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape :)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#15 Post by TD-er » 27 May 2018, 01:13

One of the latest.
Thing is that I suspect some versions in the past to have written BSSID to flash and when present it will use those settings.

I may also have a look at how to clear those settings, just to make sure.

User avatar
Methuselah
Normal user
Posts: 45
Joined: 04 Feb 2018, 01:39
Location: Boston, MA

Re: No ESP Easy connection to my other WiFi access points with same SSID

#16 Post by Methuselah » 27 May 2018, 02:34

I ordered another 4CH Pro. It’ll be here Tuesday (holiday Monday, so no delivery) and I’ll post results shortly thereafter.
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape :)

User avatar
Methuselah
Normal user
Posts: 45
Joined: 04 Feb 2018, 01:39
Location: Boston, MA

Re: No ESP Easy connection to my other WiFi access points with same SSID

#17 Post by Methuselah » 31 May 2018, 13:18

Edit (update):

Sonoff arrived yesterday, but stupid me, I accidentally shipped it to work, and as Sod's Law would have it, it gets delivered after I leave for the day.

I flashed it this morning and joined it to my local wifi access point. Latest build downloaded this morning.

Initial setup was on a wifi access point w/ bssid 00:23:69:5A:9C:2E. Device will consistently connect to this wifi access point.

Set up another wifi access point, bssid 00:1d:7e:6b:00:52. Device will consistently connect to this access point when it is closer.

removing either, device will connect to the other.

Will test more when I get home and update later, my SSIDs at home are the same as here.

Edit (last update):

New Sonoff connected at home no problems.

Flashed new 5-24 firmware to problem Sonoffs, still wouldn't connect.

Reset unit by performing an erase_flash and then flashed the new firmware. Reinstalled config/rules, rebooted, connected fine.

All problem units back online after doing the erase_flash/load new firmware process, rather than simply doing an firmware flash.
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape :)

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#18 Post by TD-er » 31 May 2018, 20:13

So after a complete erase (not just reset to default), all is working fine?
Thanks, that does support my hypothesis about some pre-configured values stored in the core lib wifi settings.

User avatar
Methuselah
Normal user
Posts: 45
Joined: 04 Feb 2018, 01:39
Location: Boston, MA

Re: No ESP Easy connection to my other WiFi access points with same SSID

#19 Post by Methuselah » 31 May 2018, 20:20

TD-er wrote: 31 May 2018, 20:13 So after a complete erase (not just reset to default), all is working fine?
Thanks, that does support my hypothesis about some pre-configured values stored in the core lib wifi settings.
Yes. All works fine after fully erasing the flash, flashing the latest build, and then restore configuration/rules. Your hypothesis is sound.
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape :)

astrastudio
New user
Posts: 5
Joined: 20 Jun 2018, 14:36

Re: No ESP Easy connection to my other WiFi access points with same SSID

#20 Post by astrastudio » 20 Jun 2018, 14:44

I have a similar issue. However, erasing all flash/config did not help.

It looks to me that the ESP does connect to the AP with the lowest channel, regardless of the signal strength.
In my testcase the ESPEasy sees 2 APs with both the same SSID. One on channel 1 with -79dB and one on channel 11 with -52dB.
It always selects to the one with the lowest channel, not the strongest signal.

How is this possible? Is ESPEasy in charge of selecting the APs or is it a ESP8266 function/method that selects the AP?
Could ESPEasy always do a scan and select the BSSID with the strongest signal for a SSID?
What else could be wrong?

Kind regards Sascha

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#21 Post by TD-er » 20 Jun 2018, 21:59

At this moment ESPeasy does do a scan and selects the first from that scan result.
I was under the impression this list was sorted by signal strength, but apparently it isn't.

If you do a WiFi scan from within ESPeasy, is the list then sorted by signal strength? (that's one call that does set the sorting order)

User avatar
Methuselah
Normal user
Posts: 45
Joined: 04 Feb 2018, 01:39
Location: Boston, MA

Re: No ESP Easy connection to my other WiFi access points with same SSID

#22 Post by Methuselah » 22 Jun 2018, 13:26

Mine doesn't sort by signal strength, it sorts by channel:
sig.png
sig.png (71.37 KiB) Viewed 35263 times
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape :)

astrastudio
New user
Posts: 5
Joined: 20 Jun 2018, 14:36

Re: No ESP Easy connection to my other WiFi access points with same SSID

#23 Post by astrastudio » 22 Jun 2018, 14:12

It looks to me like the sort is actually not a channel sort, multiple scans gave different results.
It looks more like completely random. But at least not ordered by signal strength.
The "ASIOT" is the network that the ESP should connect to, as you can see the unit has an ASIOT on 82:2A:A8:17:F1:CD with -32dBm, however it is connected to the really bad signal on 82:2A:A8:41:A1:EB which only has -92dBm.
Attachments
Bildschirmfoto 2018-06-22 um 14.05.25.png
Bildschirmfoto 2018-06-22 um 14.05.25.png (77.03 KiB) Viewed 35259 times

astrastudio
New user
Posts: 5
Joined: 20 Jun 2018, 14:36

Re: No ESP Easy connection to my other WiFi access points with same SSID

#24 Post by astrastudio » 22 Jun 2018, 14:16

If I scan again, here is the slightly different result.
Attachments
Bildschirmfoto 2018-06-22 um 14.03.02.png
Bildschirmfoto 2018-06-22 um 14.03.02.png (68.45 KiB) Viewed 35249 times

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#25 Post by TD-er » 22 Jun 2018, 19:14

OK, so there should be some change on this.
Random selections is not what we want.

badubo
New user
Posts: 2
Joined: 05 Sep 2018, 18:48

Re: No ESP Easy connection to my other WiFi access points with same SSID

#26 Post by badubo » 05 Sep 2018, 18:50

Hello,
is there any news in this topic, I have the same problem.
Thanks

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#27 Post by TD-er » 05 Sep 2018, 21:41

Not really an update on the wifi part yet.
I am working hard to get all the other glitches straightened first and I have some plans for the wifi which will allow to set more preferences for wifi and add flexibility.

badubo
New user
Posts: 2
Joined: 05 Sep 2018, 18:48

Re: No ESP Easy connection to my other WiFi access points with same SSID

#28 Post by badubo » 07 Sep 2018, 13:42

Great,

thanks for the update and for your work

jgrad
Normal user
Posts: 92
Joined: 29 Aug 2016, 22:03
Location: Slovenia

Re: No ESP Easy connection to my other WiFi access points with same SSID

#29 Post by jgrad » 25 Jan 2021, 14:54

any news on this topic?
I see that ESPeasy works very unreliable in environments where ESP has wifi signal from multiple access points with same SSID. Do somebody in community have simmilar experience and what is solution (beside not using same SSID on multiple AP).

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#30 Post by Ath » 25 Jan 2021, 15:23

TD-er has opened a PR #3473 to resolve exactly this issue (and a few more things). There are test-builds available, so you can participate bij helping test this issue.
/Ton (PayPal.me)

astrastudio
New user
Posts: 5
Joined: 20 Jun 2018, 14:36

Re: No ESP Easy connection to my other WiFi access points with same SSID

#31 Post by astrastudio » 25 Jan 2021, 22:32

jgrad wrote: 25 Jan 2021, 14:54 any news on this topic?
I see that ESPeasy works very unreliable in environments where ESP has wifi signal from multiple access points with same SSID. Do somebody in community have simmilar experience and what is solution (beside not using same SSID on multiple AP).
My solution was to migrate all my ESP devices to Tasmota. Problem solved. Sad to see how such an essential problem is ignored/not fixed for multiple years.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#32 Post by TD-er » 25 Jan 2021, 23:40

astrastudio wrote: 25 Jan 2021, 22:32
jgrad wrote: 25 Jan 2021, 14:54 any news on this topic?
I see that ESPeasy works very unreliable in environments where ESP has wifi signal from multiple access points with same SSID. Do somebody in community have simmilar experience and what is solution (beside not using same SSID on multiple AP).
My solution was to migrate all my ESP devices to Tasmota. Problem solved. Sad to see how such an essential problem is ignored/not fixed for multiple years.
Sad to hear you switched to another platform.
But I disagree when you state the WiFi problems were ignored.
I've put over 1000h in working on WiFi related issues the last few years.

astrastudio
New user
Posts: 5
Joined: 20 Jun 2018, 14:36

Re: No ESP Easy connection to my other WiFi access points with same SSID

#33 Post by astrastudio » 25 Jan 2021, 23:52

TD-er wrote: 25 Jan 2021, 23:40 Sad to hear you switched to another platform.
But I disagree when you state the WiFi problems were ignored.
I've put over 1000h in working on WiFi related issues the last few years.
My perception was that nobody gave a status update for over two years and it looked like nobody cared.
The reality might be different. But that thread never received any updates since 2018, until today.
My biggest problem was: I have many ESPs in places where I can't press the reset button every other day because the ESP-Easy lost WIFI and didn't reconnect so I tried something else.
Sorry for that. I really loved what you created with ESP-Easy, but a FW that is incapable of (re-)connecting to the strongest BSSID doesn't work for me :-(
I might change back once that issue is fixed.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#34 Post by TD-er » 25 Jan 2021, 23:55

Well you can check the test build I made with this PR, I'm working on
https://github.com/letscontrolit/ESPEasy/pull/3473
It is a test build, so don't install on units plastered away in a wall.

RaBa
New user
Posts: 1
Joined: 18 Jun 2021, 15:56

Re: No ESP Easy connection to my other WiFi access points with same SSID

#35 Post by RaBa » 18 Jun 2021, 16:16

I had the same problems in my WiFi Mesh.
But I could fix it (quick and dirty) by changing line #29 in the file RTCStruct.cpp from

Code: Select all

return lastBSSID[0] != 0 && lastWiFiChannel != 0 && lastWiFiSettingsIndex != 0;
to

Code: Select all

return(0);
Now ESPeasy is switching from one AP (RSSI -65) to another AP (RSSI -84) from time to time, but the connection keeps stable.
I don't know why ESPeasy is chosing the weaker AP most of the time.
Attachments
RSSI.jpg
RSSI.jpg (71.75 KiB) Viewed 23914 times

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#36 Post by TD-er » 18 Jun 2021, 17:52

So I should make it a setting then to allow to store the last known WiFi information in RTC memory....
It seems like it is rather counter productive now, unless you wake from deepsleep.

Rini52
Normal user
Posts: 47
Joined: 19 Jun 2021, 17:23
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#37 Post by Rini52 » 19 Jun 2021, 17:40

I also was struggling with wifi conection the last two weeks. My mesh setup with 3 aps mestup the espeasy connections. Numours reflashes and erase flashes were needed to get my esp8266 reconnected only to find out that after a power cut the whole thing need to be repeated to get the strongest AP. I give up and also switched to tasmoto as mentioned in this thread.
I hope someone with the right knowledge will get ESPeasy a good platform again otherwise it will be domed with all the. Mesh ap installations today..

Rini52
Normal user
Posts: 47
Joined: 19 Jun 2021, 17:23
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#38 Post by Rini52 » 20 Jun 2021, 23:13

I just found out that also the tasmota setup has problems with my ASUS router (RT-AX92U). And I wondered if this has to do with the wifi settings of this mesh router. I found a google on sonof sound setups (they use esp8266) and they suggested to switch off the QoS services. I switched it on (because mine was disabled) this caused the router to reboot and all my esp8266 connected again. ;) Also after power cycling the esp8266 connected ok. More digging revealed that it also has to do with the WMM settings of Wifi, which is apperently a kind of QoS for media streams. Therefore the next days I will play around with it to see if I can keep ESPEasy connected to this ASUS (AX92U) system. Keep you posted and hopefully the wifi guys of ESPEasy could give some comments.....

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#39 Post by TD-er » 20 Jun 2021, 23:20

That sounds promising.
Keep me updated.

I just connected a module sent to me by Tebogo and when connecting it to my TP-link Omada (set using the same SSID) I also got the same issue as he has reported over and over again.
So I guess there may also be some component here related to the module itself.

Rini52
Normal user
Posts: 47
Joined: 19 Jun 2021, 17:23
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#40 Post by Rini52 » 26 Jun 2021, 10:58

No luck. The ESP8266 (nodemcu) modules disconnecte4d after 1.5 days. They were not able to reconnect. Only power recycling in combination of switching the wmm settings seems to allow the ESPs to reconnect to wifi. I also found out that it connected to the weakest (-68 db) ASUS AP (RT-AX92U). The strange thing is that when you look in the router connect list, the ESP is connected but you can't ping or connect to it. So a bad luck for the guys with home appliances with esp8266 in combination with ASUS mesh routers. (or maybe other mesh systems) . I remember from weeks ago when I sketched via Arduino IDE my own connection i had to build in a reboot call to reconnect in case of a disconnect. Therefore it looks to me that there is defiantly something wrong with the combination of ESP8266 and ASUS mesh systems. So i will try to find my old sketch and see how stable that will be. Hope that someone can find a solution. Keep you posted when i have news on from my old sketch.....

Rini52
Normal user
Posts: 47
Joined: 19 Jun 2021, 17:23
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#41 Post by Rini52 » 27 Jun 2021, 23:05

this is really an awkward problem. The only way to get a esp8266 working (from my sketchbook in arduino ) with this ASUS (AX92U) router is going back to esp8266 community version 2.5.2 !!!!!!
This means i have to build ESPEasy myself with this library I assume. My experience with building is next to nothing so this will take a long time if it will be possible with this old lib at all. There is a long discussion about similar problems with Asus on internet going back 2 years. Therefore someone one with the right knowledge must be able to force this company to do something about it. Also the ESP8266 firmware is maybe to blame. I have enough of this and will find a quick solution for my esps and forced to look for a replacement of the ASUS routers. This is really bad ......

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#42 Post by TD-er » 27 Jun 2021, 23:50

Does this Asus router/AP allow to add a separate SSID?
One that's not part of a mesh, but just a single SSID.

If you are looking for a really cheap and remarkable AP, which does work perfectly with ESPEasy (as I'm using them everywhere), have a look at the MikroTik access points.
The cheap ones aren't the fastest ones, but for creating a separate WLAN for your ESP nodes they are perfect.

For example the mAP lite ( https://mikrotik.com/product/RBmAPL-2nD ) or CAP lite ( https://mikrotik.com/product/RBcAPL-2nD-307 )
Those can be had for roughly 25 euro and the mAP lite is really small and can even be powered over PoE if you have that available (or just USB)

User avatar
Ath
Normal user
Posts: 3416
Joined: 10 Jun 2018, 12:06
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#43 Post by Ath » 28 Jun 2021, 07:38

My TP-Link DECO M9 Plus config tool suggests that there is a 'Quick Roaming option' available for this mesh-AP (I'm using 4 of them), but that it could cause issues with 'older WiFi equipment'. The option is switched off by default (and that's how I kept it), but I will try to turn it on and see what still goes in a couple of days.
Possibly you could improve things by trying to switch off a similar feature in your Asus router, if available?
/Ton (PayPal.me)

Rini52
Normal user
Posts: 47
Joined: 19 Jun 2021, 17:23
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#44 Post by Rini52 » 28 Jun 2021, 20:45

Thanks for the suggestions. Currently I have a running ESPEasy (latest ESP_Easy_mega_20210503_energy_ESP8266_4M1M) after I first flashed the arduino(2.5.2) and flash it over with the ESPEasy firmware. In addition I blocked the mac address on the 5GHZ WiFi radios and set the ESP8266 on a static IP address. Now i'm able to power cycle and connect it to the Router. Unfortunately when the weakest AP is selected (that happens a lot?) it is moved to the stronger AP after sometime and loose connection. Power cycling works then to connect it again and it keeps the stronger AP. :). My arduino sketch (pulse counting with MQTT server) is nearly finished (including an ESP.restart) and hopefully that allow for a stable setup.
I had a look at the router(AX92U) there is no option "quick roaming" so that won't help. Setting up another router maybe the only option, but if I do a wifi scan, I see that there are already a lot AP's around adding another one to the already high noise levels is not a thing you want to do I guess.
best regards..

Rini52
Normal user
Posts: 47
Joined: 19 Jun 2021, 17:23
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#45 Post by Rini52 » 28 Jun 2021, 22:50

Just to play safe I ordered the mAP lite. Looks like a nice toy....

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#46 Post by TD-er » 29 Jun 2021, 00:53

Rini52 wrote: 28 Jun 2021, 22:50 Just to play safe I ordered the mAP lite. Looks like a nice toy....
Which reminds me I should post the settings to turn it into a standard bridge in the documentation.
It isn't hard if you once done it, but the Mikrotik firmware is so extremely versatile, all the settings can be a bit overwhelming at first.

At least their (Android) App is quite simple to help setup it for the first time.

Rini52
Normal user
Posts: 47
Joined: 19 Jun 2021, 17:23
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#47 Post by Rini52 » 04 Jul 2021, 16:03

Td

I received the Mikro mAP lite router. Very nice little thing!. I set it in brigde mode using thsi youtube channel : https://www.youtube.com/watch?v=u2RTfaN5KYk.
You can run the RouterOS Winbox (exe) in Wine and it worked in one go. So I can start experimenting with the ESP's connection.....

Thanks.

Rini52
Normal user
Posts: 47
Joined: 19 Jun 2021, 17:23
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#48 Post by Rini52 » 12 Jul 2021, 16:18

TD

The connection to the mAP lite worked okay over the past few days. I had the fall back to the (mesh) ASUS router and once connected to it there is no way to get it back to the Map bridge. Only power cycling and wait for 10mins and than the mAp is selected again. So one SSID (no mesh) is the solution. In the mean time a came across https://github.com/martin-ger/esp_wifi_ ... /README.md and flashed it on my ESP8266 and in "AUTOMESH" the esp8266 was connecting to the (mesh)ASUS router without any problem and became a mesh node in that network. So what needs to be checked out is why this works and implement it in the ESPEasy when the network is a mesh variant....
I don't have that knowedlge and I guess it's easier said than done????

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: No ESP Easy connection to my other WiFi access points with same SSID

#49 Post by TD-er » 12 Jul 2021, 21:16

Well, I've spent all day today working out other WiFi reconnect issues.
I don't think it is solely the "mesh" that's causing issues here.

Rini52
Normal user
Posts: 47
Joined: 19 Jun 2021, 17:23
Location: NL

Re: No ESP Easy connection to my other WiFi access points with same SSID

#50 Post by Rini52 » 13 Jul 2021, 01:54

TD

thanks for your reply. I hope you found the real reason. Today i recompiled the ESPEasy mega from the git in Arduino-ide. Appart from a typo in one of the helper.ccp files it went okay. (i was surprised since my knowledge of this stuff is low). I used the newest esp8266 community (3.0.1) library and it connected to the mAP lite, However after sometime it gets disconnects (Disconnected! Reason: '(8) Assoc leave' Connected for 1 m 28 s). Static ip don',t help. While the other esp8266 (same make) with your ESP_Easy_mega_20210503_energy_ESP8266_4M1M build runs like clockwork. No problems with this mAP lite. So hope this helps you somehow......

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests