[
{
"id": "42b606a5c2d7d8a8",
"type": "tab",
"label": "Flow 5",
"disabled": false,
"info": ""
},
{
"id": "54e533d94ae6c687",
"type": "tuya-local",
"z": "42b606a5c2d7d8a8",
"devName": "Prise seche linge",
"devIp": "",
"devId": "5815508324a160258032",
"devKey": "6c7af9cbbf81ed1c",
"protocolVer": "3.3",
"renameSchema": "",
"filterCB": "",
"x": 610,
"y": 220,
"wires": [
[
"30a6844d7119f859"
]
]
},
{
"id": "f6ef28b5a7693097",
"type": "inject",
"z": "42b606a5c2d7d8a8",
"name": "connecter la prise",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "connect",
"payloadType": "str",
"x": 270,
"y": 100,
"wires": [
[
"54e533d94ae6c687"
]
]
},
{
"id": "8f6df0ddf94393c0",
"type": "inject",
"z": "42b606a5c2d7d8a8",
"name": "deconnecter la prise",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "disconnect",
"payload": "disconnect",
"payloadType": "str",
"x": 270,
"y": 140,
"wires": [
[
"54e533d94ae6c687"
]
]
},
{
"id": "90b6719d6856355e",
"type": "inject",
"z": "42b606a5c2d7d8a8",
"name": "affiche le payload complet",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "request",
"payloadType": "str",
"x": 190,
"y": 200,
"wires": [
[
"54e533d94ae6c687"
]
]
},
{
"id": "fc5be531ebfb9055",
"type": "inject",
"z": "42b606a5c2d7d8a8",
"name": "Eteindre la prise",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"set\": false, \"dps\" : 1}",
"payloadType": "json",
"x": 280,
"y": 300,
"wires": [
[
"54e533d94ae6c687"
]
]
},
{
"id": "75fb5f027cdb8ce4",
"type": "inject",
"z": "42b606a5c2d7d8a8",
"name": "Allumer la prise",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"set\": true, \"dps\" : 1}",
"payloadType": "json",
"x": 280,
"y": 340,
"wires": [
[
"54e533d94ae6c687"
]
]
},
{
"id": "30a6844d7119f859",
"type": "debug",
"z": "42b606a5c2d7d8a8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 840,
"y": 200,
"wires": []
}
]