Город МОСКОВСКИЙ
00:15:09

Using the Node-Red Template Node with Mustache Formatting

Аватар
JS Исследование
Просмотры:
32
Дата загрузки:
29.11.2023 13:42
Длительность:
00:15:09
Категория:
Лайфхаки

Описание

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.
Tutorial on site
https://stevesnoderedguide.com/node-red-template-node

resources mentioned in the video

https://github.com/janl/mustache.j #mustachejs---logic-less-mustache-templates-with-javascript

demo flow
https://stevesnoderedguide.com/download/node-red-template-node-video
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


Newsletter sign up
http://www.steves-internet-guide.com/newsletter/


If you find these videos useful then you might want to consider buying me a coffee
https://www.paypal.me/StepenCope

Рекомендуемые видео