tobozo / M5Stack-SD-Updater

💾 Customizable menu system for M5Stack, M5Unified and ESP32-Chimera-Core - loads apps from the Micro SD card. Easily add you own apps
MIT License
312 stars 42 forks source link

[Documentation] WiFi usage is not documented #142

Closed tbaumann closed 3 years ago

tbaumann commented 4 years ago

Apparently M5Stack-SD-Updater can download stuff via WiFi.

However it's not described how WiFi is set up. It just times out.

tbaumann commented 4 years ago

I suspect it just works when PSRAM Preferences WIFI_SSID and WIFI_PASSWD are set correctly.

I managed to set them up via SetWiFi_Mic.

There is also https://github.com/m5stack/M5Stack/blob/master/examples/Advanced/WiFiSetting/WiFiSetting.ino That should be included in the SD Card content.

And the Updater should detect it if whose Preferences are missing and explain (on screen) how to set them.

tobozo commented 4 years ago

hey @tbaumann thanks for your feedback

There's no UI for WiFi setup, the launcher just assumes your ESP32 had a previous successful connection to a WiFi network and will re-use these credentials transparently.

Flashing a basic WiFi sketch and connecting once successfully, then reflashing the launcher example should do it.

tbaumann commented 4 years ago

Graceful fail and some explanation how to fix it would help a lot in case there is no WiFi config. ;)

Thanks

tobozo commented 3 years ago

Closing this as wontfix, wifi manager can still be used an an external application and is better kept outside the SD-Menu.

Feel free to add some followup e.g. if you have a specific WiFi-Manager to recommend / test.