Remote access to serial ports via Web Serial API

I have previously used the pyserial library to implement serial communications from Jupyter notebooks to embedded development boards such as Arduino. I’m now working on some remote learning modules and would like to extend the concept to remotely hosted notebooks (Google Colaboratory / Jupyterhub). The experimental Web Serial API looks like just the thing. But I’m having some difficulties pulling the Javascript calls into my Notebooks. Does anyone have any guidance? Or already working on something similar?
Thank you!

1 Like