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

wifi Config enhancement #212

Open
sekarpdkt opened this issue Jan 16, 2022 · 4 comments
Open

wifi Config enhancement #212

sekarpdkt opened this issue Jan 16, 2022 · 4 comments

Comments

@sekarpdkt
Copy link

sekarpdkt commented Jan 16, 2022

I added an extension to allow user to configure various SSID list. If you are ok, will raise a PR. Basically, /wifi will bring the attached screenshot (page) and we can configure multiple SSIDs. Each SSID config is saved in a file. When SCAN happens, in addition to checking existing hardcoded list, it will also check for file availability. if file is found it is marked as available config. If best SSID is from file config, that file is used to connect to wifi. There are lots of changes in esp32-cam-webserver, app-httpd etc. Process:

  1. Flash without any info.
  2. Access Point is enabled
  3. Connect to AP
  4. Config Wifi info (by accessing /wifi (or click on new ICON added in main index page to access /wifi).
  5. Save the config.
  6. Reboot.
  7. Cam will connect to new SSID. If IP address is given for that SSID, static IP is configured else DHCP IP is fetched.

If you feel it is aligned to your plan, will send a PR.

Screenshot 2022-01-16 at 12-37-59 ESP32-CAM Custom Config View

@rdragonrydr
Copy link
Contributor

I would be quite interested in this feature... admittedly also for my own work. Do you have an AP/STA mode too?
I can't speak for the author, but I think this was something they were planning eventually (at least according to the readme).

@sekarpdkt
Copy link
Author

Wrt AP/STA, trying to integrate it with esp_mesh(). (with out camera related load). And did some more enhancements like storing the wifi info in AES256 encrypted format... Actual key will be auto generated and stored in NVS, when we boot the cam first time. This week end will try to merge these two enhancement with webcam and if it works (memory:-) ).. will update here thru a fork...

@easytarget
Copy link
Owner

@sekarpdkt : I am very interested in this; but not for the upcoming release; I do not want to be making any extensive changes at this point.
A PR would be welcome of course, once 4.0 is out it can be rebased and I can go for a rapid v4.1 to implement it once tested and ready.
Somehow incorporating mesh networking would be nice, it is a good feature for this sort of device.

@gzoli1980
Copy link

gzoli1980 commented Mar 26, 2023

I was wondering if I could download the add-on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants