[{"id":"3e21ca48.bc8856","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"ed77903a.c80f6","type":"function","z":"3e21ca48.bc8856","name":"","func":"//var msg = {};\nconst bacnet1 = global.get('bacnet');\n// Initialize BACStack\nvar client = bacnet1({adpuTimeout: 6000});\n\nclient.whoIs();\n\nclient.on('iAm', (device) => {\n console.log('address: ', device.address, ' - deviceId: ', device.deviceId, ' - maxAdpu: ', device.maxAdpu, ' - segmentation: ', device.segmentation, ' - vendorId: ', device.vendorId);\n});\n","outputs":1,"noerr":0,"x":450,"y":300,"wires":[["b11cacc4.e421a"]]},{"id":"b11cacc4.e421a","type":"debug","z":"3e21ca48.bc8856","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":670,"y":240,"wires":[]},{"id":"35eea2d3.d571be","type":"ui_button","z":"3e21ca48.bc8856","name":"","group":"4eb4d82b.900068","order":1,"width":0,"height":0,"passthru":false,"label":"BACnet Whois T","tooltip":"","color":"red","bgcolor":"","icon":"","payload":"1","payloadType":"num","topic":"","x":220,"y":300,"wires":[["ed77903a.c80f6","66650a75.6851e4"]]},{"id":"6ee62fd4.b9e13","type":"ui_text","z":"3e21ca48.bc8856","group":"4eb4d82b.900068","order":3,"width":"10","height":"21","name":"Whois results","label":"Whois results T","format":"{{msg.payload}}","layout":"col-center","x":1160,"y":360,"wires":[]},{"id":"32e450d4.a6fc4","type":"exec","z":"3e21ca48.bc8856","command":"sudo node-red-log ","addpay":true,"append":"","useSpawn":"true","timer":"","oldrc":false,"name":"Whois results","x":660,"y":420,"wires":[["d0c50508.b826d8","db3e4132.31dbe"],[],[]]},{"id":"66650a75.6851e4","type":"delay","z":"3e21ca48.bc8856","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":460,"y":420,"wires":[["32e450d4.a6fc4"]]},{"id":"d0c50508.b826d8","type":"debug","z":"3e21ca48.bc8856","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":830,"y":300,"wires":[]},{"id":"a5ac1c26.72e45","type":"debug","z":"3e21ca48.bc8856","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1150,"y":420,"wires":[]},{"id":"e794f126.14103","type":"ui_button","z":"3e21ca48.bc8856","name":"","group":"4eb4d82b.900068","order":2,"width":0,"height":0,"passthru":false,"label":"Clear Results T","tooltip":"","color":"red","bgcolor":"","icon":"","payload":"Results Cleared","payloadType":"str","topic":"","x":220,"y":360,"wires":[["6ee62fd4.b9e13"]]},{"id":"db3e4132.31dbe","type":"sort","z":"3e21ca48.bc8856","name":"","order":"ascending","as_num":true,"target":"payload","targetType":"msg","msgKey":"","msgKeyType":"elem","seqKey":"payload","seqKeyType":"msg","x":930,"y":420,"wires":[["a5ac1c26.72e45"]]},{"id":"4eb4d82b.900068","type":"ui_group","z":"","name":"Whois","tab":"99082a6.ab01ed8","order":1,"disp":true,"width":10,"collapse":true},{"id":"99082a6.ab01ed8","type":"ui_tab","z":"","name":"Testing","icon":"dashboard","disabled":false,"hidden":false}]