[ { "id": "919c3e3f82e9ad7b", "type": "tab", "label": "atividade19", "disabled": false, "info": "", "env": [] }, { "id": "1867e209c9cac532", "type": "inject", "z": "919c3e3f82e9ad7b", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "1", "payloadType": "num", "x": 250, "y": 180, "wires": [ [ "a1844cce2bf89c10" ] ] }, { "id": "ba9645e805d19018", "type": "ui_button", "z": "919c3e3f82e9ad7b", "name": "", "group": "4a5f28b29f94cc4f", "order": 1, "width": 0, "height": 0, "passthru": false, "label": "LIGA", "tooltip": "", "color": "", "bgcolor": "", "className": "", "icon": "", "payload": "0", "payloadType": "str", "topic": "topic", "topicType": "msg", "x": 250, "y": 240, "wires": [ [ "a1844cce2bf89c10" ] ] }, { "id": "139b3c9ef78d1905", "type": "ui_button", "z": "919c3e3f82e9ad7b", "name": "", "group": "4a5f28b29f94cc4f", "order": 2, "width": 0, "height": 0, "passthru": false, "label": "DESLIGA", "tooltip": "", "color": "", "bgcolor": "", "className": "", "icon": "", "payload": "1", "payloadType": "str", "topic": "topic", "topicType": "msg", "x": 260, "y": 300, "wires": [ [ "a1844cce2bf89c10" ] ] }, { "id": "878e232df8cf49fb", "type": "inject", "z": "919c3e3f82e9ad7b", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "0", "payloadType": "num", "x": 250, "y": 120, "wires": [ [ "a1844cce2bf89c10" ] ] }, { "id": "a1844cce2bf89c10", "type": "mqtt out", "z": "919c3e3f82e9ad7b", "name": "", "topic": "cmnd/tasmota_81151/POWER", "qos": "", "retain": "", "respTopic": "", "contentType": "", "userProps": "", "correl": "", "expiry": "", "broker": "ee1b1a1d8f3d34fc", "x": 610, "y": 220, "wires": [] }, { "id": "96909bbd55e6f6cf", "type": "mqtt in", "z": "919c3e3f82e9ad7b", "name": "status", "topic": "stat/tasmota_81151/#", "qos": "2", "datatype": "auto-detect", "broker": "ee1b1a1d8f3d34fc", "nl": false, "rap": true, "rh": 0, "inputs": 0, "x": 250, "y": 460, "wires": [ [ "891a8a35cb52ec8e", "1f20f1479074f7f4" ] ] }, { "id": "891a8a35cb52ec8e", "type": "debug", "z": "919c3e3f82e9ad7b", "name": "debug 9", "active": true, "tosidebar": true, "console": false, "tostatus": true, "complete": "payload", "targetType": "msg", "statusVal": "payload", "statusType": "auto", "x": 540, "y": 540, "wires": [] }, { "id": "1f20f1479074f7f4", "type": "ui_text", "z": "919c3e3f82e9ad7b", "group": "4a5f28b29f94cc4f", "order": 3, "width": 0, "height": 0, "name": "", "label": "status de comando", "format": "{{msg.payload}}", "layout": "row-spread", "className": "", "style": false, "font": "", "fontSize": 16, "color": "#000000", "x": 570, "y": 460, "wires": [] }, { "id": "2e4f14a29a4ac1ab", "type": "mqtt in", "z": "919c3e3f82e9ad7b", "name": "result", "topic": "stat/tasmota_81151/RESULT", "qos": "2", "datatype": "auto-detect", "broker": "ee1b1a1d8f3d34fc", "nl": false, "rap": true, "rh": 0, "inputs": 0, "x": 250, "y": 600, "wires": [ [ "c2a17e0540daa854", "a46650f6c309f43d" ] ] }, { "id": "a46650f6c309f43d", "type": "debug", "z": "919c3e3f82e9ad7b", "name": "debug 10", "active": true, "tosidebar": true, "console": false, "tostatus": true, "complete": "payload", "targetType": "msg", "statusVal": "payload", "statusType": "auto", "x": 540, "y": 660, "wires": [] }, { "id": "c2a17e0540daa854", "type": "ui_text", "z": "919c3e3f82e9ad7b", "group": "4a5f28b29f94cc4f", "order": 4, "width": 0, "height": 0, "name": "", "label": "result", "format": "{{msg.payload}}", "layout": "row-spread", "className": "", "style": false, "font": "", "fontSize": 16, "color": "#000000", "x": 530, "y": 600, "wires": [] }, { "id": "4a5f28b29f94cc4f", "type": "ui_group", "name": "Default", "tab": "81b103e963f54d57", "order": 1, "disp": true, "width": "6", "collapse": false, "className": "" }, { "id": "ee1b1a1d8f3d34fc", "type": "mqtt-broker", "name": "", "broker": "broker.hivemq.com", "port": "1883", "clientid": "", "autoConnect": true, "usetls": false, "protocolVersion": "4", "keepalive": "60", "cleansession": true, "birthTopic": "", "birthQos": "0", "birthPayload": "", "birthMsg": {}, "closeTopic": "", "closeQos": "0", "closePayload": "", "closeMsg": {}, "willTopic": "", "willQos": "0", "willPayload": "", "willMsg": {}, "userProps": "", "sessionExpiry": "" }, { "id": "81b103e963f54d57", "type": "ui_tab", "name": "Home", "icon": "dashboard", "disabled": false, "hidden": false } ]