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

configure wifi with a new router after use #1835

Closed
sd0700 opened this issue Mar 29, 2021 · 11 comments
Closed

configure wifi with a new router after use #1835

sd0700 opened this issue Mar 29, 2021 · 11 comments
Labels
question stale This issue will be closed soon because of prolonged inactivity

Comments

@sd0700
Copy link

sd0700 commented Mar 29, 2021

Hi everyone, I'll explain my problem, I'm working on using the Wled for small shows, I made some LED tubes, but every time I go to a different place I would have to reconfigure the wifi with a new router, is there a way to reset the configuration and enter the new parameters without having to flash the board every time? I am using a wemos d1 mini pro, is there a way to create a reset button? thank you for your support

@w00000dy
Copy link
Contributor

w00000dy commented Mar 29, 2021

Hello,
you can change wifi settings in Settings > WiFi setup.

@Legsmaniac
Copy link

The easiest way to do this would be to make sure you set up Configure Access Point and set AP Opens: Always.
Then when you are at a new location with a different router to connect to, just set your phone/laptop/computer to connect to the AP name you set in WLED AP Setup and use a browser to connect to 4.3.2.1
Then you can navigate to WiFi Settings and change the Network Name and Password you wish to connect to.

@Legsmaniac
Copy link

@WoodyLetsCode

Please don't use GitHub repository issue tracker to ask questions.

Then WHY when we open a New Issue and select Ask Question are we presented with.......

**Please consider asking your question on the WLED forum or Discord**
[Forum](https://wled.discourse.group/)
[Discord](https://discord.gg/KuqP7NE)
[What to post where?](https://github.com/Aircoookie/WLED/issues/658)

**If you do not like to use these platforms, delete this template and ask away!**

I refer to the last bit....
If you do not like to use these platforms, delete this template and ask away!

Which implies it's OK to carry on and use this forum.

@amcewen
Copy link

amcewen commented Mar 29, 2021

I've got a "factory reset" usermod in my repo which checks to see if pin 4 is held high for 5+ seconds at boot, and if so it wipes all the settings.

It uses a resistor and capacitor with the reset button on my boards so you can just hold the reset button down for 5 seconds to factory reset, but it should work with a second button if you wire it up to pull pin 4 high when it's pressed.

(I haven't submitted a PR for it, as it wasn't clear it'd be useful for others given it needs new circuitry, but I can if it's useful - it'd make pulling updates easier for me 😁 )

@w00000dy
Copy link
Contributor

w00000dy commented Mar 29, 2021

@Legsmaniac I just read #658 and that is what @Aircoookie said.
I don't care. I only want to help to deal with these hundreds of issues.
But maybe you are right. I won't write that anymore.

@sd0700
Copy link
Author

sd0700 commented Mar 29, 2021

Thank’s @amcewen and @Legsmaniac I will try both solutions🙏🏼

@Legsmaniac
Copy link

But maybe you are right. I won't write that anymore.

Thank you. I would far prefer it to continue to stick to this forum and ask questions as I'm not a fan of Discord and hate having to join several forums all the time. I know I'm not alone with this view. There are plenty of members who can help answer questions, I'm sure, so there's little need for any questions to disturb Aircookie's time.

I've got a "factory reset" usermod in my repo

Interesting alternative. But isn't that effectively the same as the method I posted? I mean, when you reset, you have to access 4.3.2.1 to set it up which is basically what I posted. Your method will also reset all options - number of LEDs, Presets, everything whereas with my method, all settings remain intact. 😉

@amcewen
Copy link

amcewen commented Mar 29, 2021

Interesting alternative. But isn't that effectively the same as the method I posted? I mean, when you reset, you have to access 4.3.2.1 to set it up which is basically what I posted. Your method will also reset all options - number of LEDs, Presets, everything whereas with my method, all settings remain intact. 😉

Indeed, mine does clear all the settings. Figured it might work as a starting point to write a custom usermod.

I wasn't sure if yours required you to remember to change the settings each time before you visited a new network, but re-reading it looks more like a setting to have WLED create an AP whenever it can't find the one it's configured for? That would make most sense for solving this.

@Aircoookie
Copy link
Owner

Another option would be connecting a button to GPIO 0 and pressing that for 8 seconds, which will open the access point with default credentials.

About questions on Issue tracker: While I prefer the other channels, questions on here are certainly still welcome. Of course the amount of open issues is extreme currently, we need more stringent labeling to be able to sift through.

@sd0700
Copy link
Author

sd0700 commented Mar 30, 2021

Thx @Aircoookie so I have to connect a button to GPIO 0 (pin D3 on Wemos) and ground? And pressing for 8 seconds?

@stale
Copy link

stale bot commented Jul 29, 2021

Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED!

@stale stale bot added the stale This issue will be closed soon because of prolonged inactivity label Jul 29, 2021
@stale stale bot closed this as completed Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question stale This issue will be closed soon because of prolonged inactivity
Projects
None yet
Development

No branches or pull requests

5 participants