Hi,
So, I have created flows in Node-RED, and they work as intended. But, since I wanted to have multiple (related) flows on the same tab, I tried to add labels to them, using an ui_template node. I configured it with some basic html to get a nice black label. But, i only see this:
How can I see the result? Is there another view in Node-RED that I have missed, like a “result” view?
Are you talking about the debug node?
Connect a inject node on the left and a debug node on the right, deploy, then press the button on the inject node.
You can add notes to each node, but for easy visual notes I use the ‘comment’ node, and add a note in the heading.
The template node is part of the UI set of nodes, for producing and displaying output in the ‘dashboard’. Node-RED when running as a stand-alone (eg on my Raspberry Pi) produces a web-served dashboard on the host ip address, at port 1880/ui. However, when running on HA as an addon the ports and page are shifted, so it ends up at something like… http://homeassistant.local:8123/endpoint/ui
That said, the easy way to get to NR (as an addon) and the NR dashboard in HA is
add Node-RED to the sidebar menu (so you can get at the flows): see settings, addons, node-red, show in sidebar ‘on’
add Home Assistant Node-RED Dashboard addon. This neat bit of code adds the Node-RED dashboard as an option to the side bar, so you can see the UI output from within HA!
To actually get anything to display on the dashboard requires quite a bit of work to set up the sections and tabs, and to add UI nodes, all of which require adding in to a flow somewhere. Such things as the (text) labels show msg.payload by default.
The dashboard is quite a big part of NR, and has its own menu on the right hand edit bar
This manages all the sections, tabs, and display entities. At the top right is a symbol, which when clicked, will open the dashboard as a new browser tab from within the editor (another useful way to get to the dashboard) although doing so from within HA typically throws a need to enter passwords as you are exposing an HA controlled page.