positron96 / LocoNetControlStation

An ultimate model railroading control station based on ESP32, with LocoNet, WiFi, WiThrottle, DCC
MIT License
18 stars 5 forks source link

Wifi settings #12

Closed conaito closed 2 years ago

conaito commented 2 years ago

are there any chance to change wifi settings after connected Wifi network. May a link/url to can change it?

positron96 commented 2 years ago

Just erase the stored WiFi data. This can be accomplished by calling wifiManager.erase() after declaring wifiManager on line 127.

conaito commented 2 years ago

but there is no webpage or similar available to do it without coding?

Am Mo., 15. Nov. 2021 um 15:48 Uhr schrieb Paul Melnikov < @.***>:

Just erase the stored WiFi data. This can be accomplished by calling wifiManager.erase() after declaring wifiManager on line 127.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/positron96/LocoNetControlStation/issues/12#issuecomment-968983375, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASRDILAQPAUENEY6UG4DYKTUMEMTLANCNFSM5IBVGXQQ . 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.

positron96 commented 2 years ago

If ESP32 can't connect to WiFi with stored settings (e.g. there are no stored settings), then it will start a webpage. The webpage is only there to connect to WiFi, so after the esp32 connects to WiFi, there is no webpage. You can also turn off the WiFi router to force esp32 to start config webpage.