Idea for WiFi configuration. #5
Replies: 4 comments 4 replies
-
Yes, and it caches them to NVRAM. The code is there but commented out so hopefully someone with some previous experience with that module can take a look!
… On Oct 3, 2021, at 7:19 AM, Minecraftchest1 ***@***.***> wrote:
I just finished the video and noticed that you talked about wifi manager. While I don't know how that works, would it be possible to start a hotspot and have the webserver setup the wifi connection based on user input from the web interface?
You would want to have the server cache the credintals to a file though.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#5>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCF4I4UPQWQSGTVAJAHLUFBQ5RANCNFSM5FHVERGQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
If you mean the WebServer that runs on the chip, there is only a very basic skeletal page there with an empty Help tab and an effects selector. The rest is TBD!
… On Oct 3, 2021, at 7:59 AM, Minecraftchest1 ***@***.***> wrote:
Well darn. I may have to wait for your next video to figure out how the web code works. Having a hard time getting the tabs to work. Only the first tab renders anything. Time to dig in the code some more.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#5 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCF27WPI6EQLFLWLBPL3UFBVUDANCNFSM5FHVERGQ>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
That won't work, I don't think. The web page needs to be served by the ESP32 so that the REST API that fetches the current effects and the effects list will be called. Look at the SPECTRUM project. You can build that, connected to a simple strip if you don't have a matrix, and upload it. Then once the code is uploaded, in PlatformIO do a "Builds Filesystem Image SPIFFS" and then an "Upload Filesystem Image" and it should upload the files you need. Set the WiFi credentials so it can connect to your WiFi, and then watch the serial port (or your router) to figure out what IP is gets. Browse to that page and you should get a UI like this. The example I just pasted here is live off a SPECTRUM running here locally, so "it works in my office!" as they say! |
Beta Was this translation helpful? Give feedback.
-
Great project and great videos Dave, yet another rabbit hole for me to fall into. I now have a single strip of 144 LEDs running the Demo, more to follow I'm sure. Have you considered using SmartConfig rather than WiFiManager? I've only recently started to play with ESP32 and ESP32-CAM and like SmartConfig (I've no experience with WiFiManager yet) as there is no need to embed your ssid or password in any files. No need to look at the serial monitor to find the IP address assigned to the ESP either, as the app on your smartphone will show that once successfully configured. |
Beta Was this translation helpful? Give feedback.
-
I just finished the video and noticed that you talked about wifi manager. While I don't know how that works, would it be possible to start a hotspot and have the webserver setup the wifi connection based on user input from the web interface?
You would want to have the server cache the credintals to a file though.
Beta Was this translation helpful? Give feedback.
All reactions