adds code


In this video tutorial we look at using the node-red template node with mustache formatting. The template node is a core node red node and is used for creating html (web pages). Templates can be port html (plain text) or incorporate mustache formatting to make them more dynamic. The use of mustache formatting lets us extract data from the msg object and add it to our HTML page. The demo flow uses a table to display the last ten messages received and is actually used in my latest data logger flow. The demo flow is available below. resources mentioned in the video https://github.com/janl/mustache.js#mustachejs---logic-less-mustache-templates-with-javascript demo flow look under You Tube video section http://www.steves-internet-guide.com/wp-admin/downloads Other Related videos The Node-Red Message Object for Beginners https://youtu.be/y05vQUIMIxs How to Store Data In Node Red Variables https://youtu.be/kNfP1vw2Img Have a question Use the comments or if you want help then use http://www.steves-internet-guide.com/ask-steve/ If you find these videos useful then you might want to consider buying me a coffee https://www.paypal.me/StepenCope
Previous Post Next Post