Trying to make a GUI for my printer.
Firstly, what is the bets way to do it? From what I understand, one way is to make a custom template and render it and the second way would be to use the REST API and make another app. Which way would be better I don't know as i dont have too much experience with either?
For starters I did make a custom template in jinja2 and rendered it, but i don't know how to add functionality to it. I believe OctoPrint uses JS from the 'static' folder', is there any tutorial as to how can i add functionality for e.g. display actual temperature on my rendered template?
What did you already try to solve it?
Have tried going through the jinja2 templates and looked for data-bindings leading to JS, but not sure is the right way to do it.