GithubHelp home page GithubHelp logo

Comments (4)

tonyp7 avatar tonyp7 commented on June 19, 2024

Hi Fredrik,

Well thanks for the interest you're showing in the app! So getting to your points:

1 & 2:
Set (and store) a new name for the AP
Definetely something possible.

Set (and store) a new WiFi channel for the AP
This one is tricky. Because there's only one radio chip on the esp32, your AP must be on the same channel as your wifi it is connected to. So even if say, you save 1 and your home wifi is on 6, the number "1" becomes sort of meaningless as soon as your esp32 connects to your home wifi.
An elegant solution would be to automatically update and start the softAP channel number using the last wifi connected to. Would that make sense?

Select (and store) if the AP should be turned off whenever esp32 is successfully connected as a WiFi client (i.e. switch to "STA" mode instead of "APSTA" whenever connected to a WiFi router)
I thought about this one and it's something I would like to add yes. Makes the whole esp32 completely disappear once the pairing is done!

Select (and store) if WiFi Power save mode should be enabled when in client mode
What I'm working on is AC powered so I will admit I have not given any thought at all about power saving. I need to look at the doc first see what it does!

3:
I created this app because I am developing an embedded system that needs the internet. I do not want to have to reflash it or anything any time my internet breaks, or I change my wifi router's password or anything else. But it was never intended to be able to interact with real time embedded systems. It connects to your wifi and that's all there is to it.
I would suggest you completely decorrelate your app from the wifi manager by using your own web server that can run on sockets on the port 8080 for instance (or move esp-wifi-manager to 8080) because that is a change that is very unlikely at this point!

One thing that is missing today and I am working on is an auto-reconnect feature. Today if your router dies or anything else of this nature the esp32 is kind of lost. So most likely in the near future:

  1. Auto-reconnect
  2. Setting pages
  3. Select AP name
  4. Choose to disable softAP
  5. Maybe the softAP channel?

from esp32-wifi-manager.

FredrikFornstad avatar FredrikFornstad commented on June 19, 2024

Great!
The idea with channel number is in cases where the esp(s) ends up in an environment with no router and the user would like have them on separate channels as softAPs to keep interference down. As you say, whenever esp connect to a router it will switch to that frequency which is fine with me. So no need to remember last station channel...

I agree that the autoconnect feature is much needed. (I actually thought it was there already...). In case the softAP has been turned off and the router is lost, it is ok with me to wait until next reboot before turning on the softAP again (while still trying to connect to the router without user intervention)

from esp32-wifi-manager.

zafrirron avatar zafrirron commented on June 19, 2024

Thanks for a great application! Also from myself,

Looking into your great program and while asking my self the same questions on this thread, I did few modifications you may want to consider.

  1. Yes - changed to STA only once connected.
  2. Remove - wifi manager's web server task once connected as STA and add option to disconnect by external signal (personal web server/AWS thing/Blynk app), or unable to connect to the saved STA, reason is that once I deploy this on a wifi location I will rarely change the wifi settings. in my case I've set menuconfig options to select wifi manager configuration.
  3. I would recommend using ESP_LOG(I/W/E) instead of printf for debug.
  4. Since most application need to know that wifi connected I suggest to move wifi_manager_event_group to header file and and give other applications/tasks to wait on signal for connection (AWS IOT / Blynk in my case).

thanks again for a great work! using your work got me closer to my project goal, to get a generic lightweight ESP32 IOT framework that allow easy deployment and cloud connectivity for any ESP application. were most configuration done on kconfig.

from esp32-wifi-manager.

SERIDJ avatar SERIDJ commented on June 19, 2024

hi, please i want management of my parameter application (wifi/ethernet and mqtt param) through a web portal how i can do that now iam using sdkconfig file

image

from esp32-wifi-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.