Node Red / EVOK / Relay



  • Hello everybody,

    At the moment I'm just desperate.
    I'm trying to design a NodeRed Dashboard for some time, but I can not figure out how to drive a relay correctly. I would like to implement the control only locally.

    Where is the problem?

    I have already read all forum topics and just found no answer to my question.

    It certainly will not be that difficult to integrate Node Red?

    I would be glad if someone could show an example flow, how a relay is controlled by a button.

    Thanks in advance!

    Best regards

    Ueli


  • administrators



  • here's an example flow that should work:

    [{"id":"96ae23da.869f9","type":"websocket in","z":"5bcdfac1.29ad74","name":"","server":"","client":"e7a76108.fb387","x":286.0476608276367,"y":1473.309573173523,"wires":[["8f278ce2.4128c"]]},{"id":"8f278ce2.4128c","type":"function","z":"5bcdfac1.29ad74","name":"IN 1-7 -> RELAY 1-7","func":"var status = JSON.parse(msg.payload);\nvar msg = {};\nif (status.dev == \"input\" && status.circuit<8) {\n\t//leave the relay 8 to the temp control node\n\tif (status.value === 0) {\n\t\tmsg.payload = {\"dev\":\"relay\", \"circuit\":\"\", \"value\":\"0\"};\n\t\tmsg.payload[\"circuit\"] = status.circuit;\n\t}\n\telse {\n\t\tmsg.payload = {\"dev\":\"relay\", \"circuit\":\"\", \"value\":\"1\"};\n\t\tmsg.payload[\"circuit\"] = status.circuit;\n\t}\n\treturn msg;\n}\nelse return;\n","outputs":1,"noerr":0,"x":570.0476608276367,"y":1475.309573173523,"wires":[["f54e4693.87a0f8"]]},{"id":"f54e4693.87a0f8","type":"websocket out","z":"5bcdfac1.29ad74","name":"","server":"","client":"e7a76108.fb387","x":959.0476684570312,"y":1474.3095703125,"wires":[]},{"id":"204f3723.1da8d8","type":"inject","z":"5bcdfac1.29ad74","name":"R1 ON","topic":"","payload":"{\"cmd\":\"set\", \"dev\":\"relay\", \"circuit\":\"1_01\", \"value\":\"1\"}","payloadType":"str","repeat":"","crontab":"","once":false,"x":790,"y":1560,"wires":[["f54e4693.87a0f8"]]},{"id":"cd75e128.e55f8","type":"inject","z":"5bcdfac1.29ad74","name":"R1 OFF","topic":"","payload":"{\"cmd\":\"set\", \"dev\":\"relay\", \"circuit\":\"1_01\", \"value\":\"0\"}","payloadType":"str","repeat":"","crontab":"","once":false,"x":790,"y":1596,"wires":[["f54e4693.87a0f8"]]},{"id":"e7a76108.fb387","type":"websocket-client","z":"","path":"ws://localhost/ws","wholemsg":"false"}]
    


  • Example of Neuron M103

    [{"id":"d00cb237.aa8ef","type":"websocket out","z":"d8745248.e4dc8","name":"UniPi","server":"","client":"42c23429.f210ec","x":410,"y":340,"wires":[]},{"id":"d6135772.91f508","type":"http request","z":"d8745248.e4dc8","name":"RO2.1","method":"POST","ret":"obj","url":"http://127.0.0.1/rest/relay/2_01","tls":"","x":990,"y":60,"wires":[[]]},{"id":"2a08d04b.e634e","type":"http request","z":"d8745248.e4dc8","name":"AO","method":"POST","ret":"obj","url":"http://127.0.0.1/rest/ao/1_01","tls":"","x":990,"y":240,"wires":[[]]},{"id":"9b46771e.365fe8","type":"inject","z":"d8745248.e4dc8","name":"","topic":"","payload":"value=1","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":690,"y":40,"wires":[["663acae1.ce50d4"]]},{"id":"663acae1.ce50d4","type":"function","z":"d8745248.e4dc8","name":"headers","func":"msg.headers = { \"Content-type\" : \"application/x-www-form-urlencoded\" };\n\nreturn msg;","outputs":1,"noerr":0,"x":840,"y":60,"wires":[["d6135772.91f508"]]},{"id":"f7bd82a5.085bb","type":"inject","z":"d8745248.e4dc8","name":"","topic":"","payload":"value=0","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":690,"y":80,"wires":[["663acae1.ce50d4"]]},{"id":"f784d35.3de713","type":"http request","z":"d8745248.e4dc8","name":"DO1.1","method":"POST","ret":"obj","url":"http://127.0.0.1/rest/relay/1_01","tls":"","x":990,"y":160,"wires":[[]]},{"id":"b9c0113e.30434","type":"inject","z":"d8745248.e4dc8","name":"","topic":"","payload":"value=1","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":690,"y":140,"wires":[["594ef514.f3669c"]]},{"id":"898319f.8480ae8","type":"inject","z":"d8745248.e4dc8","name":"","topic":"","payload":"value=0","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":690,"y":180,"wires":[["594ef514.f3669c"]]},{"id":"11fff4b5.e8c97b","type":"inject","z":"d8745248.e4dc8","name":"","topic":"","payload":"value=10","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":700,"y":220,"wires":[["a2ed1886.9d2fc8"]]},{"id":"42d8069b.2ebfb8","type":"inject","z":"d8745248.e4dc8","name":"","topic":"","payload":"value=0","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":690,"y":260,"wires":[["a2ed1886.9d2fc8"]]},{"id":"4c35435.95a19bc","type":"http request","z":"d8745248.e4dc8","name":"LED X1","method":"POST","ret":"obj","url":"http://127.0.0.1/rest/led/1_01","tls":"","x":1000,"y":320,"wires":[[]]},{"id":"6d1f21f1.971e2","type":"inject","z":"d8745248.e4dc8","name":"","topic":"","payload":"value=1","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":690,"y":300,"wires":[["865b2970.05ec38"]]},{"id":"62763880.590d38","type":"inject","z":"d8745248.e4dc8","name":"","topic":"","payload":"value=0","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":690,"y":340,"wires":[["865b2970.05ec38"]]},{"id":"42a679dc.8230c8","type":"function","z":"d8745248.e4dc8","name":"DO1.1","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"1_01\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":40,"wires":[["d00cb237.aa8ef"]]},{"id":"2676b8df.4d9248","type":"function","z":"d8745248.e4dc8","name":"AO","func":"var msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"ao\",\n        \"circuit\": \"1_01\",\n        \"value\": msg.payload\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":720,"wires":[["d00cb237.aa8ef"]]},{"id":"a4975ce0.83db","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"DO1.1","group":"ecb993e7.34161","order":1,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":40,"wires":[["42a679dc.8230c8"]]},{"id":"a172aea9.84a5","type":"function","z":"d8745248.e4dc8","name":"DO1.2","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"1_02\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":80,"wires":[["d00cb237.aa8ef"]]},{"id":"24096848.61c818","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"DO1.2","group":"ecb993e7.34161","order":2,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":80,"wires":[["a172aea9.84a5"]]},{"id":"82710bfc.c7e5f8","type":"function","z":"d8745248.e4dc8","name":"DO1.3","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"1_03\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":120,"wires":[["d00cb237.aa8ef"]]},{"id":"d8a75707.ef6b28","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"DO1.3","group":"ecb993e7.34161","order":3,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":120,"wires":[["82710bfc.c7e5f8"]]},{"id":"a3ec5421.d070c8","type":"function","z":"d8745248.e4dc8","name":"DO1.4","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"1_04\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":160,"wires":[["d00cb237.aa8ef"]]},{"id":"a202fa74.e69f98","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"DO1.4","group":"ecb993e7.34161","order":4,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":160,"wires":[["a3ec5421.d070c8"]]},{"id":"f823d331.ad471","type":"ui_slider","z":"d8745248.e4dc8","name":"","label":"Set","group":"85a021f3.1ea1c","order":3,"width":0,"height":0,"passthru":true,"topic":"","min":0,"max":"10","step":"0.1","x":70,"y":720,"wires":[["2676b8df.4d9248","7aec9c42.c7aa34"]]},{"id":"7aec9c42.c7aa34","type":"ui_text","z":"d8745248.e4dc8","group":"85a021f3.1ea1c","order":2,"width":0,"height":0,"name":"","label":"Analog out","format":"{{msg.payload}} V","layout":"row-spread","x":230,"y":760,"wires":[]},{"id":"2e46cc49.facfb4","type":"function","z":"d8745248.e4dc8","name":"RO2.1","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"2_01\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":200,"wires":[["d00cb237.aa8ef"]]},{"id":"6f80a924.70eff8","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"RO1.1","group":"ecb993e7.34161","order":5,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":200,"wires":[["2e46cc49.facfb4"]]},{"id":"74131b5f.2740c4","type":"function","z":"d8745248.e4dc8","name":"RO2.2","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"2_02\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":240,"wires":[["d00cb237.aa8ef"]]},{"id":"cac53069.ca3e5","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"RO1.2","group":"ecb993e7.34161","order":6,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":240,"wires":[["74131b5f.2740c4"]]},{"id":"9e27884a.5b1fc8","type":"function","z":"d8745248.e4dc8","name":"RO2.3","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"2_03\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":280,"wires":[["d00cb237.aa8ef"]]},{"id":"da635633.9d2878","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"RO1.3","group":"ecb993e7.34161","order":7,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":280,"wires":[["9e27884a.5b1fc8"]]},{"id":"374d72a6.c86cde","type":"function","z":"d8745248.e4dc8","name":"RO2.4","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"2_04\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":320,"wires":[["d00cb237.aa8ef"]]},{"id":"a88fd625.e336a8","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"RO1.4","group":"ecb993e7.34161","order":8,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":320,"wires":[["374d72a6.c86cde"]]},{"id":"90a40b67.b41e08","type":"function","z":"d8745248.e4dc8","name":"RO2.5","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"2_05\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":360,"wires":[["d00cb237.aa8ef"]]},{"id":"61931765.894488","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"RO1.5","group":"ecb993e7.34161","order":9,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":360,"wires":[["90a40b67.b41e08"]]},{"id":"14048c85.f6bb93","type":"function","z":"d8745248.e4dc8","name":"RO2.6","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"2_06\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":400,"wires":[["d00cb237.aa8ef"]]},{"id":"c8c6378f.6f0108","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"RO1.6","group":"ecb993e7.34161","order":10,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":400,"wires":[["14048c85.f6bb93"]]},{"id":"742f1f7b.45f5b","type":"function","z":"d8745248.e4dc8","name":"RO2.7","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"2_07\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":440,"wires":[["d00cb237.aa8ef"]]},{"id":"1cf66b67.960cd5","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"RO1.7","group":"ecb993e7.34161","order":11,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":440,"wires":[["742f1f7b.45f5b"]]},{"id":"7838e9e0.a67008","type":"function","z":"d8745248.e4dc8","name":"RO2.8","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"relay\",\n        \"circuit\": \"2_08\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":210,"y":480,"wires":[["d00cb237.aa8ef"]]},{"id":"de8fd511.180108","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"RO1.8","group":"ecb993e7.34161","order":12,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":70,"y":480,"wires":[["7838e9e0.a67008"]]},{"id":"d5561cde.35134","type":"function","z":"d8745248.e4dc8","name":"LED X1","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"led\",\n        \"circuit\": \"1_01\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":220,"y":520,"wires":[["d00cb237.aa8ef"]]},{"id":"7bfe36aa.0d1fc8","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"LED X1","group":"2f32ad67.0b3f92","order":1,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":80,"y":520,"wires":[["d5561cde.35134"]]},{"id":"72c5978c.7468c8","type":"function","z":"d8745248.e4dc8","name":"LED X2","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"led\",\n        \"circuit\": \"1_02\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":220,"y":560,"wires":[["d00cb237.aa8ef"]]},{"id":"e8ef39e0.b4a028","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"LED X2","group":"2f32ad67.0b3f92","order":2,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":80,"y":560,"wires":[["72c5978c.7468c8"]]},{"id":"41850f8c.22a1f","type":"function","z":"d8745248.e4dc8","name":"LED X3","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"led\",\n        \"circuit\": \"1_03\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":220,"y":600,"wires":[["d00cb237.aa8ef"]]},{"id":"3885bb35.3c0de4","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"LED X3","group":"2f32ad67.0b3f92","order":3,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":80,"y":600,"wires":[["41850f8c.22a1f"]]},{"id":"6d673ee4.0919d","type":"function","z":"d8745248.e4dc8","name":"LED X4","func":"var data;\nif(msg.payload == 1){\n    data = true;\n}\nelse{\n    data = false;    \n}\n\nvar msg =  {\n    payload:{\n        \"cmd\": \"set\",\n        \"dev\": \"led\",\n        \"circuit\": \"1_04\",\n        \"value\": data\n    }\n};\n\nreturn msg;","outputs":1,"noerr":0,"x":220,"y":640,"wires":[["d00cb237.aa8ef"]]},{"id":"c18800f0.18ae8","type":"ui_switch","z":"d8745248.e4dc8","name":"","label":"LED X4","group":"2f32ad67.0b3f92","order":4,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":80,"y":640,"wires":[["6d673ee4.0919d"]]},{"id":"594ef514.f3669c","type":"function","z":"d8745248.e4dc8","name":"headers","func":"msg.headers = { \"Content-type\" : \"application/x-www-form-urlencoded\" };\n\nreturn msg;","outputs":1,"noerr":0,"x":840,"y":160,"wires":[["f784d35.3de713"]]},{"id":"a2ed1886.9d2fc8","type":"function","z":"d8745248.e4dc8","name":"headers","func":"msg.headers = { \"Content-type\" : \"application/x-www-form-urlencoded\" };\n\nreturn msg;","outputs":1,"noerr":0,"x":840,"y":240,"wires":[["2a08d04b.e634e"]]},{"id":"865b2970.05ec38","type":"function","z":"d8745248.e4dc8","name":"headers","func":"msg.headers = { \"Content-type\" : \"application/x-www-form-urlencoded\" };\n\nreturn msg;","outputs":1,"noerr":0,"x":840,"y":320,"wires":[["4c35435.95a19bc"]]},{"id":"42c23429.f210ec","type":"websocket-client","path":"ws://127.0.0.1/ws","wholemsg":"false"},{"id":"ecb993e7.34161","type":"ui_group","z":"","name":"出力","tab":"40d925f6.7f4edc","order":2,"disp":true,"width":"6","collapse":false},{"id":"85a021f3.1ea1c","type":"ui_group","z":"","name":"アナログ入出力","tab":"40d925f6.7f4edc","order":3,"disp":true,"width":"6","collapse":false},{"id":"2f32ad67.0b3f92","type":"ui_group","z":"","name":"LED","tab":"40d925f6.7f4edc","order":4,"disp":true,"width":"6","collapse":false},{"id":"40d925f6.7f4edc","type":"ui_tab","z":"","name":"UniPi Neuron M103","icon":"dashboard","order":1}]```