[ { "id": "c9bc6bb2.b21238", "type": "and", "z": "4e877985.e2cd18", "name": "", "changes-only": false, "output-false": true, "inputs": 2, "x": 3910, "y": 390, "wires": [ [ { "id": "1ccacced.f5d06b", "port": 0 } ] ] }, { "id": "3e9f798e.c8f926", "type": "variable-in", "z": "4e877985.e2cd18", "variabletype": "device", "family": "254", "peername": "MiMotion_EG_Flur", "peerid": "81", "channel": "1", "variable": "MOTION", "eventsource": "all", "refractoryperiod": "0", "outputonstartup": false, "changes-only": false, "loopprevention": false, "looppreventiongroup": "", "name": "", "x": 3430, "y": 460, "wires": [ [ { "id": "c89e736.03e221", "port": 0 } ] ] }, { "id": "198e3fd8.fb6fe", "type": "timer", "z": "4e877985.e2cd18", "name": "", "startup": false, "ontime": "sunrise", "ontimetype": "suntime", "offtime": "sunrise", "offtimetype": "suntime", "lat": "48.8", "lon": "8.8", "startoff": "0", "endoff": "90", "sun": true, "mon": true, "tue": true, "wed": true, "thu": true, "fri": true, "sat": true, "jan": true, "feb": true, "mar": true, "apr": true, "may": true, "jun": true, "jul": true, "aug": true, "sep": true, "oct": true, "nov": true, "dec": true, "x": 3360, "y": 380, "wires": [ [ { "id": "c9bc6bb2.b21238", "port": 0 }, { "id": "5650fe9a.9171e8", "port": 0 } ] ] }, { "id": "9cb55b95.735778", "type": "comment", "z": "4e877985.e2cd18", "name": "'Daheimtage' öffnen", "info": "", "x": 3390, "y": 330, "wires": [] }, { "id": "5650fe9a.9171e8", "type": "switch", "z": "4e877985.e2cd18", "name": "", "property": "payload", "payloadType": "int", "changes-only": false, "output-true": true, "output-false": false, "rules": [ { "t": "eq", "v": "false", "vt": "bool" }, { "t": "eq", "v": "true", "vt": "bool" } ], "checkall": "true", "inputs": 1, "outputs": 2, "x": 3560, "y": 350, "wires": [ [ { "id": "7d02a56.ed142dc", "port": 0 } ], [] ] }, { "id": "c89e736.03e221", "type": "impulse", "z": "4e877985.e2cd18", "name": "", "impulse": "10", "x": 3705, "y": 460, "wires": [ [ { "id": "c9bc6bb2.b21238", "port": 1 } ] ] }, { "id": "1ccacced.f5d06b", "type": "impulse", "z": "4e877985.e2cd18", "name": "", "impulse": "10800000", "allow-retrigger": false, "x": 4095, "y": 390, "wires": [ [] ] }, { "id": "7d02a56.ed142dc", "type": "function", "z": "4e877985.e2cd18", "name": "true", "func": "$message['payload'] = true;\nreturn $message;", "inputs": 1, "outputs": 1, "noerr": 0, "x": 3910, "y": 340, "wires": [ [ { "id": "1ccacced.f5d06b", "port": 0 } ] ] } ]