I was having troubles to get started with the web things upy and would like to propose some enhancenments for first time users, to get users started quickly.
As I understand, microwebsrv should be available as frozen module within uPy - which in turns requires to have the full build toolchain available. It also means you have to checkout the version from the repository from @dhylands, which may not be the most recent version of the loboris fork. Both of this steps are not very straightforward to do.
I would be nice to have a known-good prebuild binary available that can be flashed to the ESP-WROVER-KIT or SparkFun ESP32 Thing, to get new users started quickly with uPy + WebThings.
Possibly, since I belive the upstream repository from https://github.com/jczic/MicroWebSrv has merged the changes from @dhylands, new users may fork this official repo and then apply these changes to the loboris repo (I haven't tested this though).
And then a wish: Would it be possible to extend the supported devices to the new pyboard D series? Possbily this device could run microwebsrv.py even as precompiled and/or python code (not frozen) - that would allow to simply drag&drop the files to the pyboard flash mass storage without installing any build toolchains (which really should be the goal to make uPy-webthings more attractive IMO).
Thanks for your feedback and it's great that mozilla is supporting uPy!
I was having troubles to get started with the web things upy and would like to propose some enhancenments for first time users, to get users started quickly.
As I understand, microwebsrv should be available as frozen module within uPy - which in turns requires to have the full build toolchain available. It also means you have to checkout the version from the repository from @dhylands, which may not be the most recent version of the loboris fork. Both of this steps are not very straightforward to do.
I would be nice to have a known-good prebuild binary available that can be flashed to the ESP-WROVER-KIT or SparkFun ESP32 Thing, to get new users started quickly with uPy + WebThings.
Possibly, since I belive the upstream repository from https://github.com/jczic/MicroWebSrv has merged the changes from @dhylands, new users may fork this official repo and then apply these changes to the loboris repo (I haven't tested this though).
And then a wish: Would it be possible to extend the supported devices to the new pyboard D series? Possbily this device could run microwebsrv.py even as precompiled and/or python code (not frozen) - that would allow to simply drag&drop the files to the pyboard flash mass storage without installing any build toolchains (which really should be the goal to make uPy-webthings more attractive IMO).
Thanks for your feedback and it's great that mozilla is supporting uPy!