Why does my debug node show Event object

In my debug console i get the event object as shown. Could someone kindly let me know why and how it is generated in the flow. Thanks

object
payload: array[5]
event: object
clientX: 864
clientY: 539
bbox: array[4]
0: 822
1: 551
2: 924
3: 503

and the screen shot

snap

The t1 node is generating this event.

@bakman2 Thanks for your prompt response. It is there in the output of debug node t1. I never coded this is the entire flow, nor i requested it. How comes it is in the debug console. Does this represent some node setting. The output looks something like a mouse event (I presume). Could you kindly elaborate further.

For ease of understanding, following is the isolated portion of flow
F1

and here are the contents of function node

var ping=msg.payload
if(ping==='#'){
    msg.payload=ping
    return [null,msg]
}
var msg1={}
var msg2={}
var value=global.get(["servo","min","max","angle","cat"])

var pl=msg.payload
if(/sent/.test(pl)===true){
    if(value[0]===""){
        pl="Select a servo !"
        msg.payload=pl
        return[msg,null]
    }
msg1.payload=pl
msg1.servo=value[0]
}
if(pl===""){
    msg1=null
}

var payload=[]
switch(value[0]){
    case "Rotate":
        sNo=1;
        break;
    case "Lift":
        sNo=3;
        break;
    case "Swing":
        sNo=5;
        break;
    case "Clutch":
        sNo=0;
        break;
    case "Neck":
        sNo=2;
        break;
    case "Elbow":
        sNo=4;
        break;
    default:
    sNo=99
}
payload[0]=sNo
payload[1]=value[3]
payload[2]=value[1]
payload[3]=value[2]
payload[4]=value[4]
msg2.payload=payload
msg2.servo=value[0]
return [msg1,msg2];

complete flow (sorry it's being too meshed up)

[{"id":"2207c839.270ea8","type":"tab","label":"Test","disabled":false,"info":""},{"id":"d312d00.f33373","type":"ui_dropdown","z":"2207c839.270ea8","name":"Servos","label":"","tooltip":"","place":"Select Servo","group":"ff2ede8a.a9a4b","order":2,"width":4,"height":1,"passthru":true,"options":[{"label":"Rotate","value":"Rotate","type":"str"},{"label":"Lift","value":"Lift","type":"str"},{"label":"Swing","value":"Swing","type":"str"},{"label":"Clutch","value":"Clutch","type":"str"},{"label":"Neck","value":"Neck","type":"str"},{"label":"Elbow","value":"Elbow","type":"str"}],"payload":"","topic":"","x":240,"y":40,"wires":[["a220d529.9a6738","60468ba9.3ec484","d7ba01ef.a47f9"]]},{"id":"8ce6cfe8.03cd8","type":"ui_slider","z":"2207c839.270ea8","name":"SMin","label":"","tooltip":"","group":"ff2ede8a.a9a4b","order":17,"width":4,"height":1,"passthru":true,"outs":"all","topic":"","min":"0","max":"250","step":1,"x":310,"y":200,"wires":[["b9875870.e86d58","3d73c410.e71e6c","8eec54f5.f528b8"]]},{"id":"b9875870.e86d58","type":"ui_gauge","z":"2207c839.270ea8","name":"gMin","group":"ff2ede8a.a9a4b","order":5,"width":6,"height":4,"gtype":"gage","title":"Min Pulse Width","label":"units","format":"{{value}}","min":0,"max":"250","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":450,"y":200,"wires":[]},{"id":"3d73c410.e71e6c","type":"ui_text_input","z":"2207c839.270ea8","name":"tMin","label":"Enter:","tooltip":"","group":"ff2ede8a.a9a4b","order":29,"width":4,"height":1,"passthru":true,"mode":"number","delay":"0","topic":"","x":170,"y":200,"wires":[["8ce6cfe8.03cd8"]]},{"id":"dacbd0bc.a3518","type":"inject","z":"2207c839.270ea8","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":"0.1","x":70,"y":40,"wires":[["5cd9f9ce.b21928","7cf7eafe.177424","9fbfcef4.f5f4a"]]},{"id":"4c544b58.8c03d4","type":"ui_button","z":"2207c839.270ea8","name":"","group":"ff2ede8a.a9a4b","order":10,"width":2,"height":1,"passthru":false,"label":"Save","tooltip":"","color":"","bgcolor":"","icon":"","payload":"false","payloadType":"bool","topic":"","x":670,"y":190,"wires":[["cccb0a6a.992018"]]},{"id":"cf4bd6b3.d8c028","type":"ui_slider","z":"2207c839.270ea8","name":"SMax","label":"","tooltip":"","group":"ff2ede8a.a9a4b","order":19,"width":4,"height":1,"passthru":true,"outs":"all","topic":"","min":"250","max":"800","step":1,"x":310,"y":300,"wires":[["c76ada89.22a2c8","841c5518.f69da8","7715d7ee.036148"]]},{"id":"c76ada89.22a2c8","type":"ui_gauge","z":"2207c839.270ea8","name":"gMax","group":"ff2ede8a.a9a4b","order":6,"width":6,"height":4,"gtype":"gage","title":"Max Pulse Width","label":"units","format":"{{value}}","min":"250","max":"800","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":450,"y":300,"wires":[]},{"id":"841c5518.f69da8","type":"ui_text_input","z":"2207c839.270ea8","name":"tMax","label":"Enter:","tooltip":"","group":"ff2ede8a.a9a4b","order":31,"width":4,"height":1,"passthru":true,"mode":"number","delay":"0","topic":"","x":170,"y":300,"wires":[["cf4bd6b3.d8c028"]]},{"id":"a6e5fdcb.7fc18","type":"ui_slider","z":"2207c839.270ea8","name":"sAngle","label":"","tooltip":"","group":"ff2ede8a.a9a4b","order":21,"width":4,"height":1,"passthru":true,"outs":"all","topic":"","min":0,"max":"180","step":1,"x":310,"y":400,"wires":[["9ba32973.197eb8","6e77584d.fbba28","ad1da321.09b49"]]},{"id":"9ba32973.197eb8","type":"ui_gauge","z":"2207c839.270ea8","name":"gAngle","group":"ff2ede8a.a9a4b","order":7,"width":6,"height":4,"gtype":"gage","title":"Angle","label":"degrees","format":"{{value}}°","min":0,"max":"180","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":460,"y":420,"wires":[]},{"id":"ad1da321.09b49","type":"ui_text_input","z":"2207c839.270ea8","name":"tAngle","label":"Enter:","tooltip":"","group":"ff2ede8a.a9a4b","order":33,"width":4,"height":1,"passthru":true,"mode":"number","delay":"0","topic":"","x":170,"y":400,"wires":[["a6e5fdcb.7fc18"]]},{"id":"a220d529.9a6738","type":"change","z":"2207c839.270ea8","name":"enable","rules":[{"t":"set","p":"enabled","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"cat","pt":"global","to":"0","tot":"num"},{"t":"set","p":"servo","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":40,"wires":[["857017b7.ec9828","fce9e9e7.ac46c8","757de576.0611fc","33e69fe6.5324"]]},{"id":"fce9e9e7.ac46c8","type":"ui_button","z":"2207c839.270ea8","name":"RE","group":"ff2ede8a.a9a4b","order":12,"width":2,"height":1,"passthru":false,"label":"Save RE","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":690,"y":400,"wires":[["fb6adc11.8275"]]},{"id":"857017b7.ec9828","type":"ui_button","z":"2207c839.270ea8","name":"LE","group":"ff2ede8a.a9a4b","order":4,"width":2,"height":1,"passthru":false,"label":"Save LE","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":690,"y":360,"wires":[["d68423f1.be427"]]},{"id":"cdb27368.89b13","type":"ui_button","z":"2207c839.270ea8","name":"","group":"ff2ede8a.a9a4b","order":37,"width":2,"height":1,"passthru":false,"label":"Send","tooltip":"","color":"","bgcolor":"","icon":"fa-bluetooth fa-2x","payload":"Values sent to Arduino","payloadType":"str","topic":"","x":650,"y":40,"wires":[["92842605.9ab748"]]},{"id":"6e77584d.fbba28","type":"change","z":"2207c839.270ea8","name":"","rules":[{"t":"set","p":"angle","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":460,"wires":[[]]},{"id":"40390fc8.b8b12","type":"file","z":"2207c839.270ea8","name":"","filename":"servo settings","appendNewline":true,"createDir":true,"overwriteFile":"false","encoding":"none","x":680,"y":270,"wires":[[]]},{"id":"d68423f1.be427","type":"function","z":"2207c839.270ea8","name":"LE","func":"var servo=global.get(\"servo\")\nvar lo = global.get(\"angle\")\nvar payload={}\nglobal.set(\"lo\",lo)\nglobal.set(\"cat\",1)\npayload.Servo=servo\npayload.LEAngle=lo\nmsg.payload=payload\nmsg.enabled=false\nreturn msg;","outputs":1,"noerr":0,"x":690,"y":320,"wires":[["857017b7.ec9828","40390fc8.b8b12","92842605.9ab748"]]},{"id":"832ca22b.a05e4","type":"inject","z":"2207c839.270ea8","name":"","topic":"","payload":"150","payloadType":"num","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":90,"y":260,"wires":[["3d73c410.e71e6c"]]},{"id":"380a92dc.0c694e","type":"inject","z":"2207c839.270ea8","name":"","topic":"","payload":"600","payloadType":"num","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":90,"y":360,"wires":[["841c5518.f69da8"]]},{"id":"cbded8e2.258c38","type":"inject","z":"2207c839.270ea8","name":"","topic":"","payload":"90","payloadType":"num","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":90,"y":460,"wires":[["ad1da321.09b49"]]},{"id":"fb6adc11.8275","type":"function","z":"2207c839.270ea8","name":"RE","func":"var servo=global.get(\"servo\")\nvar hi = global.get(\"angle\")\nvar lo = global.get(\"lo\")\nvar payload={}\nif(hi>lo){\n    global.set(\"cat\",2)\n    payload.servo=servo\n    payload.REAngle=hi\n    msg.payload=payload\n    msg.enabled=false\n    return [msg, null];\n}\nmsg.payload=`Enter value >${lo}`\nreturn[null,msg]","outputs":2,"noerr":0,"x":850,"y":360,"wires":[["fce9e9e7.ac46c8","40390fc8.b8b12","92842605.9ab748"],["f44f880.d284d78"]]},{"id":"f44f880.d284d78","type":"ui_toast","z":"2207c839.270ea8","position":"top right","displayTime":"3","highlight":"","sendall":true,"outputs":0,"ok":"OK","cancel":"","raw":false,"topic":"","name":"","x":730,"y":460,"wires":[]},{"id":"8eec54f5.f528b8","type":"change","z":"2207c839.270ea8","name":"","rules":[{"t":"set","p":"min","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":320,"y":140,"wires":[[]]},{"id":"7715d7ee.036148","type":"change","z":"2207c839.270ea8","name":"","rules":[{"t":"set","p":"max","pt":"global","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":380,"y":360,"wires":[[]]},{"id":"cccb0a6a.992018","type":"function","z":"2207c839.270ea8","name":"save params to file","func":"var servo=global.get(\"servo\")\nvar min=global.get(\"min\")\nvar max=global.get(\"max\")\nvar payload={}\npayload.servo=servo\npayload.pMax=max\npayload.pMin=min\nmsg.payload=payload\nmsg.enabled=false\nreturn msg;","outputs":1,"noerr":0,"x":710,"y":233,"wires":[["40390fc8.b8b12","4c544b58.8c03d4"]]},{"id":"5cd9f9ce.b21928","type":"file","z":"2207c839.270ea8","name":"Create File","filename":"servo settings","appendNewline":true,"createDir":true,"overwriteFile":"true","encoding":"none","x":210,"y":100,"wires":[[]]},{"id":"92842605.9ab748","type":"function","z":"2207c839.270ea8","name":"Generate payload","func":"var ping=msg.payload\nif(ping==='#'){\n    msg.payload=ping\n    return [null,msg]\n}\nvar msg1={}\nvar msg2={}\nvar value=global.get([\"servo\",\"min\",\"max\",\"angle\",\"cat\"])\n\nvar pl=msg.payload\nif(/sent/.test(pl)===true){\n    if(value[0]===\"\"){\n        pl=\"Select a servo !\"\n        msg.payload=pl\n        return[msg,null]\n    }\nmsg1.payload=pl\nmsg1.servo=value[0]\n}\nif(pl===\"\"){\n    msg1=null\n}\n\nvar payload=[]\nswitch(value[0]){\n    case \"Rotate\":\n        sNo=1;\n        break;\n    case \"Lift\":\n        sNo=3;\n        break;\n    case \"Swing\":\n        sNo=5;\n        break;\n    case \"Clutch\":\n        sNo=0;\n        break;\n    case \"Neck\":\n        sNo=2;\n        break;\n    case \"Elbow\":\n        sNo=4;\n        break;\n    default:\n    sNo=99\n}\npayload[0]=sNo\npayload[1]=value[3]\npayload[2]=value[1]\npayload[3]=value[2]\npayload[4]=value[4]\nmsg2.payload=payload\nmsg2.servo=value[0]\nreturn [msg1,msg2];","outputs":2,"noerr":0,"x":670,"y":100,"wires":[["f053287c.2cce48","901dc889.240ed8"],["fd87d46e.bc7548","514ff355.ea23cc"]]},{"id":"f053287c.2cce48","type":"ui_toast","z":"2207c839.270ea8","position":"top right","displayTime":"3","highlight":"","sendall":true,"outputs":0,"ok":"OK","cancel":"","raw":false,"topic":"","name":"","x":830,"y":40,"wires":[]},{"id":"24149c8e.6332a4","type":"status","z":"2207c839.270ea8","name":"","scope":["fd87d46e.bc7548"],"x":1020,"y":40,"wires":[["f92754ab.e52438"]]},{"id":"901dc889.240ed8","type":"debug","z":"2207c839.270ea8","name":"t0","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1230,"y":320,"wires":[]},{"id":"60468ba9.3ec484","type":"ui_template","z":"2207c839.270ea8","group":"ff2ede8a.a9a4b","name":"","order":1,"width":0,"height":0,"format":"<div id=\"{{'my_'+$id}}\" layout=\"row\" layout-align=\"center\" style=\"{{'color:'+'#0eb8c0'}}\" >\n    <h2>{{msg.payload}}</h2>\n</div>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":480,"y":140,"wires":[[]]},{"id":"9b94bcd8.037ac","type":"catch","z":"2207c839.270ea8","name":"","scope":["c0d8c9fe.671988"],"uncaught":false,"x":790,"y":520,"wires":[[]]},{"id":"514ff355.ea23cc","type":"debug","z":"2207c839.270ea8","name":"t1","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1230,"y":360,"wires":[]},{"id":"fd87d46e.bc7548","type":"serial request","z":"2207c839.270ea8","name":"BL out","serial":"22422298.28c04e","x":730,"y":140,"wires":[["d92359bb.2e92c8"]]},{"id":"f92754ab.e52438","type":"function","z":"2207c839.270ea8","name":"status serial request","func":"var msg1={} // For send button\nvar msg2={} // For notification\nvar msg3={} // For Trigger node\nvar conStatus=/ok/.test(msg.status.text)\nvar toutStatus=/timeout/.test(msg.status.text)\nvar connected=global.get(\"connected\")\nvar reset=true\nvar enabled=true\nvar initComp=context.get(\"initComp\")||false\nif(conStatus===true){\n    msg3.reset=reset\n    msg1.enabled=enabled\n    msg2.payload=\"Connected\"\n    if(connected===true){\n        if(initComp===false){\n            var cnt=context.get(\"cnt\")||0\n            if(cnt<4){\n                global.set(\"cat\",cnt+1)\n                context.set(\"cnt\",cnt+1)\n                msg1.payload=\"\"\n                return[msg1,null,null]\n            }\n            global.set(\"cat\",0)\n            context.set(\"initComp\",true)\n            context.set(\"cnt\",0)\n        }\n        return [null,null,null]\n    }\n    global.set(\"connected\",true)\n    return [msg1,msg2,msg3]\n}\nif(toutStatus===true){\n    if(connected===true){\n        global.set(\"connected\",false)\n        msg2.payload=\"Connection Lost\"\n        msg1.enabled=false\n        msg3.payload=\"\"\n        return [msg1,msg2,msg3]\n    }\n}\nreturn [null,null,null];","outputs":3,"noerr":0,"x":980,"y":100,"wires":[["92842605.9ab748","cdb27368.89b13"],["983290a8.a2ee4"],["1dda53b2.b2888c"]]},{"id":"d92359bb.2e92c8","type":"debug","z":"2207c839.270ea8","name":"t3","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1210,"y":420,"wires":[]},{"id":"d7ba01ef.a47f9","type":"debug","z":"2207c839.270ea8","name":"t2","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":450,"y":240,"wires":[]},{"id":"66ab22a4.220ebc","type":"ui_switch","z":"2207c839.270ea8","name":"","label":"Angle only","tooltip":"","group":"ff2ede8a.a9a4b","order":39,"width":3,"height":1,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":130,"y":500,"wires":[["f26aeef6.b0869"]]},{"id":"f26aeef6.b0869","type":"function","z":"2207c839.270ea8","name":"enable/ disable ui elm","func":"if(msg.enabled===true){\n    if(global.get(\"angle_only\")===true){\n        msg.enabled=false\n        delete msg.payload\n        return msg\n    }\n}\nmsg.enabled=true\nglobal.set(\"angle_only\",msg.payload)\nif (msg.payload===true){\n    msg.enabled=false\n}\ndelete msg.payload\nreturn msg;","outputs":1,"noerr":0,"x":360,"y":560,"wires":[["3d73c410.e71e6c","841c5518.f69da8","c76ada89.22a2c8","4c544b58.8c03d4","b9875870.e86d58"]]},{"id":"4f469109.9d4db","type":"debug","z":"2207c839.270ea8","name":"t6","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":550,"y":660,"wires":[]},{"id":"ba8a1fe9.ed04e","type":"debug","z":"2207c839.270ea8","name":"t5","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":550,"y":620,"wires":[]},{"id":"4b659668.aed9d8","type":"debug","z":"2207c839.270ea8","name":"t4","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":1230,"y":480,"wires":[]},{"id":"f5977856.998b78","type":"serial in","z":"2207c839.270ea8","name":"","serial":"22422298.28c04e","x":970,"y":280,"wires":[["44c3610e.faa6a","4b659668.aed9d8"]]},{"id":"44c3610e.faa6a","type":"function","z":"2207c839.270ea8","name":"A1","func":"if(msg.request_payload){\n    return null\n}\nvar pl=[]\nfor(var i=0;i<(msg.payload.length)-1;++i){\n    pl[i]=parseInt(msg.payload[i],10)\n}\nvar msg1={_msgid:msg._msgid,payload:pl}\nswitch(pl[6]){\n    case 0:\n        return[msg1,null,null,null]\n    case 1:\n        return[null,msg1,null,null]\n    case 2:\n        return[null,null,msg1,null]\n    case 3:\n        return[null,null,null,msg1]\n}\n//return msg1;","outputs":4,"noerr":0,"x":1090,"y":280,"wires":[["b8117905.e37298"],["4882cd89.3af9a4"],["73f058c6.a2d258"],["ff336d0a.933ca"]]},{"id":"b8117905.e37298","type":"ui_template","z":"2207c839.270ea8","group":"ff2ede8a.a9a4b","name":"c angles","order":24,"width":1,"height":4,"format":"<ul style=\"list-style-type:none; margin-left:0px; padding-left:0px;\"><u>c&theta;</u>\n    <li>{{msg.payload[1]}}</li>\n    <li>{{msg.payload[3]}}</li>\n    <li>{{msg.payload[5]}}</li>\n    <li>{{msg.payload[0]}}</li>\n    <li>{{msg.payload[2]}}</li>\n    <li>{{msg.payload[4]}}</li>\n</ul>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":1240,"y":60,"wires":[[]]},{"id":"757de576.0611fc","type":"ui_template","z":"2207c839.270ea8","group":"ff2ede8a.a9a4b","name":"servo names","order":23,"width":2,"height":4,"format":"<ul><u>Servo</u>\n    <li>Rotate:</li>\n    <li>Lift:</li>\n    <li>Swing:</li>\n    <li>Clutch:</li>\n    <li>Neck:</li>\n    <li>Elbow:</li>\n</ul>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":1030,"y":380,"wires":[[]]},{"id":"33e69fe6.5324","type":"ui_button","z":"2207c839.270ea8","name":"RS","group":"ff2ede8a.a9a4b","order":15,"width":2,"height":1,"passthru":false,"label":"RS","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":940,"y":500,"wires":[["51c3dccd.60e114"]]},{"id":"ff336d0a.933ca","type":"ui_template","z":"2207c839.270ea8","group":"ff2ede8a.a9a4b","name":"RS angles","order":27,"width":1,"height":4,"format":"<ul style=\"list-style-type:none; margin-left:0px; padding-left:0px;\"><u>RS&theta;</u>\n    <li>{{msg.payload[1]}}</li>\n    <li>{{msg.payload[3]}}</li>\n    <li>{{msg.payload[5]}}</li>\n    <li>{{msg.payload[0]}}</li>\n    <li>{{msg.payload[2]}}</li>\n    <li>{{msg.payload[4]}}</li>\n</ul>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":1250,"y":180,"wires":[[]]},{"id":"73f058c6.a2d258","type":"ui_template","z":"2207c839.270ea8","group":"ff2ede8a.a9a4b","name":"RE angles","order":26,"width":1,"height":4,"format":"<ul style=\"list-style-type:none; margin-left:0px; padding-left:0px;\"><u>RE</u>\n    <li>{{msg.payload[1]}}</li>\n    <li>{{msg.payload[3]}}</li>\n    <li>{{msg.payload[5]}}</li>\n    <li>{{msg.payload[0]}}</li>\n    <li>{{msg.payload[2]}}</li>\n    <li>{{msg.payload[4]}}</li>\n</ul>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":1250,"y":140,"wires":[[]]},{"id":"4882cd89.3af9a4","type":"ui_template","z":"2207c839.270ea8","group":"ff2ede8a.a9a4b","name":"LE angles","order":25,"width":1,"height":4,"format":"<ul style=\"list-style-type:none; margin-left:0px; padding-left:0px;\"><u>LE</u>\n    <li>{{msg.payload[1]}}</li>\n    <li>{{msg.payload[3]}}</li>\n    <li>{{msg.payload[5]}}</li>\n    <li>{{msg.payload[0]}}</li>\n    <li>{{msg.payload[2]}}</li>\n    <li>{{msg.payload[4]}}</li>\n</ul>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":true,"templateScope":"local","x":1240,"y":100,"wires":[[]]},{"id":"7cf7eafe.177424","type":"change","z":"2207c839.270ea8","name":"","rules":[{"t":"set","p":"angle_only","pt":"global","to":"false","tot":"bool"},{"t":"set","p":"cat","pt":"global","to":"0","tot":"num"},{"t":"set","p":"connected","pt":"global","to":"false","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":120,"y":140,"wires":[["d312d00.f33373","cdb27368.89b13"]]},{"id":"51c3dccd.60e114","type":"function","z":"2207c839.270ea8","name":"RS","func":"var servo=global.get(\"servo\")\nvar RS = global.get(\"angle\")\nvar payload={}\nglobal.set(\"cat\",3)\npayload.servo=servo\npayload.RSAngle=RS\nmsg.payload=payload\nmsg.enabled=false\nreturn msg;","outputs":1,"noerr":0,"x":910,"y":460,"wires":[["33e69fe6.5324","40390fc8.b8b12","92842605.9ab748"]]},{"id":"1dda53b2.b2888c","type":"trigger","z":"2207c839.270ea8","op1":"#","op2":"#","op1type":"str","op2type":"str","duration":"-5","extend":false,"units":"s","reset":"","bytopic":"all","name":"Check Conn","x":950,"y":160,"wires":[["92842605.9ab748"]]},{"id":"b22fc510.49cd58","type":"inject","z":"2207c839.270ea8","name":"","topic":"","payload":"","payloadType":"str","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":930,"y":220,"wires":[["1dda53b2.b2888c"]]},{"id":"27fc9b6.bb2d764","type":"ui_toast","z":"2207c839.270ea8","position":"top right","displayTime":"3","highlight":"","sendall":true,"outputs":0,"ok":"OK","cancel":"","raw":false,"topic":"","name":"","x":610,"y":500,"wires":[]},{"id":"983290a8.a2ee4","type":"ui_toast","z":"2207c839.270ea8","position":"top right","displayTime":"3","highlight":"","sendall":true,"outputs":0,"ok":"OK","cancel":"","raw":false,"topic":"","name":"","x":1130,"y":220,"wires":[]},{"id":"9fbfcef4.f5f4a","type":"change","z":"2207c839.270ea8","name":"disable","rules":[{"t":"set","p":"enabled","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":520,"y":20,"wires":[["cdb27368.89b13"]]},{"id":"ff2ede8a.a9a4b","type":"ui_group","z":"","name":"Default","tab":"721f875e.fbdef8","order":1,"disp":false,"width":"25","collapse":false},{"id":"22422298.28c04e","type":"serial-port","z":"","serialport":"COM13","serialbaud":"57600","databits":"8","parity":"none","stopbits":"1","waitfor":"","dtr":"none","rts":"none","cts":"none","dsr":"none","newline":"\\n","bin":"bin","out":"char","addchar":"\\n","responsetimeout":"4000"},{"id":"721f875e.fbdef8","type":"ui_tab","z":"","name":"Servos Tweak","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

How did the msg begin? What started the flow of the message - was it from a dashboard button being pressed?

Dashboard button adds those properties so it can play nicely with other nodes e.g. context menu.

Ps, add debug nodes to all nodes and you will see exactly where it is generated.

@Steve-Mcl Thanks and really grateful. Will do as suggested.

That's it. Thanks, it was generated by send button in the flow.

I'm sure you are aware, unless it is causing a problem downstream, it's nothing to worry about. If it is interfering then you have a few choices. You can generate a new msg object in your function (not recommended as you lose often useful info from the msg making debugging more difficult) or you could use a change node immediately after the button to delete the event property.

Thanks for suggestions, this is not really bothering me. What do these properties represent anyways? :thinking:

Those are the click coordinates in the Dashboard UI. Some of the widgets generate them. They are useful for building context menus: [Announce] node-red-contrib-ui-contextmenu

2 Likes

That's why :slight_smile:

@Steve-Mcl @kuema Thank you all, I am grateful for your guidance and help and appreciate a lot.

@kuema Thanks, your post greatly helped me to understand the working.
[Announce] node-red-contrib-ui-contextmenu

It was some hidden 'product placement' for @BartButenaers and @Steve-Mcl :rofl:

3 Likes

Appreciate their work. Great job :+1:

If you are interested in floor plans and SVG, have a look at their SVG Dashboard node as well: https://flows.nodered.org/node/node-red-contrib-ui-svg

Thanks, that would be good addition to my lib

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.