Universal web dashboard project
Posted: Sat Nov 25, 2017 8:31 pm
One of the project I wanted to do for a long time is a generic, universal, unbloated web-based dashboard. Of course, using MicroPython. Picoweb quite matured recently (few steps away from supporting websockets for example), so up to the task.
Of course, there're whole gazillion of dashboard projects around, so the idea is again: 1) create as generic dashboard as possible, not tied to a particular use; 2) make it (potentially) usable even for small MicroPython ports (like ESP8266) without Internet connection, which means using unbloated JavaScript libraries (largely, vanilla JS).
Generally, large part of the project would be JS programming and CSS design, Python part would be trivial (at the base functionality).
I opened a brainstorming ticket at https://github.com/pfalcon/udashboard/issues/1 .
As a proof of concept, I also made a quick port of PyDashie to MicroPython/Picoweb: https://github.com/pfalcon/pydashie-picoweb . It works, but among the things, includes 900KB of jQuery libs bloat. That's exactly what I'd like to avoid.
So, if someone wanted to something like that for a long time too, and/or has suggestions regarding cute unbloated JS libs, or can help with styling, feel free to comment here or at the github ticket above.
Of course, there're whole gazillion of dashboard projects around, so the idea is again: 1) create as generic dashboard as possible, not tied to a particular use; 2) make it (potentially) usable even for small MicroPython ports (like ESP8266) without Internet connection, which means using unbloated JavaScript libraries (largely, vanilla JS).
Generally, large part of the project would be JS programming and CSS design, Python part would be trivial (at the base functionality).
I opened a brainstorming ticket at https://github.com/pfalcon/udashboard/issues/1 .
As a proof of concept, I also made a quick port of PyDashie to MicroPython/Picoweb: https://github.com/pfalcon/pydashie-picoweb . It works, but among the things, includes 900KB of jQuery libs bloat. That's exactly what I'd like to avoid.
So, if someone wanted to something like that for a long time too, and/or has suggestions regarding cute unbloated JS libs, or can help with styling, feel free to comment here or at the github ticket above.