Page 3 of 3

Re: Using webrepl instead of USB connection with Thonny IDE

Posted: Fri Nov 20, 2020 5:02 pm
by laukejas
aivarannamaa wrote:
Fri Nov 20, 2020 3:58 pm
laukejas wrote:
Fri Nov 20, 2020 3:24 pm
Pressing "Open system shell" opens the shell, but I don't think WebREPL is running. All I'm seeing is plain command line, waiting for regular inputs, not like WebREPL. Am I missing some dependency or something?
Oops, I forgot that we were talking about WebREPL. In this case I can't offer any work-arounds at the moment.
laukejas wrote:
Fri Nov 20, 2020 3:24 pm
Also, I am not quite sure I understand what you meant by "send your keystrokes in normal way", could you please explain?
I meant just pressing the keys in terminal window and doing sys.stdin.read(1) in your MicroPython code. But at the moment Thonny provides terminal window for MicroPython REPL only via serial connection.
Understood... That's really unfortunate. Thank you for your time, though. Perhaps this functionality could be something you might consider for the future versions of Thonny, if it's not too difficult to implement?

Re: Using webrepl instead of USB connection with Thonny IDE

Posted: Fri Nov 20, 2020 5:42 pm
by aivarannamaa
laukejas wrote:
Fri Nov 20, 2020 5:02 pm
Perhaps this functionality could be something you might consider for the future versions of Thonny, if it's not too difficult to implement?
I added this to my TODO list: https://github.com/thonny/thonny/issues/1439

Re: Using webrepl instead of USB connection with Thonny IDE

Posted: Fri Nov 20, 2020 5:53 pm
by laukejas
aivarannamaa wrote:
Fri Nov 20, 2020 5:42 pm
laukejas wrote:
Fri Nov 20, 2020 5:02 pm
Perhaps this functionality could be something you might consider for the future versions of Thonny, if it's not too difficult to implement?
I added this to my TODO list: https://github.com/thonny/thonny/issues/1439
Awesome, thank you very much!

Re: Using webrepl instead of USB connection with Thonny IDE

Posted: Wed Nov 25, 2020 3:57 pm
by Daniel R
aivarannamaa wrote:
Mon Nov 02, 2020 9:12 pm
I just released the next beta of Thonny 3.3, which should work much better with WebREPL: https://github.com/thonny/thonny/releases/tag/v3.3.0b7

Looking forward to your feedback!
Great! WebREPL support is just what I need.

Unfortunately, it's not very stable for me. Using a TinyPICO ESP32. Some things not working for me:

- Run current script
- Start/stop

To make code changes, I have to first save, and then restart the board (ctrl-d). Also frequently have to restart Thonny.

Also, any plans for Github support? Would be great to have files on the board automatically sync to GitHub (or somewhere on my computer).

Daniel

Re: Using webrepl instead of USB connection with Thonny IDE

Posted: Wed Nov 25, 2020 5:02 pm
by aivarannamaa
Daniel R wrote:
Wed Nov 25, 2020 3:57 pm
Unfortunately, it's not very stable for me. Using a TinyPICO ESP32. Some things not working for me:

- Run current script
- Start/stop

To make code changes, I have to first save, and then restart the board (ctrl-d). Also frequently have to restart Thonny.
Please report the bugs at https://github.com/thonny/thonny/issues/new

Daniel R wrote:
Wed Nov 25, 2020 3:57 pm
Also, any plans for Github support? Would be great to have files on the board automatically sync to GitHub (or somewhere on my computer).
No, at the moment I don't have plans for this.