[
{
"id": "851391ff.f31ef",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Jetzt",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "true",
"payloadType": "bool",
"x": 130,
"y": 2220,
"wires": [
[
"39d58864.e30568"
]
]
},
{
"id": "54394067.3d759",
"type": "switch",
"z": "6e170384.60c96c",
"name": "Automatik Büro -Zeitprofil Montag, Mittwoch, Freitag",
"property": "payload.time",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "00:00",
"vt": "str",
"v2": "06:10",
"v2t": "str"
},
{
"t": "btwn",
"v": "06:10",
"vt": "str",
"v2": "11:15",
"v2t": "str"
},
{
"t": "btwn",
"v": "11:15",
"vt": "str",
"v2": "13:00",
"v2t": "str"
},
{
"t": "btwn",
"v": "13:00",
"vt": "str",
"v2": "20:00",
"v2t": "str"
},
{
"t": "btwn",
"v": "20:00",
"vt": "str",
"v2": "24:00",
"v2t": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 5,
"x": 950,
"y": 2100,
"wires": [
[
"b9148fcf.db6b7"
],
[
"3859cbf8.efeb64"
],
[
"3687dedb.049902"
],
[
"a1ea0b5e.c64828"
],
[
"c6b950a3.e2e42"
]
]
},
{
"id": "39d58864.e30568",
"type": "change",
"z": "6e170384.60c96c",
"name": "Change $moment",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "{\"weekday\":\"\",\"time\":\"\"}",
"tot": "json"
},
{
"t": "set",
"p": "payload.weekday",
"pt": "msg",
"to": "$moment().locale(\"de\").tz('Europe/Berlin').format('dddd')",
"tot": "jsonata"
},
{
"t": "set",
"p": "payload.time",
"pt": "msg",
"to": "$moment().locale(\"de\").tz('Europe/Berlin').format('HH:mm')",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 290,
"y": 2220,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "b9148fcf.db6b7",
"type": "change",
"z": "6e170384.60c96c",
"name": "17 °C",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "MoMiFr-Periode1",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "17",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 2020,
"wires": [
[
"b19d7cac.3611d"
]
]
},
{
"id": "3859cbf8.efeb64",
"type": "change",
"z": "6e170384.60c96c",
"name": "22 °C",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "MoMiFr-Periode2",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "22",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 2060,
"wires": [
[
"b19d7cac.3611d"
]
]
},
{
"id": "3687dedb.049902",
"type": "change",
"z": "6e170384.60c96c",
"name": "19 °C",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "MoMiFr-Periode3",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "19",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 2100,
"wires": [
[
"b19d7cac.3611d"
]
]
},
{
"id": "a1ea0b5e.c64828",
"type": "change",
"z": "6e170384.60c96c",
"name": "22 °C",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "MoMiFr-Periode4",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "22",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 2140,
"wires": [
[
"b19d7cac.3611d"
]
]
},
{
"id": "c6b950a3.e2e42",
"type": "change",
"z": "6e170384.60c96c",
"name": "17 °C",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "MoMiFr-Periode5",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "17",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 2180,
"wires": [
[
"b19d7cac.3611d"
]
]
},
{
"id": "b19d7cac.3611d",
"type": "debug",
"z": "6e170384.60c96c",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1590,
"y": 2260,
"wires": []
},
{
"id": "4798a841.c6f9a8",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Montag-06:00",
"props": [
{
"p": "payload.time",
"v": "06:00",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Montag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 270,
"y": 2300,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "11b0e0d2.4d2a4f",
"type": "switch",
"z": "6e170384.60c96c",
"name": "Automatik Büro -Zeitprofil Dienstag,Donnerstag",
"property": "payload.time",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "00:00",
"vt": "str",
"v2": "06:10",
"v2t": "str"
},
{
"t": "btwn",
"v": "06:10",
"vt": "str",
"v2": "11:15",
"v2t": "str"
},
{
"t": "btwn",
"v": "13:00",
"vt": "str",
"v2": "24:00",
"v2t": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 3,
"x": 940,
"y": 2260,
"wires": [
[
"4d30da63.a314f4"
],
[
"f7a73ac6.1639e8"
],
[
"980cbc45.9df66"
]
]
},
{
"id": "e4cd333c.7cb3c",
"type": "switch",
"z": "6e170384.60c96c",
"name": "Automatik Büro -Zeitprofil Montag, Mittwoch, Freitag",
"property": "payload.time",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "00:00",
"vt": "str",
"v2": "24:00",
"v2t": "str"
}
],
"checkall": "false",
"repair": false,
"outputs": 1,
"x": 950,
"y": 2360,
"wires": [
[
"7a662555.d7e99c"
]
]
},
{
"id": "4d30da63.a314f4",
"type": "change",
"z": "6e170384.60c96c",
"name": "17 °C",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "DiDo-Periode1",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "17",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 2220,
"wires": [
[
"b19d7cac.3611d"
]
]
},
{
"id": "f7a73ac6.1639e8",
"type": "change",
"z": "6e170384.60c96c",
"name": "22 °C",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "DiDo-Periode2",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "22",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 2260,
"wires": [
[
"b19d7cac.3611d"
]
]
},
{
"id": "980cbc45.9df66",
"type": "change",
"z": "6e170384.60c96c",
"name": "17 °C",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "DiDo-Periode3",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "17",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 2300,
"wires": [
[
"b19d7cac.3611d"
]
]
},
{
"id": "7a662555.d7e99c",
"type": "change",
"z": "6e170384.60c96c",
"name": "17 °C",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "SaSo-Periode1",
"tot": "str"
},
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "17",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1310,
"y": 2360,
"wires": [
[
"b19d7cac.3611d"
]
]
},
{
"id": "3708f211.1a057e",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Dienstag-06:00",
"props": [
{
"p": "payload.time",
"v": "06:00",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Dienstag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2340,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "900bc954.6e70e8",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Sonntag-06:00",
"props": [
{
"p": "payload.time",
"v": "06:00",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Sonntag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2380,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "6ffc1fcf.bd291",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Montag-08:55",
"props": [
{
"p": "payload.time",
"v": "08:55",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Montag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payloadType": "str",
"x": 270,
"y": 2440,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "fdd3c16d.030cd",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Dienstag-08:55",
"props": [
{
"p": "payload.time",
"v": "08:55",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Dienstag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2480,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "7be8efd4.1307c",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Sonntag-08:55",
"props": [
{
"p": "payload.time",
"v": "08:55",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Sonntag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2520,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "687ef13e.325f6",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Montag-12:10",
"props": [
{
"p": "payload.time",
"v": "12:10",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Montag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 270,
"y": 2580,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "c66b61b9.34e2",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Dienstag-12:10",
"props": [
{
"p": "payload.time",
"v": "12:10",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Dienstag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2620,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "65b24d97.e96204",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Sonntag-12:10",
"props": [
{
"p": "payload.time",
"v": "12:10",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Sonntag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2660,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "b07b2143.7a3e6",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Montag-14:55",
"props": [
{
"p": "payload.time",
"v": "14:55",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Montag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 270,
"y": 2720,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "d1bed477.cf7888",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Dienstag-14:55",
"props": [
{
"p": "payload.time",
"v": "14:55",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Dienstag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2760,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "2caa209b.b320d",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Sonntag-14:55",
"props": [
{
"p": "payload.time",
"v": "14:55",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Sonntag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2800,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "b5cab07c.4900d",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Montag-17:30",
"props": [
{
"p": "payload.time",
"v": "17:30",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Montag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 270,
"y": 2860,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "d0442be0.81a618",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Dienstag-17:30",
"props": [
{
"p": "payload.time",
"v": "17:30",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Dienstag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2900,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "1db66c9.a9c3d93",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Sonntag-17:30",
"props": [
{
"p": "payload.time",
"v": "17:30",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Sonntag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 2940,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "2c265cee.360094",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Montag-22:00",
"props": [
{
"p": "payload.time",
"v": "22:00",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Montag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 270,
"y": 3000,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "ebde2ef5.debb8",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Dienstag-22:00",
"props": [
{
"p": "payload.time",
"v": "22:00",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Dienstag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 3040,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "de133c33.f8489",
"type": "inject",
"z": "6e170384.60c96c",
"name": "Sonntag-22:00",
"props": [
{
"p": "payload.time",
"v": "22:00",
"vt": "str"
},
{
"p": "payload.weekday",
"v": "Sonntag",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 260,
"y": 3080,
"wires": [
[
"223e7dcb.393e22"
]
]
},
{
"id": "223e7dcb.393e22",
"type": "switch",
"z": "6e170384.60c96c",
"name": "Selektiere Wochentage",
"property": "payload.weekday",
"propertyType": "msg",
"rules": [
{
"t": "regex",
"v": "Montag|Mittwoch|Freitag",
"vt": "str",
"case": true
},
{
"t": "regex",
"v": "Dienstag|Donnerstag",
"vt": "str",
"case": true
},
{
"t": "regex",
"v": "Samstag|Sonntag",
"vt": "str",
"case": true
}
],
"checkall": "true",
"repair": false,
"outputs": 3,
"x": 550,
"y": 2220,
"wires": [
[
"54394067.3d759"
],
[
"11b0e0d2.4d2a4f"
],
[
"e4cd333c.7cb3c"
]
]
}
]