You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stream->print(F("This will overwrite any previous credentials that were stored in flash memory via the captive portal. "));
1237
+
stream->print(F("This will also take precedence over any credentials that were hard-coded in yaml. "));
1238
+
stream->print(F("This device will now reboot and put up it's Wi-Fi AP to allow setting of new credentials. However, if a network with the above credentials exists, this device will connect to that network instead of putting up its Wi-Fi AP."));
returnhtml`<p><b>Importantnoteforfactoryimages,withversionsuffix (f)</b>-/reset will place the firmware into factory test mode. Factorytestmodecantypicallybeclearedeasilybypressingabuttononthedevice. Forbulbs,factorytestmodecannotbeclearedandwillcausethebulbtocyclethroughcolorsfor10 minutes with no way to stop the routine. <b>Itisstronglyrecommended</b>toupdatethefirmwarewithabin.gzfiledownloadedfromthe"check for updates"linkabove,eveniftheversionnumberisthesame,inordertogetridofthefactorytestroutinebeforetryingtoresettheflashmemoryusingthismethod.</p>`
140
+
returnhtml`<p><b>Forfactoryimages,withversionsuffix (f)</b>,/reset will place the firmware into factory test mode. Factorytestmodecantypicallybeclearedeasilybypressingabuttononthedeviceafterafewseconds. Forbulbs,factorytestmodewillautomaticallystopafter10 minutes or can be cleared through the web interface by pressing the "Stop Factory Routine"buttononceyougetthebulbconnectedbacktoWi-Fi. Youmayneedtorefreshthepagetoseethisbutton.</p>`
135
141
}
136
142
137
143
clear(){
138
-
if(this.config.soft_ssid!="")
139
-
returnhtml`<p><a href="/clear"target="_blank">/clear</a> - Clears the software-configured Wi-Fi credentials. The device will reboot and try to connect to the hard-coded Wi-Fi credentials. If this firwmare has the AP enabled, and the hard-coded Wi-Fi credentials cannot be connected to, then this device will put up a Wi-Fi AP allowing new software-configured Wi-Fi credential to be entered.</p>`
144
+
if(this.config.has_ap)
145
+
returnhtml`<p><a href="/clear"target="_blank">/clear</a> - Writes new software-configured Wi-Fi credentials (SSID: initial_ap, password: asdfasdfasdfasdf). The device will reboot and try to connect to a network with those credentials. If those credentials cannot be connected to, then this device will put up a Wi-Fi AP allowing new software-configured Wi-Fi credential to be entered.</p>`
0 commit comments