Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple SSID support #852

Closed
scargill opened this issue Apr 16, 2020 · 6 comments
Closed

Multiple SSID support #852

scargill opened this issue Apr 16, 2020 · 6 comments

Comments

@scargill
Copy link

WLED is clearly very good at what it does, but one thing stands out. Unlike my own early ESP8266 endeavours and, for example, Tasmota, WLED does not appear to support multiple SSIDs. After tryng out various modes and having a GREAT time with this in my home office today, I made the mistake of attempting to demo a little board _ LED ring to my wife this evening on her PC. Immediately - a hurdle - my home office is out of range of the house, which is single storey and wide and so has it's own access points. So, my 2 minute demo went no-where - opportunity lost. Simple adding a second access point would further enhance the flexibiliy of this excellent software. I assume that setting up demos in one location and using them in another is commonplace.

@chrisl8
Copy link

chrisl8 commented Apr 16, 2020

I would also love to be able to move my WLED device easily between wifi networks.

I'm willing to dig into the code if someone can point me in the right direction.

@scargill
Copy link
Author

I would also love to be able to move my WLED device easily between wifi networks.

I'm willing to dig into the code if someone can point me in the right direction.

I would but I'm a WLED newby - good luck - Happy to be a guinea pig...

@Aircoookie Aircoookie changed the title Not an issue but a rlevant feature request Multiple SSID support Apr 17, 2020
@Aircoookie
Copy link
Owner

I agree, this could definitely be added, at least for a seond SSID.
The way it would work is to attempt connecting to the primary SSID for the first 10 seconds, then attempting the secondary, then the first again and so forth. The time spent attempting to connect could be lengthened after multiple attempts in case some networks take longer to connect (usually never the case). All the WiFi connection logic is currently in wled.cpp.

@austwhite
Copy link

austwhite commented Apr 17, 2020

If you do this, we would still need a fall back if it can't connect to both.
Maybe 15 seconds attempt to connect, some APs are slow, and try for 3 times on each SSID then fall back to AP mode?
Just wanted to put my name in to watch this too 🙂

@Aircoookie Aircoookie added this to the 1.0.0 milestone Apr 17, 2020
@scargill
Copy link
Author

I agree, this could definitely be added, at least for a seond SSID.
The way it would work is to attempt connecting to the primary SSID for the first 10 seconds, then attempting the secondary, then the first again and so forth. The time spent attempting to connect could be lengthened after multiple attempts in case some networks take longer to connect (usually never the case). All the WiFi connection logic is currently in wled.cpp.

Sorry about taking so long to come back on this, guys, do I take it we have a winner?

I'm late as I spent all morning explaining over a Discord video to a pal of mine the benefits of WLED...and sure enough the ONLY minor gripe we mutually came up with was that I could ONLY show him the preview onscreen as I left the actual WLED controller in the house rather than change the access point again just to change it back again for the wife later.

I note DrZzs did a video on WLED, if this twin access point request goes through, as soon as my 60-LED ring turns up I'll do another video for my own followers - thank you for your response AIRCOOKIE - as someone who's been doing this voluntary stuff for a long time,

I know how much time even the simplest changes can take, would really appreciate second SSID.. (I did think for Tsamota, but never suggested it to the author, that a rolling list of, say the last 4 used access points would not take too much storage but in this case I'm sure you need as much RAM as you can get for large numbers of LEDs - which brings on a question, I noted this morning the count can go over 256 - but realistically how many LEDS could you handle (ignoring power considerations) - or is that a silly question depending on the effects in use? If that's already documented, just ignore that last question, I'll get there.

AH, I just realised you added it to the 1.0.0 milestone. SUPER.

@softhack007
Copy link
Collaborator

blazoncek added a commit that referenced this issue Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants