Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "cde802f8.6a039",
- "type": "http request",
- "z": "1e25dd31.1e5023",
- "name": "",
- "method": "GET",
- "ret": "obj",
- "url": "http://192.168.0.39:8080/json.htm?type=devices&rid=7",
- "tls": "",
- "x": 379,
- "y": 244,
- "wires": [
- [
- "8905d249.5a3cc"
- ]
- ]
- },
- {
- "id": "8905d249.5a3cc",
- "type": "switch",
- "z": "1e25dd31.1e5023",
- "name": "",
- "property": "payload.result[0].Data",
- "propertyType": "msg",
- "rules": [
- {
- "t": "eq",
- "v": "On",
- "vt": "str"
- },
- {
- "t": "eq",
- "v": "Off",
- "vt": "str"
- }
- ],
- "checkall": "true",
- "outputs": 2,
- "x": 539,
- "y": 244,
- "wires": [
- [
- "147f996.823b967"
- ],
- [
- "ee9b2f6a.c17ce"
- ]
- ]
- },
- {
- "id": "147f996.823b967",
- "type": "change",
- "z": "1e25dd31.1e5023",
- "name": "",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "4527447#",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 709,
- "y": 224,
- "wires": [
- [
- "8b349c48.e7215"
- ]
- ]
- },
- {
- "id": "ee9b2f6a.c17ce",
- "type": "change",
- "z": "1e25dd31.1e5023",
- "name": "",
- "rules": [
- {
- "t": "set",
- "p": "payload",
- "pt": "msg",
- "to": "4527444#",
- "tot": "str"
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 709,
- "y": 264,
- "wires": [
- [
- "8b349c48.e7215"
- ]
- ]
- },
- {
- "id": "79164aa5.6c4aa4",
- "type": "mqtt in",
- "z": "1e25dd31.1e5023",
- "name": "Pixels MQTT",
- "topic": "domoticz/out/device/Pixels",
- "qos": "2",
- "broker": "dbb6dd16.d5ab3",
- "x": 79,
- "y": 244,
- "wires": [
- [
- "cde802f8.6a039"
- ]
- ]
- },
- {
- "id": "8b349c48.e7215",
- "type": "serial out",
- "z": "1e25dd31.1e5023",
- "name": "",
- "serial": "e4f54e55.7afc7",
- "x": 1019,
- "y": 242,
- "wires": []
- },
- {
- "id": "dbb6dd16.d5ab3",
- "type": "mqtt-broker",
- "z": "",
- "broker": "192.168.0.39",
- "port": "1883",
- "clientid": "",
- "usetls": false,
- "compatmode": true,
- "keepalive": "60",
- "cleansession": true,
- "willTopic": "",
- "willQos": "0",
- "willPayload": "",
- "birthTopic": "",
- "birthQos": "0",
- "birthPayload": ""
- },
- {
- "id": "e4f54e55.7afc7",
- "type": "serial-port",
- "z": "",
- "serialport": "/dev/ttyACM0",
- "serialbaud": "9600",
- "databits": "8",
- "parity": "none",
- "stopbits": "1",
- "newline": "\\n",
- "bin": "false",
- "out": "char",
- "addchar": false
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement