Debug Node is useful when you want to get information about the transmitted signal in the flow. It provides valuable information for the programmer when writing a program
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.
Example commissioning
[{"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":[]}]
Remember to click Deploy button.
To view upcoming messages, go to the tab shown in the following image.
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.
Add Comment