Does anybody know of an alternative for the ESP-DASH-library

Hi Everybody,

recently I discovered the ESP-DASH-library in the Arduino-library-manager.
I installed it and run some of the example-codes.

This website-framework is very promising yet not easy to use.
The effort to create a button or a slider is reduced to a few lines of code.
This is very neat.

The cons are:
There is almost no documentation. The example-codes hardly tell you what is possible
or what the general principle of use is. The names for the objects are badly chosen misleading into wrong directions about what is user-definable and what not.

There seems to be no function to get all the dashboard-elements into a pre-programmed order.
it seems that regardless in which order I define the elements the library insists on its own mysterious order how it places the elements on the website.

So if somebody knows of some kind of Website-Dash-Board-library that has documention and where I can
define the order how the elements shall apear on the website please post an url.

best regards Stefan

I suppose you mean beyond the GitHub help?

J-M-L:
I suppose you mean beyond the GitHub help?

Yes of course.
There is a little bit of help through the examples in the GiPo (my short for GitHubRepository)
best regards Stefan

The order of the cards does not seem supported yet (already raised here)

before downloading anything that will "run" within my network I always want to look at the code.The web page they generate is cryptic (gzipped decimal file), so I'm not even sure I want to download this (even if you unzip it (use this ) it's still a huge heavily processed javascript thingy...

no particular reason to have doubts, but ...

PS: seeing this at the start of the file

    <script data-name="BMC-Widget" async src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="6QGVpSj" data-description="Support me on Buy me a coffee!" 
data-message="You can always support my work by buying me a coffee!" 
data-color="#FF813F" data-position="right" 
data-x_margin="24" data-y_margin="24"></script>

seems to hint that you'll have to see the "Buy Me a Coffee" thingy all the time in the web page. Of course open source developers should be supported, but this would be annoying for me to have this in my face all the time.

Hi JML,

(even if you unzip it (use this ) it's still a huge heavily processed javascript thingy...

I don't understand what this website has to do with ESP-DASH. Does ESP-Dash use this zip-functionality?
Yes the zipped code is hiding away things. I have run the code in my network and discovered no problems
Kaspersky Internet Security was not alarming anything.

One approach for user-defined positions of the cards would be to analyse the generated html before it is sended and re-arrange it. Not very elegant. But this approach does not need to modify the JSON-code.

Do you have knowledge about JSON-scripts? Or could you recommend a JSON-related user-forum to ask questions about the JSON part there. Of course adding a index-item to the JSON-scipt would be much better.

best regards Stefan

that website was just to make it easy to extract the HTML from the gzipped binary DASH_HTML[] progmem array

I have run the code in my network and discovered no problems

that's what I don't like to do in my home network.. zero days exploits etc... and I don't like much code obfuscation without documentation.. it's just me, of course everyone does how they see fit.

adding a index-item to the JSON-scipt would be much better

I think that would be the right approach. Everything is done and hidden in the big gzipped html so quite a learning curve to dig in there...

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.