[ { "id": "2b5677e.d57b788", "type": "variable-in", "namespace": "variable", "z": "9e4d2c88.da58f", "variabletype": "device", "family": "0", "peerid": "1", "channel": "1", "variable": "STATE", "refractoryperiod": "200", "outputonstartup": true, "loopprevention": false, "looppreventiongroup": "", "name": "WC Fenster", "x": 65, "y": 90, "wires": [ [ { "id": "8a71d820.338c78", "port": 0 }, { "id": "52886f56.74242", "port": 0 }, { "id": "de61129e.6a2658", "port": 0 } ] ] }, { "id": "8a71d820.338c78", "type": "on-delay", "namespace": "timers", "z": "9e4d2c88.da58f", "on-delay": "300000", "name": "on-delay 300s", "x": 280, "y": 90, "wires": [ [ { "id": "c9fc9ff0.805ff", "port": 0 } ], [] ] }, { "id": "2c1ac6b2.33e97a", "type": "xmpp", "namespace": "notification", "z": "9e4d2c88.da58f", "name": "Zu lange offen", "server": "98ba753.57fa008", "recipient": "tablet@xmpp-server", "message": "Fenster Raum 1 mehr als 5 Minuten offen", "x": 670, "y": 70, "wires": [] }, { "id": "c9fc9ff0.805ff", "type": "switch", "namespace": "basic-logic", "z": "9e4d2c88.da58f", "name": "", "property": "payload", "changes-only": true, "output-true": false, "output-false": false, "rules": [ { "t": "true" }, { "t": "false" } ], "checkall": "true", "inputs": 1, "outputs": 2, "x": 450, "y": 90, "wires": [ [ { "id": "2c1ac6b2.33e97a", "port": 0 } ], [ { "id": "49d6b92c.0aae88", "port": 0 } ] ] }, { "id": "49d6b92c.0aae88", "type": "xmpp", "namespace": "notification", "z": "9e4d2c88.da58f", "name": "Wieder zu", "server": "98ba753.57fa008", "recipient": "tablet@xmpp-server", "message": "Fenster Raum 1 wieder zu", "x": 670, "y": 120, "wires": [] }, { "id": "98ba753.57fa008", "type": "xmpp-server", "namespace": "notification", "z": "", "server": "xmpp-server", "port": "5222", "user": "homegear" } ]