No ESP Easy connection to my other WiFi access points with same SSID
Moderators: grovkillen, Stuntteam, TD-er
Re: No ESP Easy connection to my other WiFi access points with same SSID
Now the difference is 15
Re: No ESP Easy connection to my other WiFi access points with same SSID
Could you test/confirm this behavior on a fresh new ESP unit, which has never had another ESPeasy running before?Methuselah wrote: ↑24 May 2018, 03:26I 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.
Re: No ESP Easy connection to my other WiFi access points with same SSID
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?
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?
- 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
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?TD-er wrote: ↑25 May 2018, 20:17Could you test/confirm this behavior on a fresh new ESP unit, which has never had another ESPeasy running before?Methuselah wrote: ↑24 May 2018, 03:26I 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
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
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.
- 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
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
- 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
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.
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
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
Thanks, that does support my hypothesis about some pre-configured values stored in the core lib wifi settings.
- 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
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
-
- New user
- Posts: 5
- Joined: 20 Jun 2018, 14:36
Re: No ESP Easy connection to my other WiFi access points with same SSID
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
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
Re: No ESP Easy connection to my other WiFi access points with same SSID
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)
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)
- 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
Mine doesn't sort by signal strength, it sorts by channel:
N00b to the world of ESPEasy, but I've been programming since the days of punch cards and paper tape
-
- New user
- Posts: 5
- Joined: 20 Jun 2018, 14:36
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
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 (77.03 KiB) Viewed 35843 times
-
- New user
- Posts: 5
- Joined: 20 Jun 2018, 14:36
Re: No ESP Easy connection to my other WiFi access points with same SSID
If I scan again, here is the slightly different result.
- Attachments
-
- Bildschirmfoto 2018-06-22 um 14.03.02.png (68.45 KiB) Viewed 35833 times
Re: No ESP Easy connection to my other WiFi access points with same SSID
OK, so there should be some change on this.
Random selections is not what we want.
Random selections is not what we want.
Re: No ESP Easy connection to my other WiFi access points with same SSID
Hello,
is there any news in this topic, I have the same problem.
Thanks
is there any news in this topic, I have the same problem.
Thanks
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
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.
Re: No ESP Easy connection to my other WiFi access points with same SSID
Great,
thanks for the update and for your work
thanks for the update and for your work
Re: No ESP Easy connection to my other WiFi access points with same SSID
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).
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).
Re: No ESP Easy connection to my other WiFi access points with same SSID
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)
-
- New user
- Posts: 5
- Joined: 20 Jun 2018, 14:36
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
Re: No ESP Easy connection to my other WiFi access points with same SSID
Sad to hear you switched to another platform.astrastudio wrote: ↑25 Jan 2021, 22:32My 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.
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.
-
- New user
- Posts: 5
- Joined: 20 Jun 2018, 14:36
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
https://github.com/letscontrolit/ESPEasy/pull/3473
It is a test build, so don't install on units plastered away in a wall.
Re: No ESP Easy connection to my other WiFi access points with same SSID
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
to
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.
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;
Code: Select all
return(0);
I don't know why ESPeasy is chosing the weaker AP most of the time.
- Attachments
-
- RSSI.jpg (71.75 KiB) Viewed 24498 times
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
It seems like it is rather counter productive now, unless you wake from deepsleep.
Re: No ESP Easy connection to my other WiFi access points with same SSID
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..
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..
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.....
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
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.
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.....
Re: No ESP Easy connection to my other WiFi access points with same SSID
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 ......
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 ......
Re: No ESP Easy connection to my other WiFi access points with same SSID
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)
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)
Re: No ESP Easy connection to my other WiFi access points with same SSID
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?
Possibly you could improve things by trying to switch off a similar feature in your Asus router, if available?
/Ton (PayPal.me)
Re: No ESP Easy connection to my other WiFi access points with same SSID
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..
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..
Re: No ESP Easy connection to my other WiFi access points with same SSID
Just to play safe I ordered the mAP lite. Looks like a nice toy....
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
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.
Re: No ESP Easy connection to my other WiFi access points with same SSID
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????
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????
Re: No ESP Easy connection to my other WiFi access points with same SSID
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.
I don't think it is solely the "mesh" that's causing issues here.
Re: No ESP Easy connection to my other WiFi access points with same SSID
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......
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......
Re: No ESP Easy connection to my other WiFi access points with same SSID
It's not limited to mesh Wi-Fi only. I'm running on a Ubiquity network with several AP's, and often see ESPEasy jumping from a good AP to a AP with much worse RSSI or ESPEasy never selecting the closest & strongest AP.
If you need me to test recent fixes, I'd be happy to
Re: No ESP Easy connection to my other WiFi access points with same SSID
The core 3.0.1 is not yet working fine.
I have a pending PR to support core 3.0.1, but it is a bit unpredictable right now as it may work fine on one build and immediately crash on a next build.
That's the reason I have not yet merged this PR.
The changes for WiFi are in this pending PR and it is also being tested by another user.
https://github.com/letscontrolit/ESPEasy/pull/3702
I have a pending PR to support core 3.0.1, but it is a bit unpredictable right now as it may work fine on one build and immediately crash on a next build.
That's the reason I have not yet merged this PR.
The changes for WiFi are in this pending PR and it is also being tested by another user.
https://github.com/letscontrolit/ESPEasy/pull/3702
Re: No ESP Easy connection to my other WiFi access points with same SSID
Td
I build a custom flash using the source form the git hub removed some sensors and controllers and used the ESP8266 board version 3.0.1 of Arduino-IDE. I put the Wifi to b/g only and reconnect on lost wifi connection. The biggest stability gain(no disconnects) came from removing the regular Wifi-scan. Now i can switch between mAP lite bridge and the (mesh) Asus router with a simple reboot. I will leave it running for the next few days and see what happens. Hope this gives you some hooks ....
I build a custom flash using the source form the git hub removed some sensors and controllers and used the ESP8266 board version 3.0.1 of Arduino-IDE. I put the Wifi to b/g only and reconnect on lost wifi connection. The biggest stability gain(no disconnects) came from removing the regular Wifi-scan. Now i can switch between mAP lite bridge and the (mesh) Asus router with a simple reboot. I will leave it running for the next few days and see what happens. Hope this gives you some hooks ....
Re: No ESP Easy connection to my other WiFi access points with same SSID
Td
Thanks for sharing. I also did set the "do not start AP" setting. As you suggested. My wifi signals are way higher compared to sgtester but It seems to work ok now ...
My settings are below:
Force WiFi B/G: true
Restart WiFi Lost Conn: true
Force WiFi No Sleep: true
Periodical send Gratuitous ARP: false
Connection Failure Threshold: 0
Max WiFi TX Power: 17.50
Current WiFi TX Power: 0.00
WiFi Sensitivity Margin: 3
Send With Max TX Power: false
Extra WiFi scan loops: 0
Periodical Scan WiFi: false
Use Last Connected AP from RTC: false
Firmware
Build:⋄ 20114 - Mega
System Libraries:⋄ ESP82xx Core 3.0.1, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2
Git Build:⋄ My Build: Jul 13 2021 20:13:54
Plugin Count:⋄ 16 [Normal]
Build Origin: Self built
Build Time:⋄ Jul 13 2021 20:13:47
Binary Filename:⋄ firmware.bin
Build Platform:⋄
Git HEAD:⋄
Thanks for sharing. I also did set the "do not start AP" setting. As you suggested. My wifi signals are way higher compared to sgtester but It seems to work ok now ...
My settings are below:
Force WiFi B/G: true
Restart WiFi Lost Conn: true
Force WiFi No Sleep: true
Periodical send Gratuitous ARP: false
Connection Failure Threshold: 0
Max WiFi TX Power: 17.50
Current WiFi TX Power: 0.00
WiFi Sensitivity Margin: 3
Send With Max TX Power: false
Extra WiFi scan loops: 0
Periodical Scan WiFi: false
Use Last Connected AP from RTC: false
Firmware
Build:⋄ 20114 - Mega
System Libraries:⋄ ESP82xx Core 3.0.1, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2
Git Build:⋄ My Build: Jul 13 2021 20:13:54
Plugin Count:⋄ 16 [Normal]
Build Origin: Self built
Build Time:⋄ Jul 13 2021 20:13:47
Binary Filename:⋄ firmware.bin
Build Platform:⋄
Git HEAD:⋄
Re: No ESP Easy connection to my other WiFi access points with same SSID
The "periodical scan WiFi" is now set to default disabled as it caused quite a lot of issues for some.
I think I may even remove it.
I think I may even remove it.
Re: No ESP Easy connection to my other WiFi access points with same SSID
TD
I tested your newest build ESP_Easy_mega_20210615_energy_ESP8266_4M1M and my own build with core 3.0.1 (both based on 20114-mega). In both cases the periodic wifi scan was switched off and the new option "do not start AP" was switched on. The results sofar are great. No sudden disconnects anymore, but note that I have strong wifi signals.
The primary wifi is SSID of mAP lite and the fallback is set to my mesh ASUS.
I tested several situations:
1) Remove TCP connection behind the router (testing pings etc) but WIFI radio signal stays on.
Result both reconnected to MQTT without any problem. => So OK
2) Both were connected to the single wifi (mAP-lite) and I switched the wifi radio off.
Result: both builds connected to my mesh ASUS router with no problems : =>So OK
Also warm reboot went OK.
3) Switched the mAP lite wifi radio on again and warm rebooted them:
Result both connected back to the mesh ASUS router. Not to the primary mAP lite. (for me this is ok)
What I noticed is that your build (20210615) was checking things, because the webserver was inaccessible for a while.
But finally was connected to the ASUS OK.
4) Now I power cycled them (cold reboot).
Result both connected to ASUS if you do it quickly (< 1 min).
When you wait a liitle longer (> 3 min?) they connect to the Primary mAP lite again.
Pretty impressive results, compared to the original results and disconnects.
Therefore it looks that indeed the Wifi scanning is interfering with running stable connections and prohibits reconnecting correctly.
Your suggestion to remove it looks tempting. But I don't know how that works out in low level Wifi radio with high noise levels.
Hope above helps you in your evaluations. And many thanks for the your info and hard work to get things going again.
I tested your newest build ESP_Easy_mega_20210615_energy_ESP8266_4M1M and my own build with core 3.0.1 (both based on 20114-mega). In both cases the periodic wifi scan was switched off and the new option "do not start AP" was switched on. The results sofar are great. No sudden disconnects anymore, but note that I have strong wifi signals.
The primary wifi is SSID of mAP lite and the fallback is set to my mesh ASUS.
I tested several situations:
1) Remove TCP connection behind the router (testing pings etc) but WIFI radio signal stays on.
Result both reconnected to MQTT without any problem. => So OK
2) Both were connected to the single wifi (mAP-lite) and I switched the wifi radio off.
Result: both builds connected to my mesh ASUS router with no problems : =>So OK
Also warm reboot went OK.
3) Switched the mAP lite wifi radio on again and warm rebooted them:
Result both connected back to the mesh ASUS router. Not to the primary mAP lite. (for me this is ok)
What I noticed is that your build (20210615) was checking things, because the webserver was inaccessible for a while.
But finally was connected to the ASUS OK.
4) Now I power cycled them (cold reboot).
Result both connected to ASUS if you do it quickly (< 1 min).
When you wait a liitle longer (> 3 min?) they connect to the Primary mAP lite again.
Pretty impressive results, compared to the original results and disconnects.
Therefore it looks that indeed the Wifi scanning is interfering with running stable connections and prohibits reconnecting correctly.
Your suggestion to remove it looks tempting. But I don't know how that works out in low level Wifi radio with high noise levels.
Hope above helps you in your evaluations. And many thanks for the your info and hard work to get things going again.
Re: No ESP Easy connection to my other WiFi access points with same SSID
Today I did merge the WiFi reconnect code, so would be great if you could test a build based on the current 'mega' branch.
I will also rebase it into the core 3.0.0 PR, but that's not yet done.
I did notice there were still some issues with the WiFi scan.
In some situations you could get a callback to the "wifi scan done" function, before it was actually done scanning.
So that's fixed in the latest code too.
Edit:
Rebased it into the 'core 3.0.0' PR too. (I expected merge conflicts, but apparently there were none)
I will also rebase it into the core 3.0.0 PR, but that's not yet done.
I did notice there were still some issues with the WiFi scan.
In some situations you could get a callback to the "wifi scan done" function, before it was actually done scanning.
So that's fixed in the latest code too.
Edit:
Rebased it into the 'core 3.0.0' PR too. (I expected merge conflicts, but apparently there were none)
Re: No ESP Easy connection to my other WiFi access points with same SSID
TD
I loaded pulled the 3705 branch from the git and put the libs etc in to the Arduino-IDE and compiled it with Arduino. One warning for "L-Cristals" encounterd. I don't use it and I used core 3.0.1. Perhaps related? All went oke. Rebooting and switching. Indeed you get an error message about the scan but that was to be expected. What surprised me was: I made an connect error with the MQTT server and the WD messages was reporting higher fails(see list below) . After it was connected correctly the number of fails are going down and the error messages disappear....?
Maybe some interference here...
Below list of serial port and settings used:
--> serial log
17:53:51.219 -> 212006 : Info : WD : Uptime 4 ConnectFailures 0 FreeMem 23720 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:53:51.219 -> 212008 : Error : WiFi : Scan not needed, good candidate present
17:54:21.228 -> 242006 : Info : WD : Uptime 4 ConnectFailures 0 FreeMem 23152 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:54:21.228 -> 242007 : Error : WiFi : Scan not needed, good candidate present
17:54:51.201 -> 272006 : Info : WD : Uptime 5 ConnectFailures 0 FreeMem 23152 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:54:51.234 -> 272007 : Error : WiFi : Scan not needed, good candidate present
17:55:21.233 -> 302006 : Info : WD : Uptime 5 ConnectFailures 0 FreeMem 23152 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:55:21.233 -> 302007 : Error : WiFi : Scan not needed, good candidate present
17:55:51.227 -> 332006 : Info : WD : Uptime 6 ConnectFailures 0 FreeMem 23552 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:55:51.227 -> 332008 : Info : WiFi : Start network scan all channels
17:55:52.819 -> 333607 : Info : WiFi : Scan finished, found: 5
17:56:21.215 -> 362006 : Info : WD : Uptime 6 ConnectFailures 0 FreeMem 24168 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
-------Connection error with MQTT broker ---------------
17:56:51.206 -> 392006 : Info : WD : Uptime 7 ConnectFailures 0 FreeMem 23784 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:58:43.263 -> 504057 : Error : MQTT : Broker C002 connection failed (15/0)
17:58:44.291 -> 505077 : Error : MQTT : Broker C002 connection failed (16/0)
17:58:45.286 -> 506057 : Error : MQTT : Broker C002 connection failed (17/0)
17:58:46.281 -> 507060 : Error : MQTT : Broker C002 connection failed (18/0)
17:58:47.276 -> 508060 : Error : MQTT : Broker C002 connection failed (19/0)
17:58:48.106 -> 508879 : Info : MQTT : Connected to broker with client ID: MyESP_Easy_2_2
17:58:48.106 -> 508881 : Info : Subscribed to: domoticz/out
17:58:51.224 -> 512006 : Info : WD : Uptime 9 ConnectFailures 17 FreeMem 21744 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:59:21.238 -> 542006 : Info : WD : Uptime 9 ConnectFailures 17 FreeMem 21744 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
18:01:21.230 -> 662006 : Info : WD : Uptime 11 ConnectFailures 17 FreeMem 22896 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
18:01:21.263 -> 662007 : Info : WiFi : Start network scan all channels
18:01:22.822 -> 663607 : Info : WiFi : Scan finished, found: 5
18:01:51.226 -> 692006 : Info : WD : Uptime 12 ConnectFailures 16 FreeMem 22896 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
----< end log
----> settings
Configured SSID1: Wifi_LoT@RT_MIK
Configured SSID2: Wifi_147@RT_ASU
STA MAC: 48:3F:DA:A4:xx:xx
AP MAC: 4A:3F:DA:A4:xx:xx
WiFi Settings
Force WiFi B/G: false
Restart WiFi Lost Conn: true
Force WiFi No Sleep: true
Periodical send Gratuitous ARP: false
Connection Failure Threshold: 0
Max WiFi TX Power: 17.50
Current WiFi TX Power: 0.00
WiFi Sensitivity Margin: 3
Send With Max TX Power: false
Extra WiFi scan loops: 0
Periodical Scan WiFi: true
Use Last Connected AP from RTC: false
Firmware
Build:⋄ 20114 - Mega
System Libraries:⋄ ESP82xx Core 3.0.1, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2
Git Build:⋄ My Build: Jul 18 2021 13:08:09
Plugin Count:⋄ 16 [Normal]
Build Origin: Self built
Build Time:⋄ Jul 18 2021 13:08:02
Binary Filename:⋄ firmware.bin
Build Platform:⋄ unknown
Git HEAD:⋄
System Status
Syslog Log Level: None
Serial Log Level: Info
Web Log Level: None
Network Services
Network Connected: ✔
NTP Initialized: ✔
MQTT Client Connected: ✔
ESP Board
ESP Chip ID: 10760502 (0xA43136)
ESP Chip Frequency: 80 MHz
ESP Chip Model: ESP8266
ESP Chip Cores: 1
ESP Board Name: ESP8266_NODEMCU_ESP12E
I loaded pulled the 3705 branch from the git and put the libs etc in to the Arduino-IDE and compiled it with Arduino. One warning for "L-Cristals" encounterd. I don't use it and I used core 3.0.1. Perhaps related? All went oke. Rebooting and switching. Indeed you get an error message about the scan but that was to be expected. What surprised me was: I made an connect error with the MQTT server and the WD messages was reporting higher fails(see list below) . After it was connected correctly the number of fails are going down and the error messages disappear....?
Maybe some interference here...
Below list of serial port and settings used:
--> serial log
17:53:51.219 -> 212006 : Info : WD : Uptime 4 ConnectFailures 0 FreeMem 23720 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:53:51.219 -> 212008 : Error : WiFi : Scan not needed, good candidate present
17:54:21.228 -> 242006 : Info : WD : Uptime 4 ConnectFailures 0 FreeMem 23152 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:54:21.228 -> 242007 : Error : WiFi : Scan not needed, good candidate present
17:54:51.201 -> 272006 : Info : WD : Uptime 5 ConnectFailures 0 FreeMem 23152 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:54:51.234 -> 272007 : Error : WiFi : Scan not needed, good candidate present
17:55:21.233 -> 302006 : Info : WD : Uptime 5 ConnectFailures 0 FreeMem 23152 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:55:21.233 -> 302007 : Error : WiFi : Scan not needed, good candidate present
17:55:51.227 -> 332006 : Info : WD : Uptime 6 ConnectFailures 0 FreeMem 23552 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:55:51.227 -> 332008 : Info : WiFi : Start network scan all channels
17:55:52.819 -> 333607 : Info : WiFi : Scan finished, found: 5
17:56:21.215 -> 362006 : Info : WD : Uptime 6 ConnectFailures 0 FreeMem 24168 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
-------Connection error with MQTT broker ---------------
17:56:51.206 -> 392006 : Info : WD : Uptime 7 ConnectFailures 0 FreeMem 23784 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:58:43.263 -> 504057 : Error : MQTT : Broker C002 connection failed (15/0)
17:58:44.291 -> 505077 : Error : MQTT : Broker C002 connection failed (16/0)
17:58:45.286 -> 506057 : Error : MQTT : Broker C002 connection failed (17/0)
17:58:46.281 -> 507060 : Error : MQTT : Broker C002 connection failed (18/0)
17:58:47.276 -> 508060 : Error : MQTT : Broker C002 connection failed (19/0)
17:58:48.106 -> 508879 : Info : MQTT : Connected to broker with client ID: MyESP_Easy_2_2
17:58:48.106 -> 508881 : Info : Subscribed to: domoticz/out
17:58:51.224 -> 512006 : Info : WD : Uptime 9 ConnectFailures 17 FreeMem 21744 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
17:59:21.238 -> 542006 : Info : WD : Uptime 9 ConnectFailures 17 FreeMem 21744 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
18:01:21.230 -> 662006 : Info : WD : Uptime 11 ConnectFailures 17 FreeMem 22896 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
18:01:21.263 -> 662007 : Info : WiFi : Start network scan all channels
18:01:22.822 -> 663607 : Info : WiFi : Scan finished, found: 5
18:01:51.226 -> 692006 : Info : WD : Uptime 12 ConnectFailures 16 FreeMem 22896 WiFiStatus WL_CONNECTED 3 ESPeasy internal wifi status: Conn. IP Init
----< end log
----> settings
Configured SSID1: Wifi_LoT@RT_MIK
Configured SSID2: Wifi_147@RT_ASU
STA MAC: 48:3F:DA:A4:xx:xx
AP MAC: 4A:3F:DA:A4:xx:xx
WiFi Settings
Force WiFi B/G: false
Restart WiFi Lost Conn: true
Force WiFi No Sleep: true
Periodical send Gratuitous ARP: false
Connection Failure Threshold: 0
Max WiFi TX Power: 17.50
Current WiFi TX Power: 0.00
WiFi Sensitivity Margin: 3
Send With Max TX Power: false
Extra WiFi scan loops: 0
Periodical Scan WiFi: true
Use Last Connected AP from RTC: false
Firmware
Build:⋄ 20114 - Mega
System Libraries:⋄ ESP82xx Core 3.0.1, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2
Git Build:⋄ My Build: Jul 18 2021 13:08:09
Plugin Count:⋄ 16 [Normal]
Build Origin: Self built
Build Time:⋄ Jul 18 2021 13:08:02
Binary Filename:⋄ firmware.bin
Build Platform:⋄ unknown
Git HEAD:⋄
System Status
Syslog Log Level: None
Serial Log Level: Info
Web Log Level: None
Network Services
Network Connected: ✔
NTP Initialized: ✔
MQTT Client Connected: ✔
ESP Board
ESP Chip ID: 10760502 (0xA43136)
ESP Chip Frequency: 80 MHz
ESP Chip Model: ESP8266
ESP Chip Cores: 1
ESP Board Name: ESP8266_NODEMCU_ESP12E
Re: No ESP Easy connection to my other WiFi access points with same SSID
TD
Today i copied the new mega-20210802 github code to my local arduine-ide settings and recompiled the code. After two compile error corrections Its running okay. Many thanks for the WIFI stabilization and the "MQTT quote" correction from Ton. below my input. Don't how how to get it in the Github for review/correction..
1) The ConfigPage.cpp file
out-commented line 134. It was not found by the compiler...
addFormHeader(F("Main Settings"));
Settings.Name[25] = 0;
SecuritySettings.Password[25] = 0;
addFormTextBox(F("Unit Name"), F("name"), Settings.Name, 25);
// addFormNote(String(F("Hostname: ")) + NetworkCreateRFCCompliantHostname()); <----- line 134 removed.....
addFormNumericBox(F("Unit Number"), F("unit"), Settings.Unit, 0, UNIT_NUMBER_MAX);
addFormCheckBox(F("Append Unit Number to hostname"), F("appendunittohostname"), Settings.appendUnitToHostname());
addFormPasswordBox(F("Admin Password"), F("password"), SecuritySettings.Password, 25);
addFormSubHeader(F("Wifi Settings"));
2) The update reported before in file _CPlugin_Helper.cpp was not in the new mega 20210802.
// Add request header as fall back.
// When adding another "accept" header, it may be interpreted as:
// "if you have XXX, send it; or failing that, just give me what you've got."
http.addHeader(F("Accept"), F("*/*;q=0.1"));
delay(0);
#if defined(CORE_POST_2_6_0) || defined(ESP32)
http.begin(client, host, port, uri, false); // HTTP
#else
http.begin(client, host, port, uri); <--- line 531 "client" update
#endif
my settings:
System Info Copy info to clipboard (⋄)
Unit Number: 2
Local Time: 2021-08-07 20:25:14
Time Source: NTP
Uptime: 0 days 0 hours 50 minutes
Load: 13.50% (LC=1156)
CPU Eco Mode: false
Boot: Cold Boot (0)
Reset Reason: External System
Last Action before Reboot: Background Task
SW WD count: 0
Memory
Free RAM: 20080
Heap Max Free Block: 18104
Heap Fragmentation: 10%
Free Stack: 3648
Network
IP Config: Static
IP / Subnet: 192.168.50.9 / 255.255.255.0
Gateway: 192.168.50.1
Client IP: 192.168.50.101
DNS: 192.168.50.1 / (IP unset)
Allowed IP Range: 192.168.50.0 - 192.168.50.255
Connected: 50 m 22 s
Number Reconnects: 0
WiFi <http://www.letscontrolit.com/wiki/index.php/Wifi>
WiFi Connection: 802.11n (RSSI -43 dBm)
SSID: Wifi_LoT@RT_MIK (08:55:31:xxxxxxx)
Channel: 9
Encryption Type: WPA2/PSK
Last Disconnect Reason: (1) Unspecified
Configured SSID1: Wifi_LoT@RT_MIK
Configured SSID2: Wifi_147@RT_ASU
STA MAC: 48:3F:DA:xxxxxxx
AP MAC: 4A:3F:DA:xxxxxxx
WiFi Settings
Force WiFi B/G: false
Restart WiFi Lost Conn: true
Force WiFi No Sleep: true
Periodical send Gratuitous ARP: false
Connection Failure Threshold: 0
Max WiFi TX Power: 17.50
Current WiFi TX Power: 0.00
WiFi Sensitivity Margin: 3
Send With Max TX Power: false
Extra WiFi scan loops: 0
Periodical Scan WiFi: true
Use Last Connected AP from RTC: false
Firmware
Build:⋄ 20114 - Mega
System Libraries:⋄ ESP82xx Core 3.0.2, NONOS SDK 2.2.2-dev(38a443e),
LWIP: 2.1.2
Git Build:⋄ My Build: Aug 7 2021 19:12:42
Plugin Count:⋄ 16 [Normal]
Build Origin: Self built
Build Time:⋄ Aug 7 2021 19:12:35
Binary Filename:⋄ firmware.bin
Build Platform:⋄
Git HEAD:⋄
System Status
Syslog Log Level: None
Serial Log Level: Info
Web Log Level: None
Network Services
Network Connected: ✔
NTP Initialized: ✔
MQTT Client Connected: ✔
ESP Board
ESP Chip ID: 10760502 (0xA43136)
ESP Chip Frequency: 80 MHz
ESP Chip Model: ESP8266
ESP Chip Cores: 1
ESP Board Name: ESP8266_NODEMCU_ESP12E
Storage
Flash Chip ID: Vendor: 0xD8 Device: 0x4016
Flash Chip Real Size: 4096 kB
Flash IDE Size: 4096 kB
Flash IDE Speed: 40 MHz
Flash IDE Mode: DIO
Flash Writes: 26 daily / 36 boot
Sketch Size: 780 kB (2288 kB free)
Max. OTA Sketch Size: 1019 kB (1044464 bytes)
OTA possible: true
OTA 2-step Needed: false
SPIFFS Size: 934 kB (843 kB free)
Page size: 256
Block size: 8192
Number of blocks: 116
Maximum open files: 5
Maximum path length: 32
Powered by Let's Control It <http://www.letscontrolit.com/>
community
Build: firmware.bin Aug 7 2021
<https://github.com/letscontrolit/ESPEasy/releases>
Today i copied the new mega-20210802 github code to my local arduine-ide settings and recompiled the code. After two compile error corrections Its running okay. Many thanks for the WIFI stabilization and the "MQTT quote" correction from Ton. below my input. Don't how how to get it in the Github for review/correction..
1) The ConfigPage.cpp file
out-commented line 134. It was not found by the compiler...
addFormHeader(F("Main Settings"));
Settings.Name[25] = 0;
SecuritySettings.Password[25] = 0;
addFormTextBox(F("Unit Name"), F("name"), Settings.Name, 25);
// addFormNote(String(F("Hostname: ")) + NetworkCreateRFCCompliantHostname()); <----- line 134 removed.....
addFormNumericBox(F("Unit Number"), F("unit"), Settings.Unit, 0, UNIT_NUMBER_MAX);
addFormCheckBox(F("Append Unit Number to hostname"), F("appendunittohostname"), Settings.appendUnitToHostname());
addFormPasswordBox(F("Admin Password"), F("password"), SecuritySettings.Password, 25);
addFormSubHeader(F("Wifi Settings"));
2) The update reported before in file _CPlugin_Helper.cpp was not in the new mega 20210802.
// Add request header as fall back.
// When adding another "accept" header, it may be interpreted as:
// "if you have XXX, send it; or failing that, just give me what you've got."
http.addHeader(F("Accept"), F("*/*;q=0.1"));
delay(0);
#if defined(CORE_POST_2_6_0) || defined(ESP32)
http.begin(client, host, port, uri, false); // HTTP
#else
http.begin(client, host, port, uri); <--- line 531 "client" update
#endif
my settings:
System Info Copy info to clipboard (⋄)
Unit Number: 2
Local Time: 2021-08-07 20:25:14
Time Source: NTP
Uptime: 0 days 0 hours 50 minutes
Load: 13.50% (LC=1156)
CPU Eco Mode: false
Boot: Cold Boot (0)
Reset Reason: External System
Last Action before Reboot: Background Task
SW WD count: 0
Memory
Free RAM: 20080
Heap Max Free Block: 18104
Heap Fragmentation: 10%
Free Stack: 3648
Network
IP Config: Static
IP / Subnet: 192.168.50.9 / 255.255.255.0
Gateway: 192.168.50.1
Client IP: 192.168.50.101
DNS: 192.168.50.1 / (IP unset)
Allowed IP Range: 192.168.50.0 - 192.168.50.255
Connected: 50 m 22 s
Number Reconnects: 0
WiFi <http://www.letscontrolit.com/wiki/index.php/Wifi>
WiFi Connection: 802.11n (RSSI -43 dBm)
SSID: Wifi_LoT@RT_MIK (08:55:31:xxxxxxx)
Channel: 9
Encryption Type: WPA2/PSK
Last Disconnect Reason: (1) Unspecified
Configured SSID1: Wifi_LoT@RT_MIK
Configured SSID2: Wifi_147@RT_ASU
STA MAC: 48:3F:DA:xxxxxxx
AP MAC: 4A:3F:DA:xxxxxxx
WiFi Settings
Force WiFi B/G: false
Restart WiFi Lost Conn: true
Force WiFi No Sleep: true
Periodical send Gratuitous ARP: false
Connection Failure Threshold: 0
Max WiFi TX Power: 17.50
Current WiFi TX Power: 0.00
WiFi Sensitivity Margin: 3
Send With Max TX Power: false
Extra WiFi scan loops: 0
Periodical Scan WiFi: true
Use Last Connected AP from RTC: false
Firmware
Build:⋄ 20114 - Mega
System Libraries:⋄ ESP82xx Core 3.0.2, NONOS SDK 2.2.2-dev(38a443e),
LWIP: 2.1.2
Git Build:⋄ My Build: Aug 7 2021 19:12:42
Plugin Count:⋄ 16 [Normal]
Build Origin: Self built
Build Time:⋄ Aug 7 2021 19:12:35
Binary Filename:⋄ firmware.bin
Build Platform:⋄
Git HEAD:⋄
System Status
Syslog Log Level: None
Serial Log Level: Info
Web Log Level: None
Network Services
Network Connected: ✔
NTP Initialized: ✔
MQTT Client Connected: ✔
ESP Board
ESP Chip ID: 10760502 (0xA43136)
ESP Chip Frequency: 80 MHz
ESP Chip Model: ESP8266
ESP Chip Cores: 1
ESP Board Name: ESP8266_NODEMCU_ESP12E
Storage
Flash Chip ID: Vendor: 0xD8 Device: 0x4016
Flash Chip Real Size: 4096 kB
Flash IDE Size: 4096 kB
Flash IDE Speed: 40 MHz
Flash IDE Mode: DIO
Flash Writes: 26 daily / 36 boot
Sketch Size: 780 kB (2288 kB free)
Max. OTA Sketch Size: 1019 kB (1044464 bytes)
OTA possible: true
OTA 2-step Needed: false
SPIFFS Size: 934 kB (843 kB free)
Page size: 256
Block size: 8192
Number of blocks: 116
Maximum open files: 5
Maximum path length: 32
Powered by Let's Control It <http://www.letscontrolit.com/>
community
Build: firmware.bin Aug 7 2021
<https://github.com/letscontrolit/ESPEasy/releases>
Re: No ESP Easy connection to my other WiFi access points with same SSID
Hmm have to get back to it tomorrow. Can't mark it unread on the forum, so hope I won't forget.
Who is online
Users browsing this forum: Ahrefs [Bot] and 57 guests