[ { "id": "87cb9566.4737d", "type": "mqtt in", "z": "c6e92952.b07218", "name": "RF Bridge", "topic": "tele/DVES_B2EFB9/RESULT", "qos": "2", "broker": "6ce51bd7.3fa0ac", "x": 200, "y": 100, "wires": [ [ "290a4660.56e772" ] ] }, { "id": "290a4660.56e772", "type": "json", "z": "c6e92952.b07218", "name": "", "property": "payload", "action": "", "pretty": false, "x": 330, "y": 100, "wires": [ [ "19cb4548.3d219b" ] ] }, { "id": "19cb4548.3d219b", "type": "switch", "z": "c6e92952.b07218", "name": "", "property": "payload.RfReceived.Data", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AA0446", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 450, "y": 100, "wires": [ [ "64f25e91.9c77f" ] ], "outputLabels": [ "PIR" ] }, { "id": "5703f049.0fc49", "type": "mqtt out", "z": "c6e92952.b07218", "name": "", "topic": "domoticz/in", "qos": "2", "retain": "false", "broker": "6ce51bd7.3fa0ac", "x": 870, "y": 100, "wires": [] }, { "id": "64f25e91.9c77f", "type": "trigger", "z": "c6e92952.b07218", "op1": "On", "op2": "Off", "op1type": "str", "op2type": "str", "duration": "5", "extend": true, "units": "min", "reset": "", "bytopic": "all", "name": "", "x": 590, "y": 100, "wires": [ [ "767fdbaf.5a1cbc" ] ] }, { "id": "767fdbaf.5a1cbc", "type": "template", "z": "c6e92952.b07218", "name": "Light", "field": "payload", "fieldType": "msg", "format": "handlebars", "syntax": "mustache", "template": "{\n \"idx\" : 25,\n \"command\" : \"switchlight\",\n \"switchcmd\" : \"{{payload}}\"\n}", "output": "json", "x": 730, "y": 100, "wires": [ [ "5703f049.0fc49" ] ] }, { "id": "6ce51bd7.3fa0ac", "type": "mqtt-broker", "z": "", "name": "mosquitto-local", "broker": "broker", "port": "1883", "clientid": "node-red", "usetls": false, "compatmode": true, "keepalive": "60", "cleansession": true, "birthTopic": "", "birthQos": "0", "birthPayload": "", "closeTopic": "", "closeQos": "0", "closePayload": "", "willTopic": "", "willQos": "0", "willPayload": "" } ]