PYBD and WebREPL ?

The official PYBD running MicroPython, and its accessories.
Target audience: Users with a PYBD
Post Reply
MCHobby
Posts: 19
Joined: Mon Jan 26, 2015 2:05 pm

PYBD and WebREPL ?

Post by MCHobby » Sat May 18, 2019 11:06 am

Hi,
I was playing with my Pyboard-D SF2W and discovered that WebRepl was not available on it!

>>> import webrepl_setup
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'webrepl_setup'

Is the WebRepl missing or replaced ?

User avatar
jimmo
Posts: 791
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: PYBD and WebREPL ?

Post by jimmo » Sat May 18, 2019 12:33 pm

Hi,

webrepl is available on the pybd, I have it running on my SF2. It's possible that you need to update the firmware version though http://micropython.org/download -- check if you can `import webrepl` directly.

However, there's a minor change to the ESP8266 version, where it no longer uses webrepl_setup and webrepl_cfg.py.

So you'll need to add it to boot.py manually:

Code: Select all

import webrepl
webrepl.start(password='secret')

MCHobby
Posts: 19
Joined: Mon Jan 26, 2015 2:05 pm

Re: PYBD and WebREPL ?

Post by MCHobby » Sun May 19, 2019 8:24 am

Yahoo, Great!
Thank

Post Reply