Depuis peu, il n'est plus possible de configurer le mot de passe lors de la première connexion WebRepl. Cela présentait un trou de sécurité en cas de mauvaise manipulation.
+
+
L'activation de WebRepl se fait maintenant depuis une console REPL via port série en important "webrepl_setup"
+
+
<syntaxhighlight lang="python">
+
Entering REPL. Use Control-X to exit.
+
>
+
MicroPython v1.9.1-8-g7213e78d on 2017-06-12; ESP module with ESP8266
+
Type "help()" for more information.
+
>>>
+
>>> import webrepl
+
>>> webrepl.start()
+
WebREPL is not configured, run 'import webrepl_setup'
+
>>> import webrepl_setup
+
WebREPL daemon auto-start status: enabled
+
+
Would you like to (E)nable or (D)isable it running on boot?
+
(Empty line to quit)
+
> E
+
To enable WebREPL, you must set password for it
+
New password: pswdxxx
+
Confirm password: pswdxxx
+
No further action required
+
>>>
+
</syntaxhighlight>
+
+
Le fait d'importer {{fname|webrepl_setup}} permet: