Comments (13)
Is this a mesh network with some method of beamforming or do you just have multiple APs with the same SSID? If it is the former this will be dynamic and the ESP32 will switch channels all on its own. Whichever radio that responds to the SSID request is the one that connects as this is typically up to the network not the client. I remember reading that there is something odd about any channel > 11 and the ESP32.
from espsomfy-rts.
I'm using Ubiquiti AP's, so meshing : yes. Beamforming, I don't know.
That oddity about channel 13 : I flashed 3 extra EPS32's. I have now 3 pieces with WROOM32(D) which show the problem. One has a WROOM32U (= external antenna) which never has a problem.
I'm going to make a test-application which only connects to wifi to see if anything changes.
from espsomfy-rts.
I have the same problem.
Multiple APs and even SSIDs with 802.11r Fast Transition enabled.
The only solution I found is to put the MAC address of the ESP32 in a blacklist on the APs
APs with openwrt
from espsomfy-rts.
The weird part of all this is that the STA doesn't get to choose its AP even under 11r. It only gets to choose the SSID. As far as 11r goes I have yet to see anything definitive about whether ESP32 processes the negotiation properly or not. I don't know the entire life cycle of the renegotiation but I suspect the WiFi module would need to do some channel surfing.
from espsomfy-rts.
So I made a test-app. It scans and report the SSID's, just like SomfyRTS. Then it tries to connect to an SSID.
Yesterday evening, my "remote" AP was not visible (roller-shutters closed ?) and I had no problems with the two devices I tried. All connecting to channel 13.
But this morning, I had the problem again, with my software.
Just to try something I changed the channel of the remote AP to 1 and suddenly the problem was gone. Strange though, one device connects to channel 13, the other to channel 1 (so the remote AP).
I know there is some persistence of wifi-configurations, maybe that interferes ?
About choosing an SSID : there is a way to choose (I think), but I don't know how to do it with the Arduino libraries. See this. There you can select "scan_method" and "sort_method".
from espsomfy-rts.
In my case it connects it is the channel which has priority.
If there is a stronger signal for example on channel 11 and a much weaker signal on channel 6 it will always take 6 by default.
Why not change the channels on the APs?
from espsomfy-rts.
I know there is some persistence of wifi-configurations, maybe that interferes ?
That was one of the first things I disabled.
from espsomfy-rts.
I know there is some persistence of wifi-configurations, maybe that interferes ?
What I mean is that certainly the ESP8266-libraries I use store WiFi information in persistent memory. If that includes BSSID, it maybe prefers that although there is an AP with a stronger signal. If you disabled that in ESPsomfy-RTS, then that is not what causes my problem.
Changing channel 13 to something else is not an option (interference).
from espsomfy-rts.
Ok so I looked at the code reference for the unreleased v5.x of the IDF and interestingly there are some things that I could do on the current release to facilitate a better channel selection on the SSID. Please install the pre-release of v2.4.1 and let me know how the channel selection is working.
from espsomfy-rts.
Please install the most current v2.4.1 release as I have added roaming where ESPSomfy RTS will dynamically detect the best connection and change it on the fly.
from espsomfy-rts.
Installed.
Select the SSID with the high dBm.
from espsomfy-rts.
Installed it, and it connects to channel 13, which is OK.
Very handy, that indication of the channel #.
from espsomfy-rts.
Awesome I am going to close this one out. It is apparent that the ESP32 core was never designed to deal with this. The documentation is very vague and as it turned out it will hop around to get the best signal now. Weird that is not part of the ESP32 core.
from espsomfy-rts.
Related Issues (20)
- The module is not working HOT 25
- Docker port HOT 4
- adding the IO control point HOT 2
- Platform espsomfy_rts does not generate unique IDs. since Update of HA to 2024.5.2 HOT 1
- Wifi connection timeout HOT 6
- Local UI / Touchscreen support HOT 3
- Unable to connect to the interface HOT 6
- WIFI AP HOT 2
- Which bin file for ESP32-C6 WROOM-N8 HOT 4
- Hi, thaks for your project and effort. HOT 19
- Thanks for your excellent project. HOT 3
- Wifi reconnect HOT 7
- ESPSomfy AP back online HOT 20
- Radio not initialized HOT 2
- Somfy keytis HOT 1
- Question: support hardware "Connair" (foto inside) possible? HOT 1
- Will 433.92 motorline work? HOT 5
- Question or Feature request : detect close and open HOT 1
- Question: combined control via remote
- Wrong Tilt position when pressing My function through TaHoma HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espsomfy-rts.