TheDebug Node is
...
a node designed for verification of the output signal of other nodes.
Debug Node shows chosen message characteristics in the debug sidebar and can also exhibit them in the runtime log if needed. The default setting is to show msg.payload, but any feature, the whole message or the JSONata outcome can be configured.
...
Step-by-step instructions - example
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
To see how this node works import the ready made flow using the instructions here: Importing a Node-RED flow or follow the instructions below. |
Code Block |
---|
[{"id":"48c64e7.cdb30b","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"f79eb729.4dbfd8","type":"vertex action","z":"48c64e7.cdb30b","name":"","typeButton":"single","bPayload":{"action":"off","group":"80e71f1b478e0dda915682ba49ea6d10","param":null,"priority":"254"},"bState":"","defaultpriority":true,"x":770,"y":320,"wires":[["3f884023.a9f3e"]]},{"id":"d9625e51.a9caf","type":"dali2devs","z":"48c64e7.cdb30b","name":"","uid":"0022518508153C283A","dali2dev":"0","devStatus":2,"instanceType":1,"dali2t1":90,"dali2t2":"","instanceData":{"InstanceStatusFlags":2,"InstanceType":1,"Resolution":1,"InstanceError":false,"InstanceActive":true,"InstanceGroup0":255,"InstanceGroup1":255,"InstanceGroup2":255,"EventScheme":2,"EventPriority":3,"EventFilter":212,"EventFilterSize":1,"FeatureType":[],"InputValue":0,"InstanceDetails":{"ShortTimer":25,"ShortTimerMin":10,"DoubleTimer":0,"DoubleTimerMin":10,"RepeatTimer":8,"StuckTimer":20},"DataModelRecipe":["Dali2Instance301_config"],"INSTNR":0},"mode":"normal","x":550,"y":320,"wires":[["f79eb729.4dbfd8","95460531.d0dc08"]]},{"id":"3f884023.a9f3e","type":"vertex cluster","z":"48c64e7.cdb30b","rate":90,"x":970,"y":320,"wires":[]},{"id":"95460531.d0dc08","type":"debug","z":"48c64e7.cdb30b","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":770,"y":260,"wires":[]}] |
...
Find the following nodes in the palette on the left side of the Node-RED, drag them to your workspace and connect them as shown.
DALI2 Devs Common
vertex action
vertex cluster
debug node
Open the debug node, to view upcoming messages, go to the ‘bug’ tab
...
.
It is possible to configure Debug Node
...
In the Output form you can enter what type of message you want to display. By default it’s msg.payload.