- Home
- Deutsch
- Skripten / Logik
- Blockly
- MAX! Cube Blockly Abwesenheit
MAX! Cube Blockly Abwesenheit
-
@marko1974 Ach noch was kannst Du dann neben den Modes noch einen eigenen setpoints erstellen?
Also wenn Du Lust hast mit Unit:
{ "common": { "name": "setpoint", "desc": "Manuell erzeugt", "role": "state", "type": "number", "read": true, "write": true, "unit": "°C", "def": 0 }, "type": "state", "_id": "0_userdata.0.Heizung.Schlafzimmer.setpoint", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" }, "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1636845851669 }
-
@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 Ach noch was kannst Du dann neben den Modes noch einen eigenen setpoints erstellen?
Also wenn Du Lust hast mit Unit:
{ "common": { "name": "setpoint", "desc": "Manuell erzeugt", "role": "state", "type": "number", "read": true, "write": true, "unit": "°C", "def": 0 }, "type": "state", "_id": "0_userdata.0.Heizung.Schlafzimmer.setpoint", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" }, "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1636845851669 }
Ich muss aber jetzt nicht für jede Temperatur n setpoint erstellen? Du meinst, wenn ich so einen Standard Setpoint möchte den ich triggern will?
-
@marko1974 Das wird der Input wenn man ausser mit Alexa die Temperatur verstellen will. Der Flow setzt dann die setpoint im Thermostat.
Also schon für jeden Thermostat einen setpoint
-
@mickym ist gemacht
-
@marko1974 Super - dann kannst Du noch zu den setpoints einen eco Datenpunkt erstellen. Da kann man dann die ECO Temperatur aus dem MAX System einpflegen und auch den Modus ECO nutzen.
-
@mickym hab ich noch nie gebraucht....aber mache ich.
DONE
-
@marko1974 wie hast Du es genau geschrieben?
-
@mickym ECO
{ "common": { "name": "ECO", "desc": "Manuell erzeugt", "role": "state", "type": "number", "read": true, "write": true, "def": 0 }, "type": "state", "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1636847431239, "_id": "0_userdata.0.Heizung.Kinderzimmer.ECO", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" } }
-
@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