[
{
"id": "397e721c8443f53e",
"type": "mqtt in",
"z": "2e7d4cac81c671e3",
"d": true,
"name": "BWM oben",
"topic": "shellies/sonstiges/bwm_wk/status",
"qos": "2",
"datatype": "auto-detect",
"broker": "b22fc4d3e3f172bb",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 360,
"y": 1600,
"wires": [
[
"f37773770cc10a69"
]
]
},
{
"id": "4e9de718a2e77470",
"type": "mqtt in",
"z": "2e7d4cac81c671e3",
"d": true,
"name": "BWM mitte",
"topic": "shellies/sonstiges/bwm_flur_keller/status",
"qos": "2",
"datatype": "auto-detect",
"broker": "b22fc4d3e3f172bb",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 360,
"y": 1640,
"wires": [
[
"f37773770cc10a69"
]
]
},
{
"id": "800abea06f19a103",
"type": "trigger",
"z": "2e7d4cac81c671e3",
"name": "",
"op1": "{\"id\":123,\"src\":\"hotspot_2\",\"method\":\"Switch.Set\",\"params\":{\"id\":0,\"on\":true}}",
"op2": "{\"id\":123,\"src\":\"hotspot_2\",\"method\":\"Switch.Set\",\"params\":{\"id\":0,\"on\":false}}",
"op1type": "json",
"op2type": "json",
"duration": "2",
"extend": true,
"overrideDelay": false,
"units": "min",
"reset": "",
"bytopic": "all",
"topic": "topic",
"outputs": 1,
"x": 990,
"y": 1540,
"wires": [
[
"b122e2e77c6da325"
]
]
},
{
"id": "c7a2538582f26f99",
"type": "switch",
"z": "2e7d4cac81c671e3",
"name": "active = true?",
"property": "active",
"propertyType": "global",
"rules": [
{
"t": "true"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 800,
"y": 1540,
"wires": [
[
"800abea06f19a103"
]
]
},
{
"id": "85adc04bab696758",
"type": "mqtt in",
"z": "2e7d4cac81c671e3",
"d": true,
"name": "BWM unten",
"topic": "shellies/sonstiges/bwm_wk/status",
"qos": "2",
"datatype": "auto-detect",
"broker": "b22fc4d3e3f172bb",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 350,
"y": 1680,
"wires": [
[
"f37773770cc10a69"
]
]
},
{
"id": "8e92ad87f1753886",
"type": "mqtt in",
"z": "2e7d4cac81c671e3",
"d": true,
"name": "Schalter 1",
"topic": "shellies/sonstiges/bwm_flur_keller/status",
"qos": "2",
"datatype": "auto-detect",
"broker": "b22fc4d3e3f172bb",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 400,
"y": 1420,
"wires": [
[
"fc6fb44b1d1d608a"
]
]
},
{
"id": "f37773770cc10a69",
"type": "switch",
"z": "2e7d4cac81c671e3",
"name": "",
"property": "payload.motion",
"propertyType": "msg",
"rules": [
{
"t": "true"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 550,
"y": 1640,
"wires": [
[
"77e70e12f14594fe"
]
]
},
{
"id": "9cbbb699f5a355ef",
"type": "mqtt in",
"z": "2e7d4cac81c671e3",
"d": true,
"name": "Schalter 2",
"topic": "shellies/sonstiges/bwm_flur_keller/status",
"qos": "2",
"datatype": "auto-detect",
"broker": "b22fc4d3e3f172bb",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 400,
"y": 1460,
"wires": [
[
"fc6fb44b1d1d608a"
]
]
},
{
"id": "8f34eb2c75697e59",
"type": "mqtt in",
"z": "2e7d4cac81c671e3",
"d": true,
"name": "Button",
"topic": "shellies/sonstiges/bwm_flur_keller/status",
"qos": "2",
"datatype": "auto-detect",
"broker": "b22fc4d3e3f172bb",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 410,
"y": 1500,
"wires": [
[
"fc6fb44b1d1d608a"
]
]
},
{
"id": "b122e2e77c6da325",
"type": "debug",
"z": "2e7d4cac81c671e3",
"name": "Schalten",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1180,
"y": 1540,
"wires": []
},
{
"id": "77e70e12f14594fe",
"type": "junction",
"z": "2e7d4cac81c671e3",
"x": 680,
"y": 1540,
"wires": [
[
"c7a2538582f26f99"
]
]
},
{
"id": "fc6fb44b1d1d608a",
"type": "junction",
"z": "2e7d4cac81c671e3",
"x": 580,
"y": 1460,
"wires": [
[
"77e70e12f14594fe"
]
]
},
{
"id": "b22fc4d3e3f172bb",
"type": "mqtt-broker",
"name": "iobroker mqtt adapter",
"broker": "localhost",
"port": "1883",
"clientid": "mqttin_nodered",
"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": ""
}
]