Using Status Information and The Node-Red Status Node

Опубликовано: 28 Сентябрь 2024
на канале: Steve Cope
18,168
143

In node-red all nodes can display status information on the admin UI.

In this video we look at using capturing and using this information in a flow.

This is especially useful with nodes like MQTT where we don't want to publish data if we don't have a connection.
To do this we need to a the status node into the flow.
You can get the status node to monitor multiple nodes or just a single node.
When it detects a status change in sends a message.
It is also important to realise that the status node will only send a message when the status changes which is another important reason why you should capture it using a context object.

In the video I forgot to mention that you can disable status information from appearing in the settings. It is enabled by default.

Tutorial on Site
https://stevesnoderedguide.com/using-...

Flow used in video is on download page
http://stevesnoderedguide.com/downloa...

Related Videos
How to Store Data In Node Red Variables
   • How to Store Data In Node Red Variables  
---------------------------------

Using the Node-Red Dashboard Switch Node
   • Using the Node-Red Dashboard Switch Node  


Node-Red Using the Status Node for Flow Control
   • Node-Red Using the Status Node for Fl...  



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