2
0
Files
lpsarii/.devcontainer/nodered/flows.json

3479 lines
85 KiB
JSON
Raw Normal View History

2026-01-09 07:46:52 +01:00
[
{
"id": "41526b8c80d5a5f7",
"type": "tab",
"label": "Flux 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "dc9d3b99eadb9b34",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
"group": "5fe915fcd26e78ae",
"name": "",
"label": "B0",
2026-01-09 11:24:51 +01:00
"order": 1,
2026-01-09 07:46:52 +01:00
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"buttonColor": "",
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
2026-01-09 10:59:47 +01:00
"x": 690,
"y": 680,
2026-01-09 07:46:52 +01:00
"wires": [
[
2026-01-09 10:59:47 +01:00
"40cd3b8ab614429e"
2026-01-09 07:46:52 +01:00
]
]
},
{
"id": "9dcd1bf2a25f7371",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
"group": "5fe915fcd26e78ae",
"name": "",
"label": "B1",
2026-01-09 11:24:51 +01:00
"order": 2,
2026-01-09 07:46:52 +01:00
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"buttonColor": "",
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
2026-01-09 10:59:47 +01:00
"x": 690,
"y": 720,
2026-01-09 07:46:52 +01:00
"wires": [
[
"4ee747c8012c58a1"
]
]
},
{
"id": "143358afb510246e",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
"group": "5fe915fcd26e78ae",
"name": "",
"label": "B2",
2026-01-09 11:24:51 +01:00
"order": 3,
2026-01-09 07:46:52 +01:00
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"buttonColor": "",
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
2026-01-09 10:59:47 +01:00
"x": 690,
"y": 760,
2026-01-09 07:46:52 +01:00
"wires": [
[
"d966ba0d813b7cb7"
]
]
},
{
"id": "e863fe498c528076",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
"group": "5fe915fcd26e78ae",
"name": "",
"label": "B3",
2026-01-09 11:24:51 +01:00
"order": 4,
2026-01-09 07:46:52 +01:00
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"buttonColor": "",
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
2026-01-09 10:59:47 +01:00
"x": 690,
"y": 800,
2026-01-09 07:46:52 +01:00
"wires": [
[
"501355b0c82cae08"
]
]
},
{
"id": "04e097a5c78127cb",
"type": "mqtt out",
"z": "41526b8c80d5a5f7",
"name": "",
"topic": "geii/in",
"qos": "",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "5bf949eb0a1b50a7",
2026-01-10 07:29:55 +01:00
"x": 110,
2026-01-09 10:59:47 +01:00
"y": 100,
2026-01-09 07:46:52 +01:00
"wires": []
},
{
"id": "d12767fc3e33bb20",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
2026-01-09 11:24:51 +01:00
"group": "02fab8cbf37e2bb7",
2026-01-09 07:46:52 +01:00
"name": "",
"label": "MARCHE",
"order": 1,
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
2026-01-09 11:24:51 +01:00
"buttonColor": "green",
2026-01-09 07:46:52 +01:00
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
2026-01-09 10:59:47 +01:00
"x": 700,
2026-01-09 11:24:51 +01:00
"y": 560,
2026-01-09 07:46:52 +01:00
"wires": [
[
"3e0c75aae8971dca"
]
]
},
{
"id": "a49263451d77f972",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 110,
"y": 40,
"wires": [
[
2026-01-09 10:59:47 +01:00
"869aedf62de05359",
"e52bad35a9e3303a"
2026-01-09 07:46:52 +01:00
]
]
},
{
"id": "3e0c75aae8971dca",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "set marche",
2026-01-09 10:59:47 +01:00
"func": "msg.payload = {\n \"marche\": 1\n};\n\nreturn msg;",
2026-01-09 07:46:52 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
2026-01-09 10:59:47 +01:00
"x": 870,
2026-01-09 11:24:51 +01:00
"y": 560,
2026-01-09 07:46:52 +01:00
"wires": [
[
2026-01-09 10:59:47 +01:00
"bf55b8bf4a7aaf10"
2026-01-09 07:46:52 +01:00
]
]
},
{
"id": "4ee747c8012c58a1",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 10:59:47 +01:00
"name": "send b1",
"func": "msg.payload = {\n \"b1\": 1\n};\n\nreturn msg;",
2026-01-09 07:46:52 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
2026-01-09 10:59:47 +01:00
"x": 860,
"y": 720,
2026-01-09 07:46:52 +01:00
"wires": [
[
2026-01-09 10:59:47 +01:00
"bf55b8bf4a7aaf10"
2026-01-09 07:46:52 +01:00
]
]
},
{
"id": "d966ba0d813b7cb7",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 10:59:47 +01:00
"name": "send b2",
"func": "msg.payload = {\n \"b2\": 1\n};\n\nreturn msg;",
2026-01-09 07:46:52 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
2026-01-09 10:59:47 +01:00
"x": 860,
"y": 760,
2026-01-09 07:46:52 +01:00
"wires": [
[
2026-01-09 10:59:47 +01:00
"bf55b8bf4a7aaf10"
2026-01-09 07:46:52 +01:00
]
]
},
{
"id": "501355b0c82cae08",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 09:52:51 +01:00
"name": "set b3",
2026-01-09 10:59:47 +01:00
"func": "msg.payload = {\n \"b3\": 1\n};\n\nreturn msg;",
2026-01-09 07:46:52 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
2026-01-09 10:59:47 +01:00
"x": 850,
"y": 800,
2026-01-09 07:46:52 +01:00
"wires": [
[
2026-01-09 10:59:47 +01:00
"bf55b8bf4a7aaf10"
2026-01-09 07:46:52 +01:00
]
]
},
{
"id": "1dfea06c14d2732c",
"type": "mqtt in",
"z": "41526b8c80d5a5f7",
"name": "",
"topic": "geii/out",
"qos": "2",
"datatype": "auto-detect",
"broker": "5bf949eb0a1b50a7",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
2026-01-10 07:29:55 +01:00
"x": 170,
"y": 1480,
2026-01-09 07:46:52 +01:00
"wires": [
[
2026-01-09 09:25:37 +01:00
"9ef1bb67f51b254c"
2026-01-09 07:46:52 +01:00
]
]
},
2026-01-09 09:25:37 +01:00
{
"id": "309cae1a9bcc718b",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "c3dd11d0778f9e67",
2026-01-09 09:52:51 +01:00
"order": 1,
2026-01-09 09:25:37 +01:00
"width": 0,
"height": 0,
"name": "",
"label": "s0",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 870,
2026-01-09 10:59:47 +01:00
"y": 1080,
2026-01-09 09:25:37 +01:00
"wires": []
},
{
"id": "6bd900b695c3a793",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "c3dd11d0778f9e67",
2026-01-09 09:52:51 +01:00
"order": 2,
2026-01-09 09:25:37 +01:00
"width": 0,
"height": 0,
"name": "",
"label": "s1",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 870,
2026-01-09 10:59:47 +01:00
"y": 1120,
2026-01-09 09:25:37 +01:00
"wires": []
},
{
"id": "cdc7f0e7741ad210",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "c3dd11d0778f9e67",
2026-01-09 09:52:51 +01:00
"order": 3,
2026-01-09 09:25:37 +01:00
"width": 0,
"height": 0,
"name": "",
"label": "s2",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 870,
2026-01-09 10:59:47 +01:00
"y": 1160,
2026-01-09 09:25:37 +01:00
"wires": []
},
{
"id": "9ef1bb67f51b254c",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "function 1",
2026-01-09 10:59:47 +01:00
"func": "flow.set(\"s0\", Number(msg.payload.s0));\nflow.set(\"s1\", Number(msg.payload.s1));\nflow.set(\"s2\", Number(msg.payload.s2));\nflow.set(\"s3\", Number(msg.payload.s3));\nflow.set(\"s4\", Number(msg.payload.s4));\nflow.set(\"s5\", Number(msg.payload.s5));\nflow.set(\"s6\", Number(msg.payload.s6));\nflow.set(\"s7\", Number(msg.payload.s7));\n\nreturn msg;",
2026-01-09 09:25:37 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
2026-01-09 07:46:52 +01:00
"x": 380,
2026-01-10 07:29:55 +01:00
"y": 1480,
2026-01-09 09:25:37 +01:00
"wires": [
[
"9dad44eccec1d282",
"fc568b731fec8026",
2026-01-09 09:52:51 +01:00
"6179e102d7866a82",
"ccecf6f984daae7c",
"51bb134ec07cdcef",
"ae4e0b8f232fbdfc",
"f98062374cdfd8d1",
2026-01-09 11:44:24 +01:00
"9dfe2d239a268225",
"be011ad2f6f6421d",
"99ccef7cde8a92e9",
"782e8b8cc5e195e4",
2026-01-10 07:29:55 +01:00
"9f7680a2a2de021a",
"2559321f70cd5908",
"12ee9490cfd0c2cb",
"a016dc35c575f406",
"e94f13f0f1acc44c",
"92b7b19f3a84b610",
"cd6ccfdf8cc29b04",
"e694653f29c5c6c3",
"b25a525c97f6ca68",
"f88ed6b89e2793cf",
"41f6c23afe13dda4",
"ca27afe33c09b23a",
"227354827c5b2a9e",
"79e82ef03466071e",
"f55fa882f44af78e",
"02cfaae4ac4028fa"
2026-01-09 09:25:37 +01:00
]
]
},
{
"id": "9dad44eccec1d282",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "s0",
2026-01-09 11:24:51 +01:00
"func": "msg.payload = Number(msg.payload.s0) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
2026-01-09 09:25:37 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
2026-01-09 10:59:47 +01:00
"y": 1080,
2026-01-09 09:25:37 +01:00
"wires": [
[
"309cae1a9bcc718b"
]
]
},
{
"id": "fc568b731fec8026",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "s1",
2026-01-09 11:24:51 +01:00
"func": "msg.payload = Number(msg.payload.s1) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
2026-01-09 09:25:37 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
2026-01-09 10:59:47 +01:00
"y": 1120,
2026-01-09 09:25:37 +01:00
"wires": [
[
"6bd900b695c3a793"
]
]
},
{
"id": "6179e102d7866a82",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 09:52:51 +01:00
"name": "s2",
2026-01-09 11:24:51 +01:00
"func": "msg.payload = Number(msg.payload.s2) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
2026-01-09 09:25:37 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
2026-01-09 10:59:47 +01:00
"y": 1160,
2026-01-09 09:25:37 +01:00
"wires": [
[
"cdc7f0e7741ad210"
]
]
2026-01-09 07:46:52 +01:00
},
2026-01-09 09:52:51 +01:00
{
"id": "6172598e36ec2754",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "c3dd11d0778f9e67",
"order": 4,
"width": 0,
"height": 0,
"name": "",
"label": "s3",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 870,
2026-01-09 10:59:47 +01:00
"y": 1200,
2026-01-09 09:52:51 +01:00
"wires": []
},
{
"id": "7b808775687a1e80",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "c3dd11d0778f9e67",
"order": 5,
"width": 0,
"height": 0,
"name": "",
"label": "s4",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 870,
2026-01-09 10:59:47 +01:00
"y": 1240,
2026-01-09 09:52:51 +01:00
"wires": []
},
{
"id": "5e969524f2d7ac83",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "c3dd11d0778f9e67",
"order": 6,
"width": 0,
"height": 0,
"name": "",
"label": "s5",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 870,
2026-01-09 10:59:47 +01:00
"y": 1280,
2026-01-09 09:52:51 +01:00
"wires": []
},
{
"id": "f832017038053787",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "c3dd11d0778f9e67",
"order": 7,
"width": 0,
"height": 0,
"name": "",
"label": "s6",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 870,
2026-01-09 10:59:47 +01:00
"y": 1320,
2026-01-09 09:52:51 +01:00
"wires": []
},
{
"id": "a85963dd6d125a42",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "c3dd11d0778f9e67",
"order": 8,
"width": 0,
"height": 0,
"name": "",
"label": "s7",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 870,
2026-01-09 10:59:47 +01:00
"y": 1360,
2026-01-09 09:52:51 +01:00
"wires": []
},
{
"id": "ccecf6f984daae7c",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "s3",
2026-01-09 11:24:51 +01:00
"func": "msg.payload = Number(msg.payload.s3) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
2026-01-09 09:52:51 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
2026-01-09 10:59:47 +01:00
"y": 1200,
2026-01-09 09:52:51 +01:00
"wires": [
[
"6172598e36ec2754"
]
]
},
{
"id": "51bb134ec07cdcef",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "s4",
2026-01-09 11:24:51 +01:00
"func": "msg.payload = Number(msg.payload.s4) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
2026-01-09 09:52:51 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
2026-01-09 10:59:47 +01:00
"y": 1240,
2026-01-09 09:52:51 +01:00
"wires": [
[
"7b808775687a1e80"
]
]
},
{
"id": "ae4e0b8f232fbdfc",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "s5",
2026-01-09 11:24:51 +01:00
"func": "msg.payload = Number(msg.payload.s5) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
2026-01-09 09:52:51 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
2026-01-09 10:59:47 +01:00
"y": 1280,
2026-01-09 09:52:51 +01:00
"wires": [
[
"5e969524f2d7ac83"
]
]
},
{
"id": "f98062374cdfd8d1",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "s6",
2026-01-09 11:24:51 +01:00
"func": "msg.payload = Number(msg.payload.s6) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
2026-01-09 09:52:51 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
2026-01-09 10:59:47 +01:00
"y": 1320,
2026-01-09 09:52:51 +01:00
"wires": [
[
"f832017038053787"
]
]
},
{
"id": "9dfe2d239a268225",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "s7",
2026-01-09 11:24:51 +01:00
"func": "msg.payload = Number(msg.payload.s7) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
2026-01-09 09:52:51 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
2026-01-09 10:59:47 +01:00
"y": 1360,
2026-01-09 09:52:51 +01:00
"wires": [
[
"a85963dd6d125a42"
]
]
},
{
"id": "869aedf62de05359",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "reset",
2026-01-10 07:29:55 +01:00
"func": "flow.set(\"i0\", 0);\nflow.set(\"i1\", 0);\nflow.set(\"i2\", 0);\nflow.set(\"i3\", 0);\nflow.set(\"i4\", 0);\nflow.set(\"i5\", 0);\nflow.set(\"i6\", 0);\nflow.set(\"i7\", 0);\n\nflow.set(\"a0\", 0);\nflow.set(\"a1\", 0);\nflow.set(\"a2\", 0);\nflow.set(\"a3\", 0);\nflow.set(\"a4\", 0);\nflow.set(\"a5\", 0);\nflow.set(\"a6\", 0);\nflow.set(\"a7\", 0);\n\nflow.set(\"m0\", 0);\nflow.set(\"m1\", 0);\nflow.set(\"m2\", 0);\nflow.set(\"m3\", 0);\n\nflow.set(\"p0\", 0);\nflow.set(\"v0\", 0);\n\nflow.set(\"c0\", 1);\nflow.set(\"c1\", 0);\nflow.set(\"c2\", 0);\nflow.set(\"c3\", 0);\nflow.set(\"c4\", 0);\nflow.set(\"c5\", 0);\nflow.set(\"c6\", 0);\nflow.set(\"c7\", 0);\n\nflow.set(\"flag0\", 0);\n\nreturn msg;",
2026-01-09 09:52:51 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
2026-01-09 11:24:51 +01:00
"x": 850,
2026-01-09 09:52:51 +01:00
"y": 40,
"wires": [
[
2026-01-09 11:24:51 +01:00
"bf55b8bf4a7aaf10"
2026-01-09 09:52:51 +01:00
]
]
},
2026-01-09 07:46:52 +01:00
{
2026-01-09 10:59:47 +01:00
"id": "e13f6855fb2ae6e5",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
"group": "5fe915fcd26e78ae",
"name": "",
"label": "B4",
2026-01-09 11:24:51 +01:00
"order": 5,
2026-01-09 10:59:47 +01:00
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
2026-01-09 07:46:52 +01:00
"className": "",
2026-01-09 10:59:47 +01:00
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"buttonColor": "",
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
"x": 690,
"y": 840,
"wires": [
[
"6b074a32f2f70f5f"
]
]
2026-01-09 07:46:52 +01:00
},
{
2026-01-09 10:59:47 +01:00
"id": "23c475d0fb3faedb",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
"group": "5fe915fcd26e78ae",
2026-01-09 07:46:52 +01:00
"name": "",
2026-01-09 10:59:47 +01:00
"label": "B5",
2026-01-09 11:24:51 +01:00
"order": 6,
2026-01-09 10:59:47 +01:00
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"buttonColor": "",
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
"x": 690,
"y": 880,
"wires": [
[
"13525a762ac7e327"
]
]
2026-01-09 07:46:52 +01:00
},
2026-01-09 09:25:37 +01:00
{
2026-01-09 10:59:47 +01:00
"id": "e9da3426111867c2",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
"group": "5fe915fcd26e78ae",
"name": "",
"label": "B6",
2026-01-09 11:24:51 +01:00
"order": 7,
2026-01-09 10:59:47 +01:00
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"buttonColor": "",
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
"x": 690,
"y": 920,
"wires": [
[
"501a187ca9d5dc4e"
]
]
},
{
"id": "887889076242a450",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
"group": "5fe915fcd26e78ae",
"name": "",
"label": "B7",
2026-01-09 11:24:51 +01:00
"order": 8,
2026-01-09 10:59:47 +01:00
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
"buttonColor": "",
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
"x": 690,
"y": 960,
"wires": [
[
"9d0587a99be6ccac"
]
]
},
{
"id": "6b074a32f2f70f5f",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "set b4",
"func": "msg.payload = {\n \"b4\": 1\n};\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 850,
"y": 840,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "13525a762ac7e327",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "set b5",
"func": "msg.payload = {\n \"b5\": 1\n};\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 850,
"y": 880,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "501a187ca9d5dc4e",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "set b6",
"func": "msg.payload = {\n \"b6\": 1\n};\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 850,
"y": 920,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "f1c934fc513b2bc7",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "set i0",
"func": "flow.set(\"i0\", msg.payload);\nmsg.payload = {};\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 870,
"y": 140,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "ac96af9d69f69372",
"type": "ui-switch",
"z": "41526b8c80d5a5f7",
"name": "",
"label": "I0",
"group": "00ea85a0e0b38df3",
"order": 1,
"width": 0,
"height": 0,
"passthru": false,
"decouple": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"layout": "row-spread",
"clickableArea": "switch",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "",
"oncolor": "",
"offvalue": "false",
"offvalueType": "bool",
"officon": "",
"offcolor": "",
"x": 710,
"y": 140,
"wires": [
[
"f1c934fc513b2bc7"
]
]
},
{
"id": "d64b5ceb51e6356d",
"type": "ui-button",
"z": "41526b8c80d5a5f7",
2026-01-09 11:24:51 +01:00
"group": "02fab8cbf37e2bb7",
2026-01-09 10:59:47 +01:00
"name": "",
"label": "ARRET",
"order": 2,
"width": 0,
"height": 0,
"emulateClick": false,
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"iconPosition": "left",
"payload": "",
"payloadType": "str",
"topic": "topic",
"topicType": "msg",
2026-01-09 11:24:51 +01:00
"buttonColor": "red",
2026-01-09 10:59:47 +01:00
"textColor": "",
"iconColor": "",
"enableClick": true,
"enablePointerdown": false,
"pointerdownPayload": "",
"pointerdownPayloadType": "str",
"enablePointerup": false,
"pointerupPayload": "",
"pointerupPayloadType": "str",
"x": 700,
2026-01-09 11:24:51 +01:00
"y": 600,
2026-01-09 10:59:47 +01:00
"wires": [
[
"6144c03f7e61ad75"
]
]
},
{
"id": "40cd3b8ab614429e",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "send b0",
"func": "msg.payload = {\n \"b0\": 1\n};\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 860,
"y": 680,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "bf55b8bf4a7aaf10",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "format mqtt",
2026-01-10 07:29:55 +01:00
"func": "let i0 = Number(flow.get(\"i0\")) || 0;\nlet i1 = Number(flow.get(\"i1\")) || 0;\nlet i2 = Number(flow.get(\"i2\")) || 0;\nlet i3 = Number(flow.get(\"i3\")) || 0;\nlet i4 = Number(flow.get(\"i4\")) || 0;\nlet i5 = Number(flow.get(\"i5\")) || 0;\nlet i6 = Number(flow.get(\"i6\")) || 0;\nlet i7 = Number(flow.get(\"i7\")) || 0;\n\nlet v0 = Number(flow.get(\"v0\")) || 0;\n\nif (typeof msg.payload[\"arret\"] === 'undefined') msg.payload[\"arret\"] = 1;\nif (typeof msg.payload[\"marche\"] === 'undefined') msg.payload[\"marche\"] = 0;\n\nif (typeof msg.payload[\"b0\"] === 'undefined') msg.payload[\"b0\"] = 0;\nif (typeof msg.payload[\"b1\"] === 'undefined') msg.payload[\"b1\"] = 0;\nif (typeof msg.payload[\"b2\"] === 'undefined') msg.payload[\"b2\"] = 0;\nif (typeof msg.payload[\"b3\"] === 'undefined') msg.payload[\"b3\"] = 0;\nif (typeof msg.payload[\"b4\"] === 'undefined') msg.payload[\"b4\"] = 0;\nif (typeof msg.payload[\"b5\"] === 'undefined') msg.payload[\"b5\"] = 0;\nif (typeof msg.payload[\"b6\"] === 'undefined') msg.payload[\"b6\"] = 0;\nif (typeof msg.payload[\"b7\"] === 'undefined') msg.payload[\"b7\"] = 0;\n\nmsg.payload[\"i0\"] = i0;\nmsg.payload[\"i1\"] = i1;\nmsg.payload[\"i2\"] = i2;\nmsg.payload[\"i3\"] = i3;\nmsg.payload[\"i4\"] = i4;\nmsg.payload[\"i5\"] = i5;\nmsg.payload[\"i6\"] = i6;\nmsg.payload[\"i7\"] = i7;\n\nlet c0 = Number(flow.get(\"c0\")) || 0;\nlet c1 = Number(flow.get(\"c1\")) || 0;\nlet c2 = Number(flow.get(\"c2\")) || 0;\nlet c3 = Number(flow.get(\"c3\")) || 0;\nlet c4 = Number(flow.get(\"c4\")) || 0;\nlet c5 = Number(flow.get(\"c5\")) || 0;\nlet c6 = Number(flow.get(\"c6\")) || 0;\nlet c7 = Number(flow.get(\"c7\")) || 0;\n\nmsg.payload[\"c0\"] = c0;\nmsg.payload[\"c1\"] = c1;\nmsg.payload[\"c2\"] = c2;\nmsg.payload[\"c3\"] = c3;\nmsg.payload[\"c4\"] = c4;\nmsg.payload[\"c5\"] = c5;\nmsg.payload[\"c6\"] = c6;\nmsg.payload[\"c7\"] = c7;\n\nmsg.payload[\"v0\"] = v0;\n\nreturn msg;",
2026-01-09 10:59:47 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1430,
"y": 500,
"wires": [
[
"04e097a5c78127cb",
"2eb8008f157e3905"
]
]
},
{
"id": "9d0587a99be6ccac",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "set b7",
"func": "msg.payload = {\n \"b7\": 1\n};\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 850,
"y": 960,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "057f5330eb0243b5",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 11:24:51 +01:00
"name": "set i1",
2026-01-09 10:59:47 +01:00
"func": "flow.set(\"i1\", msg.payload);\nmsg.payload = {};\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 870,
"y": 180,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "a2dd41c333e61095",
"type": "ui-switch",
"z": "41526b8c80d5a5f7",
"name": "",
"label": "I1",
"group": "00ea85a0e0b38df3",
"order": 2,
"width": 0,
"height": 0,
"passthru": false,
"decouple": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"layout": "row-spread",
"clickableArea": "switch",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "",
"oncolor": "",
"offvalue": "false",
"offvalueType": "bool",
"officon": "",
"offcolor": "",
"x": 710,
"y": 180,
"wires": [
[
"057f5330eb0243b5"
]
]
},
{
"id": "ed8a7b695f241e17",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 11:24:51 +01:00
"name": "set i2",
2026-01-09 10:59:47 +01:00
"func": "flow.set(\"i2\", msg.payload);\nmsg.payload = {};\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 870,
"y": 220,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "7fa06bb9fc6290c2",
"type": "ui-switch",
"z": "41526b8c80d5a5f7",
"name": "",
"label": "I2",
"group": "00ea85a0e0b38df3",
"order": 3,
"width": 0,
"height": 0,
"passthru": false,
"decouple": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"layout": "row-spread",
"clickableArea": "switch",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "",
"oncolor": "",
"offvalue": "false",
"offvalueType": "bool",
"officon": "",
"offcolor": "",
"x": 710,
"y": 220,
"wires": [
[
"ed8a7b695f241e17"
]
]
},
{
"id": "f7196bb1c9ad7882",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 11:24:51 +01:00
"name": "set i3",
2026-01-09 10:59:47 +01:00
"func": "flow.set(\"i3\", msg.payload);\nmsg.payload = {};\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 870,
"y": 260,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "787b142395f2812c",
"type": "ui-switch",
"z": "41526b8c80d5a5f7",
"name": "",
"label": "I3",
"group": "00ea85a0e0b38df3",
"order": 4,
"width": 0,
"height": 0,
"passthru": false,
"decouple": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"layout": "row-spread",
"clickableArea": "switch",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "",
"oncolor": "",
"offvalue": "false",
"offvalueType": "bool",
"officon": "",
"offcolor": "",
"x": 710,
"y": 260,
"wires": [
[
"f7196bb1c9ad7882"
]
]
},
{
"id": "a14b6f743fc24f5a",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 11:24:51 +01:00
"name": "set i4",
2026-01-09 10:59:47 +01:00
"func": "flow.set(\"i4\", msg.payload);\nmsg.payload = {};\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 870,
"y": 300,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "5e24007ebaf43929",
"type": "ui-switch",
"z": "41526b8c80d5a5f7",
"name": "",
"label": "I4",
"group": "00ea85a0e0b38df3",
"order": 5,
"width": 0,
"height": 0,
"passthru": false,
"decouple": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"layout": "row-spread",
"clickableArea": "switch",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "",
"oncolor": "",
"offvalue": "false",
"offvalueType": "bool",
"officon": "",
"offcolor": "",
"x": 710,
"y": 300,
"wires": [
[
"a14b6f743fc24f5a"
]
]
},
{
"id": "3a78dbb26cfb4ced",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 11:24:51 +01:00
"name": "set i5",
2026-01-09 10:59:47 +01:00
"func": "flow.set(\"i5\", msg.payload);\nmsg.payload = {};\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 870,
"y": 340,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "3a440beb763d86fb",
"type": "ui-switch",
"z": "41526b8c80d5a5f7",
"name": "",
"label": "I5",
"group": "00ea85a0e0b38df3",
"order": 6,
"width": 0,
"height": 0,
"passthru": false,
"decouple": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"layout": "row-spread",
"clickableArea": "switch",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "",
"oncolor": "",
"offvalue": "false",
"offvalueType": "bool",
"officon": "",
"offcolor": "",
"x": 710,
"y": 340,
"wires": [
[
"3a78dbb26cfb4ced"
]
]
},
{
"id": "0da4875391d23ba7",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 11:24:51 +01:00
"name": "set i6",
2026-01-09 10:59:47 +01:00
"func": "flow.set(\"i6\", msg.payload);\nmsg.payload = {};\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 870,
"y": 380,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "9a6dbd2385a1e118",
"type": "ui-switch",
"z": "41526b8c80d5a5f7",
"name": "",
"label": "I6",
"group": "00ea85a0e0b38df3",
"order": 7,
"width": 0,
"height": 0,
"passthru": false,
"decouple": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"layout": "row-spread",
"clickableArea": "switch",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "",
"oncolor": "",
"offvalue": "false",
"offvalueType": "bool",
"officon": "",
"offcolor": "",
"x": 710,
"y": 380,
"wires": [
[
"0da4875391d23ba7"
]
]
},
{
"id": "6343064ecf3d8a64",
"type": "function",
"z": "41526b8c80d5a5f7",
2026-01-09 11:24:51 +01:00
"name": "set i7",
2026-01-09 10:59:47 +01:00
"func": "flow.set(\"i7\", msg.payload);\nmsg.payload = {};\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 870,
"y": 420,
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
{
"id": "a4bb8403a98d9690",
"type": "ui-switch",
"z": "41526b8c80d5a5f7",
"name": "",
"label": "I7",
"group": "00ea85a0e0b38df3",
"order": 8,
"width": 0,
"height": 0,
"passthru": false,
"decouple": false,
"topic": "topic",
"topicType": "msg",
"style": "",
"className": "",
"layout": "row-spread",
"clickableArea": "switch",
"onvalue": "true",
"onvalueType": "bool",
"onicon": "",
"oncolor": "",
"offvalue": "false",
"offvalueType": "bool",
"officon": "",
"offcolor": "",
"x": 710,
"y": 420,
"wires": [
[
"6343064ecf3d8a64"
]
]
},
{
"id": "2eb8008f157e3905",
"type": "debug",
"z": "41526b8c80d5a5f7",
"name": "debug 1",
2026-01-09 11:05:42 +01:00
"active": false,
2026-01-09 10:59:47 +01:00
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1760,
"y": 500,
"wires": []
},
{
"id": "e52bad35a9e3303a",
"type": "change",
"z": "41526b8c80d5a5f7",
"name": "",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 350,
"y": 160,
"wires": [
[
"ac96af9d69f69372",
"a2dd41c333e61095",
"7fa06bb9fc6290c2",
"a4bb8403a98d9690",
"9a6dbd2385a1e118",
"3a440beb763d86fb",
"5e24007ebaf43929",
2026-01-09 11:44:24 +01:00
"787b142395f2812c",
"5281ea0425c23135"
2026-01-09 10:59:47 +01:00
]
]
},
{
"id": "6144c03f7e61ad75",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "set arret",
"func": "msg.payload = {\n \"arret\": 0\n};\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 860,
2026-01-09 11:24:51 +01:00
"y": 600,
2026-01-09 10:59:47 +01:00
"wires": [
[
"bf55b8bf4a7aaf10"
]
]
},
2026-01-09 11:05:42 +01:00
{
"id": "deadd211f38d9561",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "0.1",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"t\":0}",
"payloadType": "json",
2026-01-09 11:24:51 +01:00
"x": 1220,
"y": 240,
2026-01-09 11:05:42 +01:00
"wires": [
[
2026-01-09 11:44:24 +01:00
"bf55b8bf4a7aaf10",
"2e6f0eeba0865594"
2026-01-09 11:05:42 +01:00
]
]
},
2026-01-09 11:24:51 +01:00
{
"id": "5281ea0425c23135",
"type": "ui-slider",
"z": "41526b8c80d5a5f7",
"group": "b1bde11bdd78b9f1",
"name": "",
"label": "Consigne",
"tooltip": "",
"order": 2,
"width": 0,
"height": 0,
"passthru": false,
"outs": "all",
"topic": "topic",
"topicType": "msg",
"thumbLabel": "true",
"showTicks": "always",
"min": 0,
"max": "100",
"step": "1",
"className": "",
"iconPrepend": "",
"iconAppend": "",
"color": "",
"colorTrack": "",
"colorThumb": "",
"showTextField": false,
2026-01-09 11:44:24 +01:00
"x": 720,
"y": 480,
2026-01-09 11:24:51 +01:00
"wires": [
2026-01-09 11:44:24 +01:00
[
"22dad6f80cc846bd"
]
2026-01-09 11:24:51 +01:00
]
},
{
"id": "8c90e91ac1299743",
"type": "ui-progress",
"z": "41526b8c80d5a5f7",
"group": "b1bde11bdd78b9f1",
"name": "",
"label": "Progress",
"order": 1,
"width": 0,
"height": 0,
"color": "",
"className": "",
2026-01-09 11:44:24 +01:00
"x": 1740,
"y": 240,
2026-01-09 11:24:51 +01:00
"wires": []
},
2026-01-09 11:44:24 +01:00
{
"id": "be011ad2f6f6421d",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "m0",
2026-01-10 07:29:55 +01:00
"func": "flow.set(\"m0\", Number(msg.payload.m0));\nmsg.payload = msg.payload.m0 * 10;\nreturn msg;",
2026-01-09 11:44:24 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 1440,
"wires": [
2026-01-10 07:29:55 +01:00
[
"7ac9d8c8e18dc044"
]
2026-01-09 11:44:24 +01:00
]
},
{
"id": "99ccef7cde8a92e9",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "m1",
2026-01-10 07:29:55 +01:00
"func": "flow.set(\"m1\", Number(msg.payload.m1));\nmsg.payload = msg.payload.m1 * 10;\nreturn msg;",
2026-01-09 11:44:24 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 1480,
"wires": [
2026-01-10 07:29:55 +01:00
[
"84fa844178c49edf"
]
2026-01-09 11:44:24 +01:00
]
},
{
"id": "782e8b8cc5e195e4",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "m2",
2026-01-10 07:29:55 +01:00
"func": "flow.set(\"m2\", Number(msg.payload.m2));\nmsg.payload = msg.payload.m2 * 10;\nreturn msg;",
2026-01-09 11:44:24 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 1520,
"wires": [
2026-01-10 07:29:55 +01:00
[
"47017a2a936e5072"
]
2026-01-09 11:44:24 +01:00
]
},
{
"id": "9f7680a2a2de021a",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "m3",
2026-01-10 07:29:55 +01:00
"func": "flow.set(\"m3\", Number(msg.payload.m3));\nmsg.payload = msg.payload.m3 * 10;\nreturn msg;",
2026-01-09 11:44:24 +01:00
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 1560,
"wires": [
2026-01-10 07:29:55 +01:00
[
"5ce2b9a4e220b5ea"
]
2026-01-09 11:44:24 +01:00
]
},
{
"id": "2e6f0eeba0865594",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "function 2",
"func": "let p0 = Number(flow.get(\"p0\")) || 0;\n\nif (flow.get(\"m0\")) {\n p0++;\n if (p0 > 100) p0 = 100;\n flow.set(\"p0\", p0);\n}\n\nif (flow.get(\"m1\")) {\n p0--;\n if (p0 < 0) p0 = 0;\n flow.set(\"p0\", p0);\n}\n\nmsg.payload = p0;\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1460,
"y": 240,
"wires": [
[
"8c90e91ac1299743"
]
]
},
{
"id": "22dad6f80cc846bd",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "v0",
"func": "flow.set(\"v0\", Number(msg.payload));\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 870,
"y": 480,
"wires": [
[]
]
},
2026-01-09 10:59:47 +01:00
{
2026-01-10 07:29:55 +01:00
"id": "7bd24ffe89bf6013",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "02fab8cbf37e2bb7",
"order": 5,
"width": 0,
"height": 0,
"name": "",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-right",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
2026-01-09 10:59:47 +01:00
"className": "",
2026-01-10 07:29:55 +01:00
"value": "payload",
"valueType": "msg",
"x": 850,
"y": 1740,
"wires": []
2026-01-09 10:59:47 +01:00
},
{
2026-01-10 07:29:55 +01:00
"id": "6d94aa7b17d6bedd",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "02fab8cbf37e2bb7",
"order": 4,
"width": 0,
"height": 0,
2026-01-09 10:59:47 +01:00
"name": "",
2026-01-10 07:29:55 +01:00
"label": "",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 850,
"y": 1700,
"wires": []
2026-01-09 10:59:47 +01:00
},
2026-01-09 11:24:51 +01:00
{
2026-01-10 07:29:55 +01:00
"id": "309e25e7e1f603d5",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "02fab8cbf37e2bb7",
"order": 3,
"width": 0,
"height": 0,
"name": "",
"label": "",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
2026-01-09 11:24:51 +01:00
"className": "",
2026-01-10 07:29:55 +01:00
"value": "payload",
"valueType": "msg",
"x": 850,
"y": 1660,
"wires": []
2026-01-09 11:24:51 +01:00
},
2026-01-09 10:59:47 +01:00
{
2026-01-10 07:29:55 +01:00
"id": "2559321f70cd5908",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "l1",
"func": "msg.payload = Number(msg.payload.light) == 1 ? \"<span style='font-weight:400'>🟢</span>\" : \"<span style='font-weight:400'>⚪</span>\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 1740,
"wires": [
[
"7bd24ffe89bf6013"
]
]
},
{
"id": "12ee9490cfd0c2cb",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "l2",
"func": "msg.payload = Number(msg.payload.light) == 2 ? \"<span style='font-weight:400'>🟠</span>\" : \"<span style='font-weight:400'>⚪</span>\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 1700,
"wires": [
[
"6d94aa7b17d6bedd"
]
]
},
{
"id": "a016dc35c575f406",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "l3",
"func": "msg.payload = Number(msg.payload.light) == 3 ? \"<span style='font-weight:400'>🔴</span>\" : \"<span style='font-weight:400'>⚪</span>\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 1660,
"wires": [
[
"309e25e7e1f603d5"
]
]
},
{
"id": "7ac9d8c8e18dc044",
"type": "ui-gauge",
"z": "41526b8c80d5a5f7",
"name": "",
"group": "6b44d4b22cd7b3dc",
"order": 1,
"value": "payload",
"valueType": "msg",
2026-01-09 10:59:47 +01:00
"width": "2",
2026-01-10 07:29:55 +01:00
"height": "2",
"gtype": "gauge-half",
"gstyle": "needle",
"title": "gauge",
"alwaysShowTitle": false,
"floatingTitlePosition": "top-left",
"units": "units",
"icon": "",
"prefix": "",
"suffix": "",
"segments": [
{
"from": "0",
"color": "#5cd65c",
"text": "",
"textType": "label"
},
{
"from": "4",
"color": "#ffc800",
"text": "",
"textType": "label"
},
{
"from": "7",
"color": "#ea5353",
"text": "",
"textType": "label"
}
],
"min": 0,
"max": 10,
"sizeThickness": 16,
"sizeGap": 4,
"sizeKeyThickness": 8,
"styleRounded": true,
"styleGlow": false,
2026-01-09 10:59:47 +01:00
"className": "",
2026-01-10 07:29:55 +01:00
"x": 870,
"y": 1440,
"wires": [
[]
]
2026-01-09 10:59:47 +01:00
},
{
2026-01-10 07:29:55 +01:00
"id": "84fa844178c49edf",
"type": "ui-gauge",
"z": "41526b8c80d5a5f7",
"name": "",
"group": "6b44d4b22cd7b3dc",
"order": 2,
"value": "payload",
"valueType": "msg",
2026-01-09 10:59:47 +01:00
"width": "2",
2026-01-10 07:29:55 +01:00
"height": "2",
"gtype": "gauge-half",
"gstyle": "needle",
"title": "gauge",
"alwaysShowTitle": false,
"floatingTitlePosition": "top-left",
"units": "units",
"icon": "",
"prefix": "",
"suffix": "",
"segments": [
{
"from": "0",
"color": "#5cd65c",
"text": "",
"textType": "label"
},
{
"from": "4",
"color": "#ffc800",
"text": "",
"textType": "label"
},
{
"from": "7",
"color": "#ea5353",
"text": "",
"textType": "label"
}
],
"min": 0,
"max": 10,
"sizeThickness": 16,
"sizeGap": 4,
"sizeKeyThickness": 8,
"styleRounded": true,
"styleGlow": false,
"className": "",
"x": 870,
"y": 1480,
"wires": [
[]
]
},
{
"id": "47017a2a936e5072",
"type": "ui-gauge",
"z": "41526b8c80d5a5f7",
"name": "",
"group": "6b44d4b22cd7b3dc",
2026-01-09 11:24:51 +01:00
"order": 3,
2026-01-10 07:29:55 +01:00
"value": "payload",
"valueType": "msg",
"width": "2",
"height": "2",
"gtype": "gauge-half",
"gstyle": "needle",
"title": "gauge",
"alwaysShowTitle": false,
"floatingTitlePosition": "top-left",
"units": "units",
"icon": "",
"prefix": "",
"suffix": "",
"segments": [
{
"from": "0",
"color": "#5cd65c",
"text": "",
"textType": "label"
},
{
"from": "4",
"color": "#ffc800",
"text": "",
"textType": "label"
},
{
"from": "7",
"color": "#ea5353",
"text": "",
"textType": "label"
}
],
"min": 0,
"max": 10,
"sizeThickness": 16,
"sizeGap": 4,
"sizeKeyThickness": 8,
"styleRounded": true,
"styleGlow": false,
2026-01-09 11:24:51 +01:00
"className": "",
2026-01-10 07:29:55 +01:00
"x": 870,
"y": 1520,
"wires": [
[]
]
2026-01-09 11:24:51 +01:00
},
{
2026-01-10 07:29:55 +01:00
"id": "5ce2b9a4e220b5ea",
"type": "ui-gauge",
"z": "41526b8c80d5a5f7",
"name": "",
"group": "6b44d4b22cd7b3dc",
"order": 4,
"value": "payload",
"valueType": "msg",
"width": "2",
"height": "2",
"gtype": "gauge-half",
"gstyle": "needle",
"title": "gauge",
"alwaysShowTitle": false,
"floatingTitlePosition": "top-left",
"units": "units",
"icon": "",
"prefix": "",
"suffix": "",
"segments": [
{
"from": "0",
"color": "#5cd65c",
"text": "",
"textType": "label"
},
{
"from": "4",
"color": "#ffc800",
"text": "",
"textType": "label"
},
{
"from": "7",
"color": "#ea5353",
"text": "",
"textType": "label"
}
],
"min": 0,
"max": 10,
"sizeThickness": 16,
"sizeGap": 4,
"sizeKeyThickness": 8,
"styleRounded": true,
"styleGlow": false,
"className": "",
"x": 870,
"y": 1560,
"wires": [
[]
]
},
{
"id": "e94f13f0f1acc44c",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "a0",
"func": "flow.set(\"a0\", Number(msg.payload.a0));\nmsg.payload = msg.payload.a0;\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 1820,
"wires": [
[
"3f4307ae68dbfe24"
]
]
},
{
"id": "3f4307ae68dbfe24",
"type": "rbe",
"z": "41526b8c80d5a5f7",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": false,
"property": "payload",
"topi": "topic",
"x": 850,
"y": 1820,
"wires": [
[
"4eb3133716e74df9"
]
]
},
{
"id": "6e41db0b430f9a91",
"type": "delay",
"z": "41526b8c80d5a5f7",
"name": "sortie verrin",
"pauseType": "delay",
"timeout": "800",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 1210,
"y": 1900,
"wires": [
[
"9df81d32815e49cf"
]
]
},
{
"id": "9df81d32815e49cf",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c6 = 1",
"func": "flow.set(\"c6\", 1);\nflow.set(\"flag0\", 1);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1390,
"y": 1900,
"wires": [
[]
]
},
{
"id": "4eb3133716e74df9",
"type": "switch",
"z": "41526b8c80d5a5f7",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "0",
"vt": "num"
},
{
"t": "eq",
"v": "1",
"vt": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1000,
"y": 1820,
"wires": [
[
"38a0783404eca7e6"
],
[
"8dbfe82b3d93a51f",
"6e41db0b430f9a91"
]
]
},
{
"id": "8dbfe82b3d93a51f",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c0 = 0",
"func": "flow.set(\"c0\", 0);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1190,
"y": 1860,
"wires": [
[]
]
},
{
"id": "38a0783404eca7e6",
"type": "delay",
"z": "41526b8c80d5a5f7",
"name": "retour verrin",
"pauseType": "delay",
"timeout": "1200",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 1210,
"y": 1800,
"wires": [
[
"bfedc09f6f707609"
]
]
},
{
"id": "bfedc09f6f707609",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c0 = 1",
"func": "flow.set(\"c0\", 1);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1390,
"y": 1800,
"wires": [
[]
]
},
{
"id": "92b7b19f3a84b610",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "a1",
"func": "flow.set(\"a1\", Number(msg.payload.a1));\nmsg.payload = msg.payload.a1;\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 2040,
"wires": [
[
"0b52465d023a6934"
]
]
},
{
"id": "0b52465d023a6934",
"type": "rbe",
"z": "41526b8c80d5a5f7",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": true,
"property": "payload",
"topi": "topic",
"x": 850,
"y": 2040,
"wires": [
[
"e0b6603acc4ecf87"
]
]
},
{
"id": "e0b6603acc4ecf87",
"type": "switch",
"z": "41526b8c80d5a5f7",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "0",
"vt": "num"
},
{
"t": "eq",
"v": "1",
"vt": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1000,
"y": 2040,
"wires": [
[
"255aa585d23062e3",
"af93bf8a3513b407"
],
[
"36306be30feaf7f0",
"0d6e71b58cc1cc38"
]
]
},
{
"id": "af93bf8a3513b407",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c2 = 0",
"func": "flow.set(\"c2\", 0);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1170,
"y": 1980,
"wires": [
[]
]
},
{
"id": "36306be30feaf7f0",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c1 = 0",
"func": "flow.set(\"c1\", 0);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1170,
"y": 2100,
"wires": [
[]
]
},
{
"id": "0d6e71b58cc1cc38",
"type": "delay",
"z": "41526b8c80d5a5f7",
"name": "sortie verrin",
"pauseType": "delay",
"timeout": "800",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 1190,
"y": 2140,
"wires": [
[
"3cc44c740230f02a"
]
]
},
{
"id": "3cc44c740230f02a",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c2 = 1",
"func": "flow.set(\"c2\", 1);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1370,
"y": 2140,
"wires": [
[]
]
},
{
"id": "255aa585d23062e3",
"type": "delay",
"z": "41526b8c80d5a5f7",
"name": "retour verrin",
"pauseType": "delay",
"timeout": "1200",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 1190,
"y": 2020,
"wires": [
[
"2f9031a86b4a023b"
]
]
},
{
"id": "2f9031a86b4a023b",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c1 = 1",
"func": "flow.set(\"c1\", 1);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1350,
"y": 2020,
"wires": [
[]
]
},
{
"id": "7febe9e39b9c4b6d",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "6b44d4b22cd7b3dc",
"order": 5,
"width": "2",
"height": "1",
"name": "",
"label": "c0",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 1230,
"y": 1120,
"wires": []
},
{
"id": "462e542c5786e330",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "6b44d4b22cd7b3dc",
"order": 6,
"width": "2",
"height": "1",
"name": "",
"label": "c1",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 1230,
"y": 1160,
"wires": []
},
{
"id": "c7e569b7027aa3ce",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "6b44d4b22cd7b3dc",
"order": 7,
"width": "2",
"height": "1",
"name": "",
"label": "c2",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 1230,
"y": 1200,
"wires": []
},
{
"id": "cd6ccfdf8cc29b04",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c0",
"func": "msg.payload = Number(msg.payload.c0) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1050,
"y": 1120,
"wires": [
[
"7febe9e39b9c4b6d"
]
]
},
{
"id": "e694653f29c5c6c3",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c1",
"func": "msg.payload = Number(msg.payload.c1) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1050,
"y": 1160,
"wires": [
[
"462e542c5786e330"
]
]
},
{
"id": "b25a525c97f6ca68",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c2",
"func": "msg.payload = Number(msg.payload.c2) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1050,
"y": 1200,
"wires": [
[
"c7e569b7027aa3ce"
]
]
},
{
"id": "36c7c76a5e1740ba",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "6b44d4b22cd7b3dc",
"order": 8,
"width": "2",
"height": "1",
"name": "",
"label": "c3",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 1230,
"y": 1240,
"wires": []
},
{
"id": "e3cc796a4ae84c36",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "6b44d4b22cd7b3dc",
"order": 9,
"width": "2",
"height": "1",
"name": "",
"label": "c4",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 1230,
"y": 1280,
"wires": []
},
{
"id": "0f4fcd7d4ea77704",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "6b44d4b22cd7b3dc",
"order": 10,
"width": "2",
"height": "1",
"name": "",
"label": "c5",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 1230,
"y": 1320,
"wires": []
},
{
"id": "d19105b55c934446",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "6b44d4b22cd7b3dc",
"order": 11,
"width": "2",
"height": "1",
"name": "",
"label": "c6",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 1230,
"y": 1360,
"wires": []
},
{
"id": "9f668e45418ca62a",
"type": "ui-text",
"z": "41526b8c80d5a5f7",
"group": "6b44d4b22cd7b3dc",
"order": 12,
"width": "2",
"height": "1",
"name": "",
"label": "c7",
"format": "{{msg.payload}}",
"layout": "row-spread",
"style": false,
"font": "",
"fontSize": 16,
"color": "#717171",
"wrapText": false,
"className": "",
"value": "payload",
"valueType": "msg",
"x": 1230,
"y": 1400,
"wires": []
},
{
"id": "f88ed6b89e2793cf",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c3",
"func": "msg.payload = Number(msg.payload.c3) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1050,
"y": 1240,
"wires": [
[
"36c7c76a5e1740ba"
]
]
},
{
"id": "41f6c23afe13dda4",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c4",
"func": "msg.payload = Number(msg.payload.c4) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1050,
"y": 1280,
"wires": [
[
"e3cc796a4ae84c36"
]
]
},
{
"id": "ca27afe33c09b23a",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c5",
"func": "msg.payload = Number(msg.payload.c5) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1050,
"y": 1320,
"wires": [
[
"0f4fcd7d4ea77704"
]
]
},
{
"id": "227354827c5b2a9e",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c6",
"func": "msg.payload = Number(msg.payload.c6) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1050,
"y": 1360,
"wires": [
[
"d19105b55c934446"
]
]
},
{
"id": "79e82ef03466071e",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c7",
"func": "msg.payload = Number(msg.payload.c7) ? \"🟩\" : \"🟥\";\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1050,
"y": 1400,
"wires": [
[
"9f668e45418ca62a"
]
]
},
{
"id": "f55fa882f44af78e",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "a2",
"func": "flow.set(\"a2\", Number(msg.payload.a2));\nmsg.payload = msg.payload.a2;\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 2240,
"wires": [
[
"c2cdd0cec8c60f7b"
]
]
},
{
"id": "c2cdd0cec8c60f7b",
"type": "rbe",
"z": "41526b8c80d5a5f7",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": true,
"property": "payload",
"topi": "topic",
"x": 834,
"y": 2229,
"wires": [
[
"4f208fbc27e6ba22"
]
]
},
{
"id": "4f208fbc27e6ba22",
"type": "switch",
"z": "41526b8c80d5a5f7",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "0",
"vt": "num"
},
{
"t": "eq",
"v": "1",
"vt": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 1000,
"y": 2240,
"wires": [
[
"66ea059b7d73dd94"
],
[
"119a37cc13969294"
]
]
},
{
"id": "119a37cc13969294",
"type": "delay",
"z": "41526b8c80d5a5f7",
"name": "sortie verrin",
"pauseType": "delay",
"timeout": "800",
"timeoutUnits": "milliseconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 1170,
"y": 2280,
"wires": [
[
"f4829f8e643d0c3e"
]
]
},
{
"id": "f4829f8e643d0c3e",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c3 = 1",
"func": "flow.set(\"c3\", 1);\nflow.set(\"c6\", 0);\n\nif (Number(flow.get(\"flag0\")) == 1) {\n flow.set(\"flag0\", 0);\n flow.set(\"c5\", 1);\n}\n\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1330,
"y": 2280,
"wires": [
[]
]
},
{
"id": "66ea059b7d73dd94",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c3 = 0",
"func": "flow.set(\"c3\", 0);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1170,
"y": 2220,
"wires": [
[]
]
},
{
"id": "02cfaae4ac4028fa",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "a3",
"func": "flow.set(\"a3\", Number(msg.payload.a3));\nmsg.payload = msg.payload.a3;\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 690,
"y": 2360,
"wires": [
[
"0ae317ffe38bf575"
]
]
},
{
"id": "0ae317ffe38bf575",
"type": "rbe",
"z": "41526b8c80d5a5f7",
"name": "",
"func": "rbe",
"gap": "",
"start": "",
"inout": "out",
"septopics": true,
"property": "payload",
"topi": "topic",
"x": 830,
"y": 2360,
"wires": [
[
"a50f4b5dfa9eade9"
]
]
},
{
"id": "a50f4b5dfa9eade9",
"type": "switch",
"z": "41526b8c80d5a5f7",
"name": "",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "0",
"vt": "num"
},
{
"t": "eq",
"v": "1",
"vt": "num"
}
],
"checkall": "false",
"repair": false,
"outputs": 2,
"x": 980,
"y": 2360,
"wires": [
[],
[
"fc150d9fc55ebcc5"
]
]
},
{
"id": "fc150d9fc55ebcc5",
"type": "function",
"z": "41526b8c80d5a5f7",
"name": "c5 = 0",
"func": "flow.set(\"c5\", 0);\nreturn msg;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 1150,
"y": 2380,
"wires": [
[]
]
},
{
"id": "97c3bdd3022c06a2",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "sortie a0",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"a0\":1}",
"payloadType": "json",
"x": 400,
"y": 1800,
"wires": [
[
"e94f13f0f1acc44c"
]
]
},
{
"id": "32a0178413458831",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "retour a0",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"a0\":0}",
"payloadType": "json",
"x": 400,
"y": 1840,
"wires": [
[
"e94f13f0f1acc44c"
]
]
},
{
"id": "55b870902eafb7d6",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "sortie a1",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"a1\":1}",
"payloadType": "json",
"x": 420,
"y": 2020,
"wires": [
[
"92b7b19f3a84b610"
]
]
},
{
"id": "9613b1d12607eb78",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "retour a1",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"a1\":0}",
"payloadType": "json",
"x": 420,
"y": 2060,
"wires": [
[
"92b7b19f3a84b610"
]
]
},
{
"id": "e2ee6d24c361265a",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "retour a2",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"a2\":0}",
"payloadType": "json",
"x": 420,
"y": 2240,
"wires": [
[
"f55fa882f44af78e"
]
]
},
{
"id": "3f3795eb65e0bc06",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "retour a3",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"a3\":0}",
"payloadType": "json",
"x": 440,
"y": 2380,
"wires": [
[
"02cfaae4ac4028fa"
]
]
},
{
"id": "7806cff293d6b133",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "sortie a2",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"a2\":1}",
"payloadType": "json",
"x": 420,
"y": 2200,
"wires": [
[
"f55fa882f44af78e"
]
]
},
{
"id": "b96e4ea91c42c3de",
"type": "inject",
"z": "41526b8c80d5a5f7",
"name": "sortie a3",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"a3\":1}",
"payloadType": "json",
"x": 440,
"y": 2340,
"wires": [
[
"02cfaae4ac4028fa"
]
]
},
{
"id": "5fe915fcd26e78ae",
"type": "ui-group",
"name": "Boutons",
"page": "bb436fe040268d40",
"width": "2",
"height": 1,
"order": 2,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false",
"groupType": "default"
},
{
"id": "5bf949eb0a1b50a7",
"type": "mqtt-broker",
"name": "",
"broker": "rabbitmq",
"port": 1883,
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": 4,
"keepalive": 60,
"cleansession": true,
"autoUnsubscribe": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
},
{
"id": "02fab8cbf37e2bb7",
"type": "ui-group",
"name": "Alimentation",
"page": "bb436fe040268d40",
"width": "2",
"height": 1,
"order": 1,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false",
"groupType": "default"
},
{
"id": "c3dd11d0778f9e67",
"type": "ui-group",
"name": "Voyants",
"page": "bb436fe040268d40",
"width": "2",
"height": 1,
"order": 4,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false",
"groupType": "default"
},
{
"id": "00ea85a0e0b38df3",
"type": "ui-group",
"name": "Interrupteurs",
"page": "bb436fe040268d40",
"width": "2",
"height": 1,
"order": 3,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false",
"groupType": "default"
},
{
"id": "b1bde11bdd78b9f1",
"type": "ui-group",
"name": "Afficheur",
"page": "bb436fe040268d40",
"width": "8",
"height": 1,
"order": 6,
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false",
"groupType": "default"
},
{
"id": "6b44d4b22cd7b3dc",
"type": "ui-group",
"name": "Moteurs",
"page": "bb436fe040268d40",
"width": "4",
2026-01-09 11:24:51 +01:00
"height": 1,
"order": 5,
2026-01-09 09:25:37 +01:00
"showTitle": true,
"className": "",
"visible": "true",
"disabled": "false",
"groupType": "default"
},
2026-01-09 07:46:52 +01:00
{
"id": "bb436fe040268d40",
"type": "ui-page",
"name": "LP SARII",
"ui": "92537b03143c5e06",
"path": "/page1",
"icon": "home",
"layout": "grid",
"theme": "ea2bf5532fa513eb",
"breakpoints": [
{
"name": "Default",
"px": "0",
"cols": "3"
},
{
"name": "Tablet",
"px": "576",
"cols": "6"
},
{
"name": "Small Desktop",
"px": "768",
"cols": "9"
},
{
"name": "Desktop",
"px": "1024",
"cols": "12"
}
],
"order": 1,
"className": "",
"visible": "true",
"disabled": "false"
},
{
"id": "92537b03143c5e06",
"type": "ui-base",
"name": "My Dashboard",
"path": "/dashboard",
"appIcon": "",
"includeClientData": true,
"acceptsClientConfig": [
"ui-notification",
"ui-control"
],
"showPathInSidebar": false,
"headerContent": "page",
"navigationStyle": "default",
"titleBarStyle": "default",
"showReconnectNotification": true,
"notificationDisplayTime": 1,
"showDisconnectNotification": true,
"allowInstall": false
},
{
"id": "ea2bf5532fa513eb",
"type": "ui-theme",
"name": "Default Theme",
"colors": {
"surface": "#ffffff",
"primary": "#0094CE",
"bgPage": "#eeeeee",
"groupBg": "#ffffff",
"groupOutline": "#cccccc"
},
"sizes": {
"density": "default",
"pagePadding": "12px",
"groupGap": "12px",
"groupBorderRadius": "4px",
"widgetGap": "12px"
}
},
{
2026-01-10 07:29:55 +01:00
"id": "72fb79817cf41c66",
2026-01-09 07:46:52 +01:00
"type": "global-config",
"env": [],
"modules": {
2026-01-10 07:29:55 +01:00
"@flowfuse/node-red-dashboard": "1.29.0"
2026-01-09 07:46:52 +01:00
}
}
]