Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "24a32eb3.2f60b2",
- "type": "mqtt in",
- "z": "77bb0eda.e443e",
- "name": "button 3 clicked",
- "topic": "cmnd/tx1/POWER3",
- "qos": "0",
- "datatype": "auto",
- "broker": "d2a1995f.bf0fd8",
- "x": 140,
- "y": 600,
- "wires": [
- [
- "26c56413.51621c"
- ]
- ]
- },
- {
- "id": "26c56413.51621c",
- "type": "switch",
- "z": "77bb0eda.e443e",
- "name": "Check input",
- "property": "payload",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "TOGGLE",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "HOLD",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 340,
- "y": 600,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "2b60a62f.003d3a",
- "type": "mqtt in",
- "z": "77bb0eda.e443e",
- "name": "button 2 clicked",
- "topic": "cmnd/tx1/POWER2",
- "qos": "0",
- "datatype": "auto",
- "broker": "d2a1995f.bf0fd8",
- "x": 140,
- "y": 540,
- "wires": [
- [
- "113c08ff.c67597"
- ]
- ]
- },
- {
- "id": "113c08ff.c67597",
- "type": "switch",
- "z": "77bb0eda.e443e",
- "name": "Check input",
- "property": "payload",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "TOGGLE",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "HOLD",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 340,
- "y": 540,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "62c1a79.db26e58",
- "type": "mqtt in",
- "z": "77bb0eda.e443e",
- "name": "button 1 clicked",
- "topic": "cmnd/tx1/POWER1",
- "qos": "0",
- "datatype": "auto",
- "broker": "d2a1995f.bf0fd8",
- "x": 140,
- "y": 480,
- "wires": [
- [
- "68bba8ff.eea838"
- ]
- ]
- },
- {
- "id": "68bba8ff.eea838",
- "type": "switch",
- "z": "77bb0eda.e443e",
- "name": "Check input",
- "property": "payload",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "TOGGLE",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "HOLD",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 340,
- "y": 480,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "d2a1995f.bf0fd8",
- "type": "mqtt-broker",
- "z": "",
- "name": "MQTT mosquitto",
- "broker": "192.168.11.61",
- "port": "1883",
- "clientid": "",
- "usetls": false,
- "compatmode": true,
- "keepalive": "60",
- "cleansession": true,
- "birthTopic": "",
- "birthQos": "0",
- "birthPayload": "",
- "closeTopic": "",
- "closeQos": "0",
- "closePayload": "",
- "willTopic": "",
- "willQos": "0",
- "willPayload": ""
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement