- Home
- Deutsch
- Skripten / Logik
- Blockly
- MAX! Cube Blockly Abwesenheit
MAX! Cube Blockly Abwesenheit
-
@mickym kann ich nochwas tun?
-
@marko1974 So der Hauptflow ist fertig - nun musst Du noch bissi Feinarbeiten machen:
Hier der Import:
[ { "id": "c2c0c34f.6e2ed", "type": "subflow", "name": "MAX Auto Badezimmer", "info": "# MAX Wochenprofil erstellen", "category": "MAX Auto Profil", "in": [ { "x": 40, "y": 260, "wires": [ { "id": "adc559a.6d1fea8" } ] } ], "out": [ { "x": 1240, "y": 260, "wires": [ { "id": "78e83c34.8e26f4", "port": 0 }, { "id": "b43a5b2f.5ba228", "port": 0 }, { "id": "c381b0fb.0c407", "port": 0 }, { "id": "d7602741.e08ec8", "port": 0 }, { "id": "67e1f0e6.98f84", "port": 0 }, { "id": "324ef3e0.d9ac1c", "port": 0 }, { "id": "2c0b8bd8.778e14", "port": 0 }, { "id": "5b0e8515.b3b32c", "port": 0 }, { "id": "50a57933.3a77b8", "port": 0 }, { "id": "92ee1669.329f78", "port": 0 } ] } ], "env": [], "meta": {}, "color": "#FFAAAA", "outputLabels": [ "AUTO Temperatur" ], "icon": "font-awesome/fa-thermometer-2" }, { "id": "2961f12d.901f7e", "type": "switch", "z": "c2c0c34f.6e2ed", "name": "Automatik <Template>- Zeitprofil Mo - Fr", "property": "payload.time", "propertyType": "msg", "rules": [ { "t": "btwn", "v": "00:00", "vt": "str", "v2": "08:00", "v2t": "str" }, { "t": "btwn", "v": "08:00", "vt": "str", "v2": "09:00", "v2t": "str" }, { "t": "btwn", "v": "09:00", "vt": "str", "v2": "22:00", "v2t": "str" }, { "t": "btwn", "v": "22:00", "vt": "str", "v2": "23:00", "v2t": "str" }, { "t": "btwn", "v": "23:00", "vt": "str", "v2": "24:00", "v2t": "str" } ], "checkall": "false", "repair": false, "outputs": 5, "x": 780, "y": 160, "wires": [ [ "78e83c34.8e26f4" ], [ "b43a5b2f.5ba228" ], [ "c381b0fb.0c407" ], [ "d7602741.e08ec8" ], [ "67e1f0e6.98f84" ] ] }, { "id": "adc559a.6d1fea8", "type": "change", "z": "c2c0c34f.6e2ed", "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": 190, "y": 260, "wires": [ [ "fd8206e3.66bbf8" ] ] }, { "id": "b43a5b2f.5ba228", "type": "change", "z": "c2c0c34f.6e2ed", "name": "22 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 120, "wires": [ [] ] }, { "id": "c381b0fb.0c407", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17°C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 160, "wires": [ [] ] }, { "id": "d7602741.e08ec8", "type": "change", "z": "c2c0c34f.6e2ed", "name": "22 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 200, "wires": [ [] ] }, { "id": "67e1f0e6.98f84", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 240, "wires": [ [] ] }, { "id": "a03bd421.d47bd8", "type": "switch", "z": "c2c0c34f.6e2ed", "name": "Automatik <Template> - Zeitprofil Sa + So", "property": "payload.time", "propertyType": "msg", "rules": [ { "t": "btwn", "v": "00:00", "vt": "str", "v2": "08:00", "v2t": "str" }, { "t": "btwn", "v": "08:00", "vt": "str", "v2": "09:00", "v2t": "str" }, { "t": "btwn", "v": "09:00", "vt": "str", "v2": "22:00", "v2t": "str" }, { "t": "btwn", "v": "22:00", "vt": "str", "v2": "23:00", "v2t": "str" }, { "t": "btwn", "v": "23:00", "vt": "str", "v2": "24:00", "v2t": "str" } ], "checkall": "false", "repair": false, "outputs": 5, "x": 780, "y": 380, "wires": [ [ "324ef3e0.d9ac1c" ], [ "2c0b8bd8.778e14" ], [ "5b0e8515.b3b32c" ], [ "92ee1669.329f78" ], [ "50a57933.3a77b8" ] ] }, { "id": "2c0b8bd8.778e14", "type": "change", "z": "c2c0c34f.6e2ed", "name": "22 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 340, "wires": [ [] ] }, { "id": "fd8206e3.66bbf8", "type": "switch", "z": "c2c0c34f.6e2ed", "name": "Selektiere Wochentage", "property": "payload.weekday", "propertyType": "msg", "rules": [ { "t": "regex", "v": "Montag|Dienstag|Mittwoch|Donnerstag|Freitag", "vt": "str", "case": true }, { "t": "regex", "v": "Samstag|Sonntag", "vt": "str", "case": true } ], "checkall": "true", "repair": false, "outputs": 2, "x": 430, "y": 260, "wires": [ [ "2961f12d.901f7e" ], [ "a03bd421.d47bd8" ] ] }, { "id": "5b0e8515.b3b32c", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 380, "wires": [ [] ] }, { "id": "92ee1669.329f78", "type": "change", "z": "c2c0c34f.6e2ed", "name": "22 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 420, "wires": [ [] ] }, { "id": "50a57933.3a77b8", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 460, "wires": [ [] ] }, { "id": "324ef3e0.d9ac1c", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 300, "wires": [ [] ] }, { "id": "78e83c34.8e26f4", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 80, "wires": [ [] ] }, { "id": "1965b6bc.47ee19", "type": "inject", "z": "6f3801b9.ba4b6", "name": "Trigger alle Minuten", "props": [ { "p": "ts", "v": "", "vt": "date" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "x": 490, "y": 1940, "wires": [ [ "4ad77e6.fb2298" ] ] }, { "id": "f5d5a81d.0d79c8", "type": "change", "z": "6f3801b9.ba4b6", "name": "Wohnzimmer", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Wohnzimmer", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 910, "y": 1920, "wires": [ [ "9d89290d.3f4f48" ] ] }, { "id": "5715f8a9.9e36d8", "type": "change", "z": "6f3801b9.ba4b6", "name": "Schlafzimmer", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Schlafzimmer", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 900, "y": 1880, "wires": [ [ "9d89290d.3f4f48" ] ] }, { "id": "27e3cf0b.1fb9c", "type": "change", "z": "6f3801b9.ba4b6", "name": "Kinderzimmer", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Kinderzimmer", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 900, "y": 1840, "wires": [ [ "9d89290d.3f4f48" ] ] }, { "id": "30c3ea81.3b06b6", "type": "change", "z": "6f3801b9.ba4b6", "name": "Flur", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Flur", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 930, "y": 1960, "wires": [ [ "9d89290d.3f4f48" ] ] }, { "id": "b87ebd5f.04a7d", "type": "change", "z": "6f3801b9.ba4b6", "name": "Küche", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Küche", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 930, "y": 2000, "wires": [ [ "9d89290d.3f4f48" ] ] }, { "id": "4e2c598d.d467e8", "type": "change", "z": "6f3801b9.ba4b6", "name": "Badezimmer", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Badezimmer", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 910, "y": 2040, "wires": [ [ "9d89290d.3f4f48" ] ] }, { "id": "4ad77e6.fb2298", "type": "switch", "z": "6f3801b9.ba4b6", "name": "Ein / Aus", "property": "gHeizungssteuerung", "propertyType": "global", "rules": [ { "t": "true" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 680, "y": 1940, "wires": [ [ "27e3cf0b.1fb9c", "5715f8a9.9e36d8", "f5d5a81d.0d79c8", "30c3ea81.3b06b6", "b87ebd5f.04a7d", "4e2c598d.d467e8" ] ] }, { "id": "f62fe74f.2ea798", "type": "inject", "z": "6f3801b9.ba4b6", "name": "Aktiviere Heizungssteuerung", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "true", "payloadType": "bool", "x": 560, "y": 1380, "wires": [ [ "a06e7e01.fa763" ] ] }, { "id": "a06e7e01.fa763", "type": "change", "z": "6f3801b9.ba4b6", "name": "", "rules": [ { "t": "set", "p": "gHeizungssteuerung", "pt": "global", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 870, "y": 1380, "wires": [ [] ] }, { "id": "9d89290d.3f4f48", "type": "change", "z": "6f3801b9.ba4b6", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "\"0_userdata.0.Heizung.\" & room & \".mode\"", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1200, "y": 1840, "wires": [ [ "f07d0a47.5ea388" ] ] }, { "id": "1940726b.23d83e", "type": "debug", "z": "6f3801b9.ba4b6", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 1670, "y": 2000, "wires": [] }, { "id": "f07d0a47.5ea388", "type": "ioBroker get", "z": "6f3801b9.ba4b6", "name": "get mode", "topic": "", "attrname": "mode", "payloadType": "value", "x": 1370, "y": 1840, "wires": [ [ "31374dbc.8ee562" ] ] }, { "id": "863eaba3.56b088", "type": "ioBroker get", "z": "6f3801b9.ba4b6", "name": "get desiredTemperature", "topic": "", "attrname": "desiredTemperature", "payloadType": "value", "x": 1410, "y": 1920, "wires": [ [ "6b0d1558.1cdc8c" ] ] }, { "id": "31374dbc.8ee562", "type": "change", "z": "6f3801b9.ba4b6", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "\"0_userdata.0.Heizung.\" & room & \".setpoint\"", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1200, "y": 1920, "wires": [ [ "863eaba3.56b088" ] ] }, { "id": "b1a9ca76.52ad48", "type": "switch", "z": "6f3801b9.ba4b6", "name": "Heizungen", "property": "room", "propertyType": "msg", "rules": [ { "t": "eq", "v": "Kinderzimmer", "vt": "str" }, { "t": "eq", "v": "Schlafzimmer", "vt": "str" }, { "t": "eq", "v": "Wohnzimmer", "vt": "str" }, { "t": "eq", "v": "Flur", "vt": "str" }, { "t": "eq", "v": "Küche", "vt": "str" }, { "t": "eq", "v": "Badezimmer", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 6, "x": 1690, "y": 1920, "wires": [ [ "58a0f8f3.c56118" ], [ "e21babd2.9960c8" ], [ "c28be01e.ad1f" ], [ "cfe521df.1b0fb" ], [ "be5cdd66.a5d76" ], [ "d95d6d51.eff4c" ] ] }, { "id": "58a0f8f3.c56118", "type": "switch", "z": "6f3801b9.ba4b6", "name": "Kinderzimmer", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1940, "y": 1480, "wires": [ [ "581dbaad.9c9f34" ], [ "d912a77.1dadd58" ], [ "1afe73e2.fdb6ac" ], [ "14999008.d8eab" ] ] }, { "id": "e21babd2.9960c8", "type": "switch", "z": "6f3801b9.ba4b6", "name": "Schlafzimmer", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1940, "y": 1660, "wires": [ [ "e66376fc.0697e8" ], [ "a1a54233.2e25" ], [ "4b729ec6.a7567" ], [ "d0e7d874.8ffc18" ] ] }, { "id": "c28be01e.ad1f", "type": "switch", "z": "6f3801b9.ba4b6", "name": "Wohnzimmer", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1930, "y": 1820, "wires": [ [ "882eac91.a4c63" ], [ "22fe10a1.4179a" ], [ "f054e171.d9388" ], [ "30ec57c5.5cb298" ] ] }, { "id": "cfe521df.1b0fb", "type": "switch", "z": "6f3801b9.ba4b6", "name": "Flur", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1910, "y": 1980, "wires": [ [ "6a4e1335.624edc" ], [ "696a4cf4.0926f4" ], [ "e8aa246e.263ee8" ], [ "18820133.6bd0df" ] ] }, { "id": "be5cdd66.a5d76", "type": "switch", "z": "6f3801b9.ba4b6", "name": "Küche", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1930, "y": 2160, "wires": [ [ "220c1f0.70a44e2" ], [ "6e94704e.ff4bc" ], [ "d6ca8495.917f78" ], [ "23535d36.f89882" ] ] }, { "id": "d95d6d51.eff4c", "type": "switch", "z": "6f3801b9.ba4b6", "name": "Badezimmer", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1930, "y": 2340, "wires": [ [ "8f1b3f56.520fe" ], [ "5cd3bef0.e41f8" ], [ "9703563a.10fbe8" ], [ "d0ae36e3.0d6d68" ] ] }, { "id": "8f1b3f56.520fe", "type": "subflow:c2c0c34f.6e2ed", "z": "6f3801b9.ba4b6", "name": "", "x": 2190, "y": 2280, "wires": [ [ "8c12a45.58c5958" ] ] }, { "id": "5cd3bef0.e41f8", "type": "change", "z": "6f3801b9.ba4b6", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2160, "y": 2320, "wires": [ [ "8c12a45.58c5958" ] ] }, { "id": "9703563a.10fbe8", "type": "change", "z": "6f3801b9.ba4b6", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 2360, "wires": [ [ "8c12a45.58c5958" ] ] }, { "id": "6b0d1558.1cdc8c", "type": "change", "z": "6f3801b9.ba4b6", "name": "", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "\"0_userdata.0.Heizung.\" & room & \".ECO\"", "tot": "jsonata" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1200, "y": 2000, "wires": [ [ "cad52ae9.b3a468" ] ] }, { "id": "cad52ae9.b3a468", "type": "ioBroker get", "z": "6f3801b9.ba4b6", "name": "get ecoTemperature", "topic": "", "attrname": "ecoTemperature", "payloadType": "value", "x": 1400, "y": 2000, "wires": [ [ "b1a9ca76.52ad48", "1940726b.23d83e" ] ] }, { "id": "d0ae36e3.0d6d68", "type": "change", "z": "6f3801b9.ba4b6", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2150, "y": 2400, "wires": [ [ "8c12a45.58c5958" ] ] }, { "id": "6e94704e.ff4bc", "type": "change", "z": "6f3801b9.ba4b6", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2160, "y": 2140, "wires": [ [ "420c8f3.1d09f7" ] ] }, { "id": "d6ca8495.917f78", "type": "change", "z": "6f3801b9.ba4b6", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 2180, "wires": [ [ "420c8f3.1d09f7" ] ] }, { "id": "23535d36.f89882", "type": "change", "z": "6f3801b9.ba4b6", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2150, "y": 2220, "wires": [ [ "420c8f3.1d09f7" ] ] }, { "id": "220c1f0.70a44e2", "type": "subflow:c2c0c34f.6e2ed", "z": "6f3801b9.ba4b6", "name": "", "x": 2190, "y": 2100, "wires": [ [ "420c8f3.1d09f7" ] ] }, { "id": "696a4cf4.0926f4", "type": "change", "z": "6f3801b9.ba4b6", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2160, "y": 1960, "wires": [ [ "cab0fe28.59eef" ] ] }, { "id": "e8aa246e.263ee8", "type": "change", "z": "6f3801b9.ba4b6", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 2000, "wires": [ [ "cab0fe28.59eef" ] ] }, { "id": "18820133.6bd0df", "type": "change", "z": "6f3801b9.ba4b6", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2150, "y": 2040, "wires": [ [ "cab0fe28.59eef" ] ] }, { "id": "6a4e1335.624edc", "type": "subflow:c2c0c34f.6e2ed", "z": "6f3801b9.ba4b6", "name": "", "x": 2190, "y": 1920, "wires": [ [ "cab0fe28.59eef" ] ] }, { "id": "22fe10a1.4179a", "type": "change", "z": "6f3801b9.ba4b6", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2160, "y": 1800, "wires": [ [ "195630dc.b07aff" ] ] }, { "id": "f054e171.d9388", "type": "change", "z": "6f3801b9.ba4b6", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 1840, "wires": [ [ "195630dc.b07aff" ] ] }, { "id": "30ec57c5.5cb298", "type": "change", "z": "6f3801b9.ba4b6", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2150, "y": 1880, "wires": [ [ "195630dc.b07aff" ] ] }, { "id": "882eac91.a4c63", "type": "subflow:c2c0c34f.6e2ed", "z": "6f3801b9.ba4b6", "name": "", "x": 2190, "y": 1760, "wires": [ [ "195630dc.b07aff" ] ] }, { "id": "a1a54233.2e25", "type": "change", "z": "6f3801b9.ba4b6", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2160, "y": 1640, "wires": [ [ "7cb96adf.df8ef4" ] ] }, { "id": "4b729ec6.a7567", "type": "change", "z": "6f3801b9.ba4b6", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 1680, "wires": [ [ "7cb96adf.df8ef4" ] ] }, { "id": "d0e7d874.8ffc18", "type": "change", "z": "6f3801b9.ba4b6", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2150, "y": 1720, "wires": [ [ "7cb96adf.df8ef4" ] ] }, { "id": "e66376fc.0697e8", "type": "subflow:c2c0c34f.6e2ed", "z": "6f3801b9.ba4b6", "name": "", "x": 2190, "y": 1600, "wires": [ [ "7cb96adf.df8ef4" ] ] }, { "id": "d912a77.1dadd58", "type": "change", "z": "6f3801b9.ba4b6", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2160, "y": 1460, "wires": [ [ "7da482f0.8e833c" ] ] }, { "id": "1afe73e2.fdb6ac", "type": "change", "z": "6f3801b9.ba4b6", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2140, "y": 1500, "wires": [ [ "7da482f0.8e833c" ] ] }, { "id": "14999008.d8eab", "type": "change", "z": "6f3801b9.ba4b6", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 2150, "y": 1540, "wires": [ [ "7da482f0.8e833c" ] ] }, { "id": "581dbaad.9c9f34", "type": "subflow:c2c0c34f.6e2ed", "z": "6f3801b9.ba4b6", "name": "", "x": 2190, "y": 1420, "wires": [ [ "7da482f0.8e833c" ] ] }, { "id": "544cd832.3d5cb8", "type": "debug", "z": "6f3801b9.ba4b6", "name": "Badezimmer", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2610, "y": 2380, "wires": [] }, { "id": "8c12a45.58c5958", "type": "rbe", "z": "6f3801b9.ba4b6", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2440, "y": 2360, "wires": [ [ "6ce146dd.f3bdd8", "544cd832.3d5cb8" ] ] }, { "id": "6ce146dd.f3bdd8", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "d": true, "name": "Badezimmer", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2610, "y": 2340, "wires": [] }, { "id": "ef09f468.27d118", "type": "debug", "z": "6f3801b9.ba4b6", "name": "Küche", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2590, "y": 2180, "wires": [] }, { "id": "420c8f3.1d09f7", "type": "rbe", "z": "6f3801b9.ba4b6", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2440, "y": 2160, "wires": [ [ "66692b1b.1a5af4", "ef09f468.27d118" ] ] }, { "id": "66692b1b.1a5af4", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "d": true, "name": "Küche", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2590, "y": 2140, "wires": [] }, { "id": "b8cbf5b5.4b82c8", "type": "debug", "z": "6f3801b9.ba4b6", "name": "Flur", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2590, "y": 2000, "wires": [] }, { "id": "cab0fe28.59eef", "type": "rbe", "z": "6f3801b9.ba4b6", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2440, "y": 1980, "wires": [ [ "d749214a.8cde9", "b8cbf5b5.4b82c8" ] ] }, { "id": "d749214a.8cde9", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "d": true, "name": "Flur", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2590, "y": 1960, "wires": [] }, { "id": "a3fbc37c.6029e", "type": "debug", "z": "6f3801b9.ba4b6", "name": "Wohnzimmer", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2610, "y": 1840, "wires": [] }, { "id": "195630dc.b07aff", "type": "rbe", "z": "6f3801b9.ba4b6", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2440, "y": 1820, "wires": [ [ "f46f75.b28e9088", "a3fbc37c.6029e" ] ] }, { "id": "f46f75.b28e9088", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "d": true, "name": "Wohnzimmer", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2610, "y": 1800, "wires": [] }, { "id": "13e32815.6f13a8", "type": "debug", "z": "6f3801b9.ba4b6", "name": "Schlafzimmer", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2620, "y": 1700, "wires": [] }, { "id": "7cb96adf.df8ef4", "type": "rbe", "z": "6f3801b9.ba4b6", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2440, "y": 1680, "wires": [ [ "ea6ed90a.7eea08", "13e32815.6f13a8" ] ] }, { "id": "ea6ed90a.7eea08", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "d": true, "name": "Schlafzimmer", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2620, "y": 1660, "wires": [] }, { "id": "efcc4af2.479898", "type": "debug", "z": "6f3801b9.ba4b6", "name": "Kinderzimmer", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2620, "y": 1500, "wires": [] }, { "id": "7da482f0.8e833c", "type": "rbe", "z": "6f3801b9.ba4b6", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2440, "y": 1480, "wires": [ [ "c1f9faa7.60fd18", "efcc4af2.479898" ] ] }, { "id": "c1f9faa7.60fd18", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "d": true, "name": "Kinderzimmer", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2620, "y": 1460, "wires": [] } ]
So und keine Angst es läuft nach dem Deploy noch nichts los.
-
@mickym Wahnsinn.... Das hätte ich natürlich viel schneller hinbekommen
Ich hab ja jetzt sogar AUS und ECO .... also den jetzt als neuen flow?
-
@marko1974 Ob als neuen Flow - oder auf der gleichen Seite ist egal. Auf der gleichen Seite hat es ja auch noch Platz. Vielleicht nutzt Du Node Red ja noch für was anderes.
-
@mickym Type error: J_def is undefined
-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym kann ich nochwas tun?
So dann musst Du noch die AUTO Nodes gegen die korrekten aus dem Zimmern zuordnen - ich habe nur eine genommen, sonst hättest Du lauter Duplicate drin.
In den deaktivierten iobroker Out Nodes kommen die setpoints zu den Thermostaten im MaxCube Adapter.
Dann probierst Du erst mal aus, ob die richtige Temperatur rauskommt, wenn Du den Trigger benutzt.
-
@marko1974 OK - dann bekommst den Flow als Datei - Augenblick:
-
@mickym gleiche fehlermeldung
-
@marko1974 Nein - das muss gehen - über Datei funktioniert es. Du darfst nicht über den Text importieren - sondern musst die Seite wieder im Dateisystem abspeichern und dann die DAtei im Import angeben.
Das Problem ist wenn Du den Flow als Text in das rosa Fenster kopierst.
-
@mickym Leider nein....Auf import und dann aus Datei importieren.
-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym Leider nein....Auf import und dann aus Datei importieren.
Sorry ich hab das bei mir gerade 2 mal gemacht
-
@mickym Ich habe keine Text da reinkopiert. Bin auf neuen Flow erstelllen, Importieren, Aus Datei....Datei ausgewählt....Fehlermeldung
-
@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym Leider nein....Auf import und dann aus Datei importieren.
Sorry ich hab das bei mir gerade 2 mal gemacht
So mache ich das schon die ganze Zeit....
-
@marko1974 Hmmm -
-
@mickym Ja ich sehe das schon....aber eine Datei importieren kann ich eigentlich schon ... Oder fehlt was bei mir??
-
@marko1974 Ich hab vielleicht noch eine Idee - wobei es als Datei wenn Du ohne markieren - den Text einfach mit Speichern unter als Datei kopiert hättest. Wie speicherst Du denn die Datei im lokalen Dateisystem?
-
@mickym Na rechte Maustaste, Ziel speichern unter - und dann habe ich sie als Json gespeichert.
Hab auch schon die Datei aufgemacht und reinkopiert....
-
@marko1974 Ich versuche gerade mal ein Kopie ohne 3 Nodes zur Verfügung zu stellen - Augenblick
[ { "id": "c2c0c34f.6e2ed", "type": "subflow", "name": "MAX Auto Badezimmer", "info": "# MAX Wochenprofil erstellen", "category": "MAX Auto Profil", "in": [ { "x": 40, "y": 260, "wires": [ { "id": "adc559a.6d1fea8" } ] } ], "out": [ { "x": 1240, "y": 260, "wires": [ { "id": "78e83c34.8e26f4", "port": 0 }, { "id": "b43a5b2f.5ba228", "port": 0 }, { "id": "c381b0fb.0c407", "port": 0 }, { "id": "d7602741.e08ec8", "port": 0 }, { "id": "67e1f0e6.98f84", "port": 0 }, { "id": "324ef3e0.d9ac1c", "port": 0 }, { "id": "2c0b8bd8.778e14", "port": 0 }, { "id": "5b0e8515.b3b32c", "port": 0 }, { "id": "50a57933.3a77b8", "port": 0 }, { "id": "92ee1669.329f78", "port": 0 } ] } ], "env": [], "meta": {}, "color": "#FFAAAA", "outputLabels": [ "AUTO Temperatur" ], "icon": "font-awesome/fa-thermometer-2" }, { "id": "2961f12d.901f7e", "type": "switch", "z": "c2c0c34f.6e2ed", "name": "Automatik <Template>- Zeitprofil Mo - Fr", "property": "payload.time", "propertyType": "msg", "rules": [ { "t": "btwn", "v": "00:00", "vt": "str", "v2": "08:00", "v2t": "str" }, { "t": "btwn", "v": "08:00", "vt": "str", "v2": "09:00", "v2t": "str" }, { "t": "btwn", "v": "09:00", "vt": "str", "v2": "22:00", "v2t": "str" }, { "t": "btwn", "v": "22:00", "vt": "str", "v2": "23:00", "v2t": "str" }, { "t": "btwn", "v": "23:00", "vt": "str", "v2": "24:00", "v2t": "str" } ], "checkall": "false", "repair": false, "outputs": 5, "x": 780, "y": 160, "wires": [ [ "78e83c34.8e26f4" ], [ "b43a5b2f.5ba228" ], [ "c381b0fb.0c407" ], [ "d7602741.e08ec8" ], [ "67e1f0e6.98f84" ] ] }, { "id": "adc559a.6d1fea8", "type": "change", "z": "c2c0c34f.6e2ed", "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": 190, "y": 260, "wires": [ [ "fd8206e3.66bbf8" ] ] }, { "id": "b43a5b2f.5ba228", "type": "change", "z": "c2c0c34f.6e2ed", "name": "22 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 120, "wires": [ [] ] }, { "id": "c381b0fb.0c407", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17°C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 160, "wires": [ [] ] }, { "id": "d7602741.e08ec8", "type": "change", "z": "c2c0c34f.6e2ed", "name": "22 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 200, "wires": [ [] ] }, { "id": "67e1f0e6.98f84", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 240, "wires": [ [] ] }, { "id": "a03bd421.d47bd8", "type": "switch", "z": "c2c0c34f.6e2ed", "name": "Automatik <Template> - Zeitprofil Sa + So", "property": "payload.time", "propertyType": "msg", "rules": [ { "t": "btwn", "v": "00:00", "vt": "str", "v2": "08:00", "v2t": "str" }, { "t": "btwn", "v": "08:00", "vt": "str", "v2": "09:00", "v2t": "str" }, { "t": "btwn", "v": "09:00", "vt": "str", "v2": "22:00", "v2t": "str" }, { "t": "btwn", "v": "22:00", "vt": "str", "v2": "23:00", "v2t": "str" }, { "t": "btwn", "v": "23:00", "vt": "str", "v2": "24:00", "v2t": "str" } ], "checkall": "false", "repair": false, "outputs": 5, "x": 780, "y": 380, "wires": [ [ "324ef3e0.d9ac1c" ], [ "2c0b8bd8.778e14" ], [ "5b0e8515.b3b32c" ], [ "92ee1669.329f78" ], [ "50a57933.3a77b8" ] ] }, { "id": "2c0b8bd8.778e14", "type": "change", "z": "c2c0c34f.6e2ed", "name": "22 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 340, "wires": [ [] ] }, { "id": "fd8206e3.66bbf8", "type": "switch", "z": "c2c0c34f.6e2ed", "name": "Selektiere Wochentage", "property": "payload.weekday", "propertyType": "msg", "rules": [ { "t": "regex", "v": "Montag|Dienstag|Mittwoch|Donnerstag|Freitag", "vt": "str", "case": true }, { "t": "regex", "v": "Samstag|Sonntag", "vt": "str", "case": true } ], "checkall": "true", "repair": false, "outputs": 2, "x": 430, "y": 260, "wires": [ [ "2961f12d.901f7e" ], [ "a03bd421.d47bd8" ] ] }, { "id": "5b0e8515.b3b32c", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 380, "wires": [ [] ] }, { "id": "92ee1669.329f78", "type": "change", "z": "c2c0c34f.6e2ed", "name": "22 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 420, "wires": [ [] ] }, { "id": "50a57933.3a77b8", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 460, "wires": [ [] ] }, { "id": "324ef3e0.d9ac1c", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 300, "wires": [ [] ] }, { "id": "78e83c34.8e26f4", "type": "change", "z": "c2c0c34f.6e2ed", "name": "17 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "17", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 80, "wires": [ [] ] }, { "id": "8d07f0f.462691", "type": "inject", "z": "2fbfe79e.7af108", "name": "Trigger alle Minuten", "props": [ { "p": "ts", "v": "", "vt": "date" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "x": 230, "y": 640, "wires": [ [ "ba9950a5.49288" ] ] }, { "id": "7cb2eeb8.3e183", "type": "change", "z": "2fbfe79e.7af108", "name": "Wohnzimmer", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Wohnzimmer", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 650, "y": 620, "wires": [ [] ] }, { "id": "a8d50db9.c6774", "type": "change", "z": "2fbfe79e.7af108", "name": "Schlafzimmer", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Schlafzimmer", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 640, "y": 580, "wires": [ [] ] }, { "id": "bf4c2ed6.98035", "type": "change", "z": "2fbfe79e.7af108", "name": "Kinderzimmer", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Kinderzimmer", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 640, "y": 540, "wires": [ [] ] }, { "id": "c4e28fa7.326bc", "type": "change", "z": "2fbfe79e.7af108", "name": "Flur", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Flur", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 670, "y": 660, "wires": [ [] ] }, { "id": "658a283c.e3df28", "type": "change", "z": "2fbfe79e.7af108", "name": "Küche", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Küche", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 670, "y": 700, "wires": [ [] ] }, { "id": "8d92ec5a.66a3e", "type": "change", "z": "2fbfe79e.7af108", "name": "Badezimmer", "rules": [ { "t": "set", "p": "room", "pt": "msg", "to": "Badezimmer", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 650, "y": 740, "wires": [ [] ] }, { "id": "ba9950a5.49288", "type": "switch", "z": "2fbfe79e.7af108", "name": "Ein / Aus", "property": "gHeizungssteuerung", "propertyType": "global", "rules": [ { "t": "true" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 420, "y": 640, "wires": [ [ "bf4c2ed6.98035", "a8d50db9.c6774", "7cb2eeb8.3e183", "c4e28fa7.326bc", "658a283c.e3df28", "8d92ec5a.66a3e" ] ] }, { "id": "a6332322.cad5c", "type": "inject", "z": "2fbfe79e.7af108", "name": "Aktiviere Heizungssteuerung", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "true", "payloadType": "bool", "x": 300, "y": 80, "wires": [ [ "e64a03f5.dab21" ] ] }, { "id": "e64a03f5.dab21", "type": "change", "z": "2fbfe79e.7af108", "name": "", "rules": [ { "t": "set", "p": "gHeizungssteuerung", "pt": "global", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 610, "y": 80, "wires": [ [] ] }, { "id": "62b671f6.c2aaf", "type": "debug", "z": "2fbfe79e.7af108", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 1410, "y": 700, "wires": [] }, { "id": "29540e68.f0aa92", "type": "ioBroker get", "z": "2fbfe79e.7af108", "name": "get mode", "topic": "", "attrname": "mode", "payloadType": "value", "x": 1110, "y": 540, "wires": [ [] ] }, { "id": "c51fcd1e.360f2", "type": "ioBroker get", "z": "2fbfe79e.7af108", "name": "get desiredTemperature", "topic": "", "attrname": "desiredTemperature", "payloadType": "value", "x": 1150, "y": 620, "wires": [ [] ] }, { "id": "cb21ff74.eb4a9", "type": "switch", "z": "2fbfe79e.7af108", "name": "Heizungen", "property": "room", "propertyType": "msg", "rules": [ { "t": "eq", "v": "Kinderzimmer", "vt": "str" }, { "t": "eq", "v": "Schlafzimmer", "vt": "str" }, { "t": "eq", "v": "Wohnzimmer", "vt": "str" }, { "t": "eq", "v": "Flur", "vt": "str" }, { "t": "eq", "v": "Küche", "vt": "str" }, { "t": "eq", "v": "Badezimmer", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 6, "x": 1430, "y": 620, "wires": [ [ "e5a3e935.e886d8" ], [ "972d9173.c7f3" ], [ "ed377f3f.8544b" ], [ "5d6d4c4f.91d114" ], [ "38ccb111.f4e7fe" ], [ "21e8fc89.707d14" ] ] }, { "id": "e5a3e935.e886d8", "type": "switch", "z": "2fbfe79e.7af108", "name": "Kinderzimmer", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1680, "y": 180, "wires": [ [ "d54c49bb.c74768" ], [ "c184fb01.ebcca8" ], [ "6529e1ae.5cd9" ], [ "6dabe592.9faefc" ] ] }, { "id": "972d9173.c7f3", "type": "switch", "z": "2fbfe79e.7af108", "name": "Schlafzimmer", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1680, "y": 360, "wires": [ [ "724c420d.7bb4dc" ], [ "c03eaf47.47cf8" ], [ "472549e6.0d4678" ], [ "331e3168.d80a6e" ] ] }, { "id": "ed377f3f.8544b", "type": "switch", "z": "2fbfe79e.7af108", "name": "Wohnzimmer", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1670, "y": 520, "wires": [ [ "75b189b0.a21ce8" ], [ "8699996.589d768" ], [ "53fd717d.05821" ], [ "7459aba.9b79754" ] ] }, { "id": "5d6d4c4f.91d114", "type": "switch", "z": "2fbfe79e.7af108", "name": "Flur", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1650, "y": 680, "wires": [ [ "e5b821c6.408a" ], [ "43795266.f0f97c" ], [ "21ca5905.e8f226" ], [ "27615a8c.7d6016" ] ] }, { "id": "38ccb111.f4e7fe", "type": "switch", "z": "2fbfe79e.7af108", "name": "Küche", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1670, "y": 860, "wires": [ [ "e0360495.4282d8" ], [ "6192c71e.e14868" ], [ "3af25a08.425dd6" ], [ "90555796.db7908" ] ] }, { "id": "21e8fc89.707d14", "type": "switch", "z": "2fbfe79e.7af108", "name": "Badezimmer", "property": "mode", "propertyType": "msg", "rules": [ { "t": "eq", "v": "AUTO", "vt": "str" }, { "t": "eq", "v": "HEAT", "vt": "str" }, { "t": "eq", "v": "OFF", "vt": "str" }, { "t": "eq", "v": "ECO", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 4, "x": 1670, "y": 1040, "wires": [ [ "855f7739.710cf8" ], [ "f0fac0a8.a938" ], [ "be472598.070aa8" ], [ "58de29bc.e3d6c8" ] ] }, { "id": "855f7739.710cf8", "type": "subflow:c2c0c34f.6e2ed", "z": "2fbfe79e.7af108", "name": "", "x": 1930, "y": 980, "wires": [ [ "bb798b95.27ffe8" ] ] }, { "id": "f0fac0a8.a938", "type": "change", "z": "2fbfe79e.7af108", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1900, "y": 1020, "wires": [ [ "bb798b95.27ffe8" ] ] }, { "id": "be472598.070aa8", "type": "change", "z": "2fbfe79e.7af108", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1880, "y": 1060, "wires": [ [ "bb798b95.27ffe8" ] ] }, { "id": "b66df471.5836c8", "type": "ioBroker get", "z": "2fbfe79e.7af108", "name": "get ecoTemperature", "topic": "", "attrname": "ecoTemperature", "payloadType": "value", "x": 1140, "y": 700, "wires": [ [ "cb21ff74.eb4a9", "62b671f6.c2aaf" ] ] }, { "id": "58de29bc.e3d6c8", "type": "change", "z": "2fbfe79e.7af108", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1890, "y": 1100, "wires": [ [ "bb798b95.27ffe8" ] ] }, { "id": "6192c71e.e14868", "type": "change", "z": "2fbfe79e.7af108", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1900, "y": 840, "wires": [ [ "9be24893.3fb948" ] ] }, { "id": "3af25a08.425dd6", "type": "change", "z": "2fbfe79e.7af108", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1880, "y": 880, "wires": [ [ "9be24893.3fb948" ] ] }, { "id": "90555796.db7908", "type": "change", "z": "2fbfe79e.7af108", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1890, "y": 920, "wires": [ [ "9be24893.3fb948" ] ] }, { "id": "e0360495.4282d8", "type": "subflow:c2c0c34f.6e2ed", "z": "2fbfe79e.7af108", "name": "", "x": 1930, "y": 800, "wires": [ [ "9be24893.3fb948" ] ] }, { "id": "43795266.f0f97c", "type": "change", "z": "2fbfe79e.7af108", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1900, "y": 660, "wires": [ [ "fa3e96a8.7edc38" ] ] }, { "id": "21ca5905.e8f226", "type": "change", "z": "2fbfe79e.7af108", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1880, "y": 700, "wires": [ [ "fa3e96a8.7edc38" ] ] }, { "id": "27615a8c.7d6016", "type": "change", "z": "2fbfe79e.7af108", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1890, "y": 740, "wires": [ [ "fa3e96a8.7edc38" ] ] }, { "id": "e5b821c6.408a", "type": "subflow:c2c0c34f.6e2ed", "z": "2fbfe79e.7af108", "name": "", "x": 1930, "y": 620, "wires": [ [ "fa3e96a8.7edc38" ] ] }, { "id": "8699996.589d768", "type": "change", "z": "2fbfe79e.7af108", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1900, "y": 500, "wires": [ [ "43619702.eb9618" ] ] }, { "id": "53fd717d.05821", "type": "change", "z": "2fbfe79e.7af108", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1880, "y": 540, "wires": [ [ "43619702.eb9618" ] ] }, { "id": "7459aba.9b79754", "type": "change", "z": "2fbfe79e.7af108", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1890, "y": 580, "wires": [ [ "43619702.eb9618" ] ] }, { "id": "75b189b0.a21ce8", "type": "subflow:c2c0c34f.6e2ed", "z": "2fbfe79e.7af108", "name": "", "x": 1930, "y": 460, "wires": [ [ "43619702.eb9618" ] ] }, { "id": "c03eaf47.47cf8", "type": "change", "z": "2fbfe79e.7af108", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1900, "y": 340, "wires": [ [ "4d667db0.e6ae24" ] ] }, { "id": "472549e6.0d4678", "type": "change", "z": "2fbfe79e.7af108", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1880, "y": 380, "wires": [ [ "4d667db0.e6ae24" ] ] }, { "id": "331e3168.d80a6e", "type": "change", "z": "2fbfe79e.7af108", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1890, "y": 420, "wires": [ [ "4d667db0.e6ae24" ] ] }, { "id": "724c420d.7bb4dc", "type": "subflow:c2c0c34f.6e2ed", "z": "2fbfe79e.7af108", "name": "", "x": 1930, "y": 300, "wires": [ [ "4d667db0.e6ae24" ] ] }, { "id": "c184fb01.ebcca8", "type": "change", "z": "2fbfe79e.7af108", "name": "HEAT = setpoint", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "desiredTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1900, "y": 160, "wires": [ [ "bbbcbe24.a8ad3" ] ] }, { "id": "6529e1ae.5cd9", "type": "change", "z": "2fbfe79e.7af108", "name": "OFF = 4.5", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1880, "y": 200, "wires": [ [ "bbbcbe24.a8ad3" ] ] }, { "id": "6dabe592.9faefc", "type": "change", "z": "2fbfe79e.7af108", "name": "ECO = ECO", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "ecoTemperature", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1890, "y": 240, "wires": [ [ "bbbcbe24.a8ad3" ] ] }, { "id": "d54c49bb.c74768", "type": "subflow:c2c0c34f.6e2ed", "z": "2fbfe79e.7af108", "name": "", "x": 1930, "y": 120, "wires": [ [ "bbbcbe24.a8ad3" ] ] }, { "id": "a4444639.a32858", "type": "debug", "z": "2fbfe79e.7af108", "name": "Badezimmer", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2350, "y": 1080, "wires": [] }, { "id": "bb798b95.27ffe8", "type": "rbe", "z": "2fbfe79e.7af108", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2180, "y": 1060, "wires": [ [ "6d76bee5.29833", "a4444639.a32858" ] ] }, { "id": "6d76bee5.29833", "type": "ioBroker out", "z": "2fbfe79e.7af108", "d": true, "name": "Badezimmer", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2350, "y": 1040, "wires": [] }, { "id": "bff952d4.2c202", "type": "debug", "z": "2fbfe79e.7af108", "name": "Küche", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2330, "y": 880, "wires": [] }, { "id": "9be24893.3fb948", "type": "rbe", "z": "2fbfe79e.7af108", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2180, "y": 860, "wires": [ [ "680cda98.c79904", "bff952d4.2c202" ] ] }, { "id": "680cda98.c79904", "type": "ioBroker out", "z": "2fbfe79e.7af108", "d": true, "name": "Küche", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2330, "y": 840, "wires": [] }, { "id": "c60e966b.faec78", "type": "debug", "z": "2fbfe79e.7af108", "name": "Flur", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2330, "y": 700, "wires": [] }, { "id": "fa3e96a8.7edc38", "type": "rbe", "z": "2fbfe79e.7af108", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2180, "y": 680, "wires": [ [ "f0a0c599.311628", "c60e966b.faec78" ] ] }, { "id": "f0a0c599.311628", "type": "ioBroker out", "z": "2fbfe79e.7af108", "d": true, "name": "Flur", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2330, "y": 660, "wires": [] }, { "id": "32d64871.5d6618", "type": "debug", "z": "2fbfe79e.7af108", "name": "Wohnzimmer", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2350, "y": 540, "wires": [] }, { "id": "43619702.eb9618", "type": "rbe", "z": "2fbfe79e.7af108", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2180, "y": 520, "wires": [ [ "18ba5ed3.02b871", "32d64871.5d6618" ] ] }, { "id": "18ba5ed3.02b871", "type": "ioBroker out", "z": "2fbfe79e.7af108", "d": true, "name": "Wohnzimmer", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2350, "y": 500, "wires": [] }, { "id": "8dc663ac.ad48c", "type": "debug", "z": "2fbfe79e.7af108", "name": "Schlafzimmer", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2360, "y": 400, "wires": [] }, { "id": "4d667db0.e6ae24", "type": "rbe", "z": "2fbfe79e.7af108", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2180, "y": 380, "wires": [ [ "3b64abf8.4e46a4", "8dc663ac.ad48c" ] ] }, { "id": "3b64abf8.4e46a4", "type": "ioBroker out", "z": "2fbfe79e.7af108", "d": true, "name": "Schlafzimmer", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2360, "y": 360, "wires": [] }, { "id": "92ea75ca.3e4688", "type": "debug", "z": "2fbfe79e.7af108", "name": "Kinderzimmer", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 2360, "y": 200, "wires": [] }, { "id": "bbbcbe24.a8ad3", "type": "rbe", "z": "2fbfe79e.7af108", "name": "", "func": "rbe", "gap": "", "start": "", "inout": "out", "septopics": true, "property": "payload", "x": 2180, "y": 180, "wires": [ [ "45b23eda.84112", "92ea75ca.3e4688" ] ] }, { "id": "45b23eda.84112", "type": "ioBroker out", "z": "2fbfe79e.7af108", "d": true, "name": "Kinderzimmer", "topic": "", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 2360, "y": 160, "wires": [] } ]
Schau mal on das geht
-
@mickym Gleiche Fehlermeldung -.-
J._def is undefined
Die anderen .json konnte ich ja auch problemlos importieren und habe das auch als Datei gemacht
-
@marko1974 Kannst Du mal den Browser schließen und Cache löschen .
Schau mal ob Du irgendein anderen Flow hier aus dem Thread importieren kannst - nicht dass da irgendwo der Wurm drin ist.
Gut da verpacke ich das mal in kleine Teile und Du sagst ob s geht oder nicht.