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!


Just starting a project with the same requirement (I.e. JupyterLab, multi user, Web Serial)

Did you manage to get it going?


No, I eventually concluded it was a no go. So I ended up using the Web Serial API in a pure HTML/Javascript implementation of a data logger module outside of Jupyter. That worked reasonably well.

Thanks for letting me know … Cheers.