- ioBroker Community Home
- Deutsch
- Skripten / Logik
- Blockly
- MAX! Cube Blockly Abwesenheit
NEWS
MAX! Cube Blockly Abwesenheit
-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym said in MAX! Cube Blockly Abwesenheit:
@mickym sagte in MAX! Cube Blockly Abwesenheit:
@marko1974 Also eigentlich kannst jetzt testen:
- Alexa setze Bad auf 25 Grad. - es wird automatisch auf Manuell und auf 25 Grad umgestellt - dann mal 1 Minute warten
- Alexa, Setze Mode AUTO - Temperatur des hinterlegten Profils wird eingestellt
- Nach 1 Minute wird Modus auf AUTO gestellt.
Funktioniert denn der FLOW überhaupt wie gewünscht???? - Ein kleines FeedBack wäre gut - damit ich nicht von was ausgehe und dann funktioniert es gar nicht.
Ich bin jetzt gerade eben erstmal damit fertig geworden. Ich brauche da immer noch etwas. Aaaaaber ich muss sagen. Großes Kino. Alles geschaltet.

HALT - Du hast ja die AUTO Nodes an den Mode MANU und nicht AUTO gehängt. ???????????????
-
@mickym Das mt der Gruppenfunktion mache ich morgen und die Anwesenheit auch.
Ich brauche 48 Std. am Tag....irgendwie ist davon nie was übrig.Morgen gehts dann weiter und ich weiss gar nicht wie ich danken soll....
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym Das mt der Gruppenfunktion mache ich morgen und die Anwesenheit auch.
Ich brauche 48 Std. am Tag....irgendwie ist davon nie was übrig.Morgen gehts dann weiter und ich weiss gar nicht wie ich danken soll....
Ja aber den Fehler würde ich schon noch beheben und - so funktioniert es ja gar nicht richtig. So wie Du geschaltet hast setzt Du im manuellen Modus die AUTO Temperatur.

Ausserdem müssen die AUTO Nodes direkt an den Mode - Switch und nicht an die Change Nodes.
Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.
-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym Das mt der Gruppenfunktion mache ich morgen und die Anwesenheit auch.
Ich brauche 48 Std. am Tag....irgendwie ist davon nie was übrig.Morgen gehts dann weiter und ich weiss gar nicht wie ich danken soll....
Ja aber den Fehler würde ich schon noch beheben und - so funktioniert es ja gar nicht richtig. So wie Du geschaltet hast setzt Du im manuellen Modus die AUTO Temperatur.

Ausserdem müssen die AUTO Nodes direkt an den Mode - Switch und nicht an die Change Nodes.
-
@marko1974 Ja so müsste es passen!

Aber ich hoffe Du verstehst auch warum - bzw. versuchst es - logisch nachzuvollziehen.
Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.
-
@marko1974 Ja so müsste es passen!

Aber ich hoffe Du verstehst auch warum - bzw. versuchst es - logisch nachzuvollziehen.
@mickym Nein noch ein Fehler:

Die setze AUTO (0) Change Node muss natürlich auch mit dem Ausgang des Auto Modes verkabelt werden.
Wenn Du mit der Maus - über die Ausgänge fährst siehst Du die Definition:

Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.
-
@marko1974 Ja so müsste es passen!

Aber ich hoffe Du verstehst auch warum - bzw. versuchst es - logisch nachzuvollziehen.
-
@mickym Nein noch ein Fehler:

Die setze AUTO (0) Change Node muss natürlich auch mit dem Ausgang des Auto Modes verkabelt werden.
Wenn Du mit der Maus - über die Ausgänge fährst siehst Du die Definition:

-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym said in MAX! Cube Blockly Abwesenheit:
@mickym Nein noch ein Fehler:
wo?
Die Verzögerung
ahh - hab mich verguckt - scheint doch richtig verkabelt zu sein. Sorry. Also alles gut. Schau einfach nochmal ob alles funktioniert mit den 3 Alexa Kommandos und dann kannst ja ruhig in die Heia.

Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.
-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym said in MAX! Cube Blockly Abwesenheit:
@mickym Nein noch ein Fehler:
wo?
Die Verzögerung
ahh - hab mich verguckt - scheint doch richtig verkabelt zu sein. Sorry. Also alles gut. Schau einfach nochmal ob alles funktioniert mit den 3 Alexa Kommandos und dann kannst ja ruhig in die Heia.

@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym said in MAX! Cube Blockly Abwesenheit:
@mickym Nein noch ein Fehler:
wo?
Die Verzögerung
ahh - hab mich verguckt - scheint doch richtig verkabelt zu sein. Sorry. Also alles gut. Schau einfach nochmal ob alles funktioniert mit den 3 Alexa Kommandos und dann kannst ja ruhig in die Heia.

Ja ...habe alles nochmal durchgeguckt. Die sind alle richtig! :-)))
Siehste....Du musst auch mal ins Bett -
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym ja...ich habe nur einmal nen fehler gemacht und hab dann blind kopiert
Wundert mich aber - weil das war doch in meinem Flow - den ich für Dich exportiert habe bereits richtig verkabelt?
Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.
-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 Die Anwesenheitserkennung kannst ja im Blockly belassen - die Steuerung ändern wir nach NodeRED.

Wenn ich das Blockly richtig verstehe hast Du ja ein Datenpunkt der über ein Blockly gesetzt wird und der heißt absenceAll und ist true, wenn alle gegangen sind und false wenn einer da ist.
Nee false ist, wenn alle beide da sind.
Und der ist falsch. Es gbt aber in diesem Fritzbox adapter auch einen, der die Anzahl der Personen zählt.So der Flow ist schon fertig - das ist alles pipi.

Und jetzt solltest Du den Vorteil der Subflows (Templates) sehen:

[ { "id": "4c7438ae.bcfe38", "type": "subflow", "name": "MAX Auto Schlafzimmer", "info": "# MAX Wochenprofil erstellen", "category": "MAX Auto Profil", "in": [ { "x": 40, "y": 260, "wires": [ { "id": "51b555c8.ab71cc" } ] } ], "out": [ { "x": 1240, "y": 260, "wires": [ { "id": "11d5c223.e9692e", "port": 0 }, { "id": "5b3e5dc0.e43c84", "port": 0 }, { "id": "9c7d7d2e.50637", "port": 0 }, { "id": "4a57bb1a.df9924", "port": 0 }, { "id": "fb565e5a.fe907", "port": 0 }, { "id": "13a2b125.6ee33f", "port": 0 }, { "id": "fdd1014.e542e", "port": 0 }, { "id": "957e2c3a.ab6f6", "port": 0 }, { "id": "130aec2a.282f04", "port": 0 } ] } ], "env": [], "meta": {}, "color": "#FFAAAA", "outputLabels": [ "AUTO Temperatur" ], "icon": "font-awesome/fa-thermometer-2" }, { "id": "ea94e8f5.b33ed8", "type": "switch", "z": "4c7438ae.bcfe38", "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": [ [ "11d5c223.e9692e" ], [ "5b3e5dc0.e43c84" ], [ "9c7d7d2e.50637" ], [ "4a57bb1a.df9924" ], [ "fb565e5a.fe907" ] ] }, { "id": "51b555c8.ab71cc", "type": "change", "z": "4c7438ae.bcfe38", "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": [ [ "87830eea.d7c75" ] ] }, { "id": "5b3e5dc0.e43c84", "type": "change", "z": "4c7438ae.bcfe38", "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": "9c7d7d2e.50637", "type": "change", "z": "4c7438ae.bcfe38", "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": "4a57bb1a.df9924", "type": "change", "z": "4c7438ae.bcfe38", "name": "19 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "19", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 200, "wires": [ [] ] }, { "id": "fb565e5a.fe907", "type": "change", "z": "4c7438ae.bcfe38", "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": "fd71c298.e38d", "type": "switch", "z": "4c7438ae.bcfe38", "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": [ [ "13a2b125.6ee33f" ], [ "fdd1014.e542e" ], [ "957e2c3a.ab6f6" ], [ "92e95f00.95ffb" ], [ "130aec2a.282f04" ] ] }, { "id": "fdd1014.e542e", "type": "change", "z": "4c7438ae.bcfe38", "name": "22 °C", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "SaSo-Periode1", "tot": "str" }, { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 340, "wires": [ [] ] }, { "id": "87830eea.d7c75", "type": "switch", "z": "4c7438ae.bcfe38", "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": [ [ "ea94e8f5.b33ed8" ], [ "fd71c298.e38d" ] ] }, { "id": "957e2c3a.ab6f6", "type": "change", "z": "4c7438ae.bcfe38", "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": 1070, "y": 380, "wires": [ [] ] }, { "id": "92e95f00.95ffb", "type": "change", "z": "4c7438ae.bcfe38", "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": "130aec2a.282f04", "type": "change", "z": "4c7438ae.bcfe38", "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": "13a2b125.6ee33f", "type": "change", "z": "4c7438ae.bcfe38", "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": 1070, "y": 300, "wires": [ [] ] }, { "id": "11d5c223.e9692e", "type": "change", "z": "4c7438ae.bcfe38", "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": "82638b0c.eb3498", "type": "subflow", "name": "MAX Auto Bad", "info": "# MAX Wochenprofil erstellen", "category": "MAX Auto Profil", "in": [ { "x": 40, "y": 260, "wires": [ { "id": "39d58864.e30568" } ] } ], "out": [ { "x": 1240, "y": 260, "wires": [ { "id": "d23bc85e.43b228", "port": 0 }, { "id": "b9148fcf.db6b7", "port": 0 }, { "id": "3859cbf8.efeb64", "port": 0 }, { "id": "3687dedb.049902", "port": 0 }, { "id": "a1ea0b5e.c64828", "port": 0 }, { "id": "ce13d754.54b508", "port": 0 }, { "id": "7a662555.d7e99c", "port": 0 }, { "id": "b8f81c14.7e00e", "port": 0 }, { "id": "22fce80d.d8032", "port": 0 } ] } ], "env": [], "meta": {}, "color": "#FFAAAA", "outputLabels": [ "AUTO Temperatur" ], "icon": "font-awesome/fa-thermometer-2" }, { "id": "54394067.3d759", "type": "switch", "z": "82638b0c.eb3498", "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": [ [ "d23bc85e.43b228" ], [ "b9148fcf.db6b7" ], [ "3859cbf8.efeb64" ], [ "3687dedb.049902" ], [ "a1ea0b5e.c64828" ] ] }, { "id": "39d58864.e30568", "type": "change", "z": "82638b0c.eb3498", "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": [ [ "223e7dcb.393e22" ] ] }, { "id": "b9148fcf.db6b7", "type": "change", "z": "82638b0c.eb3498", "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": "3859cbf8.efeb64", "type": "change", "z": "82638b0c.eb3498", "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": "3687dedb.049902", "type": "change", "z": "82638b0c.eb3498", "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": "a1ea0b5e.c64828", "type": "change", "z": "82638b0c.eb3498", "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": "e4cd333c.7cb3c", "type": "switch", "z": "82638b0c.eb3498", "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": [ [ "ce13d754.54b508" ], [ "7a662555.d7e99c" ], [ "b8f81c14.7e00e" ], [ "f6138415.06d2f8" ], [ "22fce80d.d8032" ] ] }, { "id": "7a662555.d7e99c", "type": "change", "z": "82638b0c.eb3498", "name": "22 °C", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "SaSo-Periode1", "tot": "str" }, { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 340, "wires": [ [] ] }, { "id": "223e7dcb.393e22", "type": "switch", "z": "82638b0c.eb3498", "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": [ [ "54394067.3d759" ], [ "e4cd333c.7cb3c" ] ] }, { "id": "b8f81c14.7e00e", "type": "change", "z": "82638b0c.eb3498", "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": 1070, "y": 380, "wires": [ [] ] }, { "id": "f6138415.06d2f8", "type": "change", "z": "82638b0c.eb3498", "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": "22fce80d.d8032", "type": "change", "z": "82638b0c.eb3498", "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": "ce13d754.54b508", "type": "change", "z": "82638b0c.eb3498", "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": 1070, "y": 300, "wires": [ [] ] }, { "id": "d23bc85e.43b228", "type": "change", "z": "82638b0c.eb3498", "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": "ab72ca6c.56b658", "type": "ioBroker in", "z": "6f3801b9.ba4b6", "name": "absenceAll", "topic": "0_userdata.0.testType", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "true", "x": 730, "y": 940, "wires": [ [ "7fb84e52.ded01" ] ] }, { "id": "7fb84e52.ded01", "type": "switch", "z": "6f3801b9.ba4b6", "name": "alle weg?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "true" }, { "t": "false" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 900, "y": 940, "wires": [ [ "ccc4a8e2.b3d208" ], [ "d9b6f8e1.43a028", "cb6c610c.b148b" ] ] }, { "id": "ccc4a8e2.b3d208", "type": "change", "z": "6f3801b9.ba4b6", "name": "setze Temperatur auf 4.5 Grad", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1160, "y": 880, "wires": [ [ "42b431b2.7dc6b", "bbdabb1a.476468" ] ] }, { "id": "42b431b2.7dc6b", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze setpoint Bad", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1470, "y": 820, "wires": [] }, { "id": "bbdabb1a.476468", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze setpoint Schlafzimmer", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1500, "y": 860, "wires": [] }, { "id": "d9b6f8e1.43a028", "type": "subflow:82638b0c.eb3498", "z": "6f3801b9.ba4b6", "name": "", "x": 1200, "y": 960, "wires": [ [ "42b431b2.7dc6b", "88838135.299f8" ] ] }, { "id": "cb6c610c.b148b", "type": "subflow:4c7438ae.bcfe38", "z": "6f3801b9.ba4b6", "name": "", "x": 1170, "y": 1000, "wires": [ [ "bbdabb1a.476468", "88838135.299f8" ] ] }, { "id": "88838135.299f8", "type": "delay", "z": "6f3801b9.ba4b6", "name": "", "pauseType": "delay", "timeout": "1", "timeoutUnits": "minutes", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 1460, "y": 980, "wires": [ [ "ca582e80.a5362" ] ] }, { "id": "ca582e80.a5362", "type": "change", "z": "6f3801b9.ba4b6", "name": "setze AUTO(0)", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "0", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1660, "y": 980, "wires": [ [ "37a8e748.b93b78", "db3c124d.be0ee" ] ] }, { "id": "37a8e748.b93b78", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze mode Bad", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1880, "y": 960, "wires": [] }, { "id": "db3c124d.be0ee", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze mode Schlafzimmer", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1910, "y": 1000, "wires": [] } ]Jetzt muss man halt noch in die iobroker in und out Nodes - die entsprechenden Datenpunkte setzen-
@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 Die Anwesenheitserkennung kannst ja im Blockly belassen - die Steuerung ändern wir nach NodeRED.

Wenn ich das Blockly richtig verstehe hast Du ja ein Datenpunkt der über ein Blockly gesetzt wird und der heißt absenceAll und ist true, wenn alle gegangen sind und false wenn einer da ist.
Nee false ist, wenn alle beide da sind.
Und der ist falsch. Es gbt aber in diesem Fritzbox adapter auch einen, der die Anzahl der Personen zählt.So der Flow ist schon fertig - das ist alles pipi.

Und jetzt solltest Du den Vorteil der Subflows (Templates) sehen:

[ { "id": "4c7438ae.bcfe38", "type": "subflow", "name": "MAX Auto Schlafzimmer", "info": "# MAX Wochenprofil erstellen", "category": "MAX Auto Profil", "in": [ { "x": 40, "y": 260, "wires": [ { "id": "51b555c8.ab71cc" } ] } ], "out": [ { "x": 1240, "y": 260, "wires": [ { "id": "11d5c223.e9692e", "port": 0 }, { "id": "5b3e5dc0.e43c84", "port": 0 }, { "id": "9c7d7d2e.50637", "port": 0 }, { "id": "4a57bb1a.df9924", "port": 0 }, { "id": "fb565e5a.fe907", "port": 0 }, { "id": "13a2b125.6ee33f", "port": 0 }, { "id": "fdd1014.e542e", "port": 0 }, { "id": "957e2c3a.ab6f6", "port": 0 }, { "id": "130aec2a.282f04", "port": 0 } ] } ], "env": [], "meta": {}, "color": "#FFAAAA", "outputLabels": [ "AUTO Temperatur" ], "icon": "font-awesome/fa-thermometer-2" }, { "id": "ea94e8f5.b33ed8", "type": "switch", "z": "4c7438ae.bcfe38", "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": [ [ "11d5c223.e9692e" ], [ "5b3e5dc0.e43c84" ], [ "9c7d7d2e.50637" ], [ "4a57bb1a.df9924" ], [ "fb565e5a.fe907" ] ] }, { "id": "51b555c8.ab71cc", "type": "change", "z": "4c7438ae.bcfe38", "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": [ [ "87830eea.d7c75" ] ] }, { "id": "5b3e5dc0.e43c84", "type": "change", "z": "4c7438ae.bcfe38", "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": "9c7d7d2e.50637", "type": "change", "z": "4c7438ae.bcfe38", "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": "4a57bb1a.df9924", "type": "change", "z": "4c7438ae.bcfe38", "name": "19 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "19", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 200, "wires": [ [] ] }, { "id": "fb565e5a.fe907", "type": "change", "z": "4c7438ae.bcfe38", "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": "fd71c298.e38d", "type": "switch", "z": "4c7438ae.bcfe38", "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": [ [ "13a2b125.6ee33f" ], [ "fdd1014.e542e" ], [ "957e2c3a.ab6f6" ], [ "92e95f00.95ffb" ], [ "130aec2a.282f04" ] ] }, { "id": "fdd1014.e542e", "type": "change", "z": "4c7438ae.bcfe38", "name": "22 °C", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "SaSo-Periode1", "tot": "str" }, { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 340, "wires": [ [] ] }, { "id": "87830eea.d7c75", "type": "switch", "z": "4c7438ae.bcfe38", "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": [ [ "ea94e8f5.b33ed8" ], [ "fd71c298.e38d" ] ] }, { "id": "957e2c3a.ab6f6", "type": "change", "z": "4c7438ae.bcfe38", "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": 1070, "y": 380, "wires": [ [] ] }, { "id": "92e95f00.95ffb", "type": "change", "z": "4c7438ae.bcfe38", "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": "130aec2a.282f04", "type": "change", "z": "4c7438ae.bcfe38", "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": "13a2b125.6ee33f", "type": "change", "z": "4c7438ae.bcfe38", "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": 1070, "y": 300, "wires": [ [] ] }, { "id": "11d5c223.e9692e", "type": "change", "z": "4c7438ae.bcfe38", "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": "82638b0c.eb3498", "type": "subflow", "name": "MAX Auto Bad", "info": "# MAX Wochenprofil erstellen", "category": "MAX Auto Profil", "in": [ { "x": 40, "y": 260, "wires": [ { "id": "39d58864.e30568" } ] } ], "out": [ { "x": 1240, "y": 260, "wires": [ { "id": "d23bc85e.43b228", "port": 0 }, { "id": "b9148fcf.db6b7", "port": 0 }, { "id": "3859cbf8.efeb64", "port": 0 }, { "id": "3687dedb.049902", "port": 0 }, { "id": "a1ea0b5e.c64828", "port": 0 }, { "id": "ce13d754.54b508", "port": 0 }, { "id": "7a662555.d7e99c", "port": 0 }, { "id": "b8f81c14.7e00e", "port": 0 }, { "id": "22fce80d.d8032", "port": 0 } ] } ], "env": [], "meta": {}, "color": "#FFAAAA", "outputLabels": [ "AUTO Temperatur" ], "icon": "font-awesome/fa-thermometer-2" }, { "id": "54394067.3d759", "type": "switch", "z": "82638b0c.eb3498", "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": [ [ "d23bc85e.43b228" ], [ "b9148fcf.db6b7" ], [ "3859cbf8.efeb64" ], [ "3687dedb.049902" ], [ "a1ea0b5e.c64828" ] ] }, { "id": "39d58864.e30568", "type": "change", "z": "82638b0c.eb3498", "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": [ [ "223e7dcb.393e22" ] ] }, { "id": "b9148fcf.db6b7", "type": "change", "z": "82638b0c.eb3498", "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": "3859cbf8.efeb64", "type": "change", "z": "82638b0c.eb3498", "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": "3687dedb.049902", "type": "change", "z": "82638b0c.eb3498", "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": "a1ea0b5e.c64828", "type": "change", "z": "82638b0c.eb3498", "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": "e4cd333c.7cb3c", "type": "switch", "z": "82638b0c.eb3498", "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": [ [ "ce13d754.54b508" ], [ "7a662555.d7e99c" ], [ "b8f81c14.7e00e" ], [ "f6138415.06d2f8" ], [ "22fce80d.d8032" ] ] }, { "id": "7a662555.d7e99c", "type": "change", "z": "82638b0c.eb3498", "name": "22 °C", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "SaSo-Periode1", "tot": "str" }, { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 340, "wires": [ [] ] }, { "id": "223e7dcb.393e22", "type": "switch", "z": "82638b0c.eb3498", "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": [ [ "54394067.3d759" ], [ "e4cd333c.7cb3c" ] ] }, { "id": "b8f81c14.7e00e", "type": "change", "z": "82638b0c.eb3498", "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": 1070, "y": 380, "wires": [ [] ] }, { "id": "f6138415.06d2f8", "type": "change", "z": "82638b0c.eb3498", "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": "22fce80d.d8032", "type": "change", "z": "82638b0c.eb3498", "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": "ce13d754.54b508", "type": "change", "z": "82638b0c.eb3498", "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": 1070, "y": 300, "wires": [ [] ] }, { "id": "d23bc85e.43b228", "type": "change", "z": "82638b0c.eb3498", "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": "ab72ca6c.56b658", "type": "ioBroker in", "z": "6f3801b9.ba4b6", "name": "absenceAll", "topic": "0_userdata.0.testType", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "true", "x": 730, "y": 940, "wires": [ [ "7fb84e52.ded01" ] ] }, { "id": "7fb84e52.ded01", "type": "switch", "z": "6f3801b9.ba4b6", "name": "alle weg?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "true" }, { "t": "false" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 900, "y": 940, "wires": [ [ "ccc4a8e2.b3d208" ], [ "d9b6f8e1.43a028", "cb6c610c.b148b" ] ] }, { "id": "ccc4a8e2.b3d208", "type": "change", "z": "6f3801b9.ba4b6", "name": "setze Temperatur auf 4.5 Grad", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1160, "y": 880, "wires": [ [ "42b431b2.7dc6b", "bbdabb1a.476468" ] ] }, { "id": "42b431b2.7dc6b", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze setpoint Bad", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1470, "y": 820, "wires": [] }, { "id": "bbdabb1a.476468", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze setpoint Schlafzimmer", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1500, "y": 860, "wires": [] }, { "id": "d9b6f8e1.43a028", "type": "subflow:82638b0c.eb3498", "z": "6f3801b9.ba4b6", "name": "", "x": 1200, "y": 960, "wires": [ [ "42b431b2.7dc6b", "88838135.299f8" ] ] }, { "id": "cb6c610c.b148b", "type": "subflow:4c7438ae.bcfe38", "z": "6f3801b9.ba4b6", "name": "", "x": 1170, "y": 1000, "wires": [ [ "bbdabb1a.476468", "88838135.299f8" ] ] }, { "id": "88838135.299f8", "type": "delay", "z": "6f3801b9.ba4b6", "name": "", "pauseType": "delay", "timeout": "1", "timeoutUnits": "minutes", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 1460, "y": 980, "wires": [ [ "ca582e80.a5362" ] ] }, { "id": "ca582e80.a5362", "type": "change", "z": "6f3801b9.ba4b6", "name": "setze AUTO(0)", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "0", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1660, "y": 980, "wires": [ [ "37a8e748.b93b78", "db3c124d.be0ee" ] ] }, { "id": "37a8e748.b93b78", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze mode Bad", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1880, "y": 960, "wires": [] }, { "id": "db3c124d.be0ee", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze mode Schlafzimmer", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1910, "y": 1000, "wires": [] } ]Jetzt muss man halt noch in die iobroker in und out Nodes - die entsprechenden Datenpunkte setzen-
Und das ankommen?
Es gibt ein present_count als Zahl. Einer da=1 Zwei da=2 -
@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 Die Anwesenheitserkennung kannst ja im Blockly belassen - die Steuerung ändern wir nach NodeRED.

Wenn ich das Blockly richtig verstehe hast Du ja ein Datenpunkt der über ein Blockly gesetzt wird und der heißt absenceAll und ist true, wenn alle gegangen sind und false wenn einer da ist.
Nee false ist, wenn alle beide da sind.
Und der ist falsch. Es gbt aber in diesem Fritzbox adapter auch einen, der die Anzahl der Personen zählt.So der Flow ist schon fertig - das ist alles pipi.

Und jetzt solltest Du den Vorteil der Subflows (Templates) sehen:

[ { "id": "4c7438ae.bcfe38", "type": "subflow", "name": "MAX Auto Schlafzimmer", "info": "# MAX Wochenprofil erstellen", "category": "MAX Auto Profil", "in": [ { "x": 40, "y": 260, "wires": [ { "id": "51b555c8.ab71cc" } ] } ], "out": [ { "x": 1240, "y": 260, "wires": [ { "id": "11d5c223.e9692e", "port": 0 }, { "id": "5b3e5dc0.e43c84", "port": 0 }, { "id": "9c7d7d2e.50637", "port": 0 }, { "id": "4a57bb1a.df9924", "port": 0 }, { "id": "fb565e5a.fe907", "port": 0 }, { "id": "13a2b125.6ee33f", "port": 0 }, { "id": "fdd1014.e542e", "port": 0 }, { "id": "957e2c3a.ab6f6", "port": 0 }, { "id": "130aec2a.282f04", "port": 0 } ] } ], "env": [], "meta": {}, "color": "#FFAAAA", "outputLabels": [ "AUTO Temperatur" ], "icon": "font-awesome/fa-thermometer-2" }, { "id": "ea94e8f5.b33ed8", "type": "switch", "z": "4c7438ae.bcfe38", "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": [ [ "11d5c223.e9692e" ], [ "5b3e5dc0.e43c84" ], [ "9c7d7d2e.50637" ], [ "4a57bb1a.df9924" ], [ "fb565e5a.fe907" ] ] }, { "id": "51b555c8.ab71cc", "type": "change", "z": "4c7438ae.bcfe38", "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": [ [ "87830eea.d7c75" ] ] }, { "id": "5b3e5dc0.e43c84", "type": "change", "z": "4c7438ae.bcfe38", "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": "9c7d7d2e.50637", "type": "change", "z": "4c7438ae.bcfe38", "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": "4a57bb1a.df9924", "type": "change", "z": "4c7438ae.bcfe38", "name": "19 °C", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "19", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 200, "wires": [ [] ] }, { "id": "fb565e5a.fe907", "type": "change", "z": "4c7438ae.bcfe38", "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": "fd71c298.e38d", "type": "switch", "z": "4c7438ae.bcfe38", "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": [ [ "13a2b125.6ee33f" ], [ "fdd1014.e542e" ], [ "957e2c3a.ab6f6" ], [ "92e95f00.95ffb" ], [ "130aec2a.282f04" ] ] }, { "id": "fdd1014.e542e", "type": "change", "z": "4c7438ae.bcfe38", "name": "22 °C", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "SaSo-Periode1", "tot": "str" }, { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 340, "wires": [ [] ] }, { "id": "87830eea.d7c75", "type": "switch", "z": "4c7438ae.bcfe38", "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": [ [ "ea94e8f5.b33ed8" ], [ "fd71c298.e38d" ] ] }, { "id": "957e2c3a.ab6f6", "type": "change", "z": "4c7438ae.bcfe38", "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": 1070, "y": 380, "wires": [ [] ] }, { "id": "92e95f00.95ffb", "type": "change", "z": "4c7438ae.bcfe38", "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": "130aec2a.282f04", "type": "change", "z": "4c7438ae.bcfe38", "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": "13a2b125.6ee33f", "type": "change", "z": "4c7438ae.bcfe38", "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": 1070, "y": 300, "wires": [ [] ] }, { "id": "11d5c223.e9692e", "type": "change", "z": "4c7438ae.bcfe38", "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": "82638b0c.eb3498", "type": "subflow", "name": "MAX Auto Bad", "info": "# MAX Wochenprofil erstellen", "category": "MAX Auto Profil", "in": [ { "x": 40, "y": 260, "wires": [ { "id": "39d58864.e30568" } ] } ], "out": [ { "x": 1240, "y": 260, "wires": [ { "id": "d23bc85e.43b228", "port": 0 }, { "id": "b9148fcf.db6b7", "port": 0 }, { "id": "3859cbf8.efeb64", "port": 0 }, { "id": "3687dedb.049902", "port": 0 }, { "id": "a1ea0b5e.c64828", "port": 0 }, { "id": "ce13d754.54b508", "port": 0 }, { "id": "7a662555.d7e99c", "port": 0 }, { "id": "b8f81c14.7e00e", "port": 0 }, { "id": "22fce80d.d8032", "port": 0 } ] } ], "env": [], "meta": {}, "color": "#FFAAAA", "outputLabels": [ "AUTO Temperatur" ], "icon": "font-awesome/fa-thermometer-2" }, { "id": "54394067.3d759", "type": "switch", "z": "82638b0c.eb3498", "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": [ [ "d23bc85e.43b228" ], [ "b9148fcf.db6b7" ], [ "3859cbf8.efeb64" ], [ "3687dedb.049902" ], [ "a1ea0b5e.c64828" ] ] }, { "id": "39d58864.e30568", "type": "change", "z": "82638b0c.eb3498", "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": [ [ "223e7dcb.393e22" ] ] }, { "id": "b9148fcf.db6b7", "type": "change", "z": "82638b0c.eb3498", "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": "3859cbf8.efeb64", "type": "change", "z": "82638b0c.eb3498", "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": "3687dedb.049902", "type": "change", "z": "82638b0c.eb3498", "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": "a1ea0b5e.c64828", "type": "change", "z": "82638b0c.eb3498", "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": "e4cd333c.7cb3c", "type": "switch", "z": "82638b0c.eb3498", "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": [ [ "ce13d754.54b508" ], [ "7a662555.d7e99c" ], [ "b8f81c14.7e00e" ], [ "f6138415.06d2f8" ], [ "22fce80d.d8032" ] ] }, { "id": "7a662555.d7e99c", "type": "change", "z": "82638b0c.eb3498", "name": "22 °C", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "SaSo-Periode1", "tot": "str" }, { "t": "set", "p": "payload", "pt": "msg", "to": "22", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1070, "y": 340, "wires": [ [] ] }, { "id": "223e7dcb.393e22", "type": "switch", "z": "82638b0c.eb3498", "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": [ [ "54394067.3d759" ], [ "e4cd333c.7cb3c" ] ] }, { "id": "b8f81c14.7e00e", "type": "change", "z": "82638b0c.eb3498", "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": 1070, "y": 380, "wires": [ [] ] }, { "id": "f6138415.06d2f8", "type": "change", "z": "82638b0c.eb3498", "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": "22fce80d.d8032", "type": "change", "z": "82638b0c.eb3498", "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": "ce13d754.54b508", "type": "change", "z": "82638b0c.eb3498", "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": 1070, "y": 300, "wires": [ [] ] }, { "id": "d23bc85e.43b228", "type": "change", "z": "82638b0c.eb3498", "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": "ab72ca6c.56b658", "type": "ioBroker in", "z": "6f3801b9.ba4b6", "name": "absenceAll", "topic": "0_userdata.0.testType", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "true", "x": 730, "y": 940, "wires": [ [ "7fb84e52.ded01" ] ] }, { "id": "7fb84e52.ded01", "type": "switch", "z": "6f3801b9.ba4b6", "name": "alle weg?", "property": "payload", "propertyType": "msg", "rules": [ { "t": "true" }, { "t": "false" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 900, "y": 940, "wires": [ [ "ccc4a8e2.b3d208" ], [ "d9b6f8e1.43a028", "cb6c610c.b148b" ] ] }, { "id": "ccc4a8e2.b3d208", "type": "change", "z": "6f3801b9.ba4b6", "name": "setze Temperatur auf 4.5 Grad", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "4.5", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1160, "y": 880, "wires": [ [ "42b431b2.7dc6b", "bbdabb1a.476468" ] ] }, { "id": "42b431b2.7dc6b", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze setpoint Bad", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1470, "y": 820, "wires": [] }, { "id": "bbdabb1a.476468", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze setpoint Schlafzimmer", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1500, "y": 860, "wires": [] }, { "id": "d9b6f8e1.43a028", "type": "subflow:82638b0c.eb3498", "z": "6f3801b9.ba4b6", "name": "", "x": 1200, "y": 960, "wires": [ [ "42b431b2.7dc6b", "88838135.299f8" ] ] }, { "id": "cb6c610c.b148b", "type": "subflow:4c7438ae.bcfe38", "z": "6f3801b9.ba4b6", "name": "", "x": 1170, "y": 1000, "wires": [ [ "bbdabb1a.476468", "88838135.299f8" ] ] }, { "id": "88838135.299f8", "type": "delay", "z": "6f3801b9.ba4b6", "name": "", "pauseType": "delay", "timeout": "1", "timeoutUnits": "minutes", "rate": "1", "nbRateUnits": "1", "rateUnits": "second", "randomFirst": "1", "randomLast": "5", "randomUnits": "seconds", "drop": false, "x": 1460, "y": 980, "wires": [ [ "ca582e80.a5362" ] ] }, { "id": "ca582e80.a5362", "type": "change", "z": "6f3801b9.ba4b6", "name": "setze AUTO(0)", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "0", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1660, "y": 980, "wires": [ [ "37a8e748.b93b78", "db3c124d.be0ee" ] ] }, { "id": "37a8e748.b93b78", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze mode Bad", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1880, "y": 960, "wires": [] }, { "id": "db3c124d.be0ee", "type": "ioBroker out", "z": "6f3801b9.ba4b6", "name": "setze mode Schlafzimmer", "topic": "0_userdata.0.testType", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1910, "y": 1000, "wires": [] } ]Jetzt muss man halt noch in die iobroker in und out Nodes - die entsprechenden Datenpunkte setzen-
Und das ankommen?
Es gibt ein present_count als Zahl. Einer da=1 Zwei da=2@marko1974 Ist doch wie in Deinem Blockly.
In dem Switch alle weg= wird dich geprüft ob der absenceAll Node true oder false ist. Wenn also false dann wird der untere Flow abgearbeitet auf AUTO Temperatur gesetzt und nach einer Minute der Modus auf AUTO
Wo zu ist es wichtig wieviele da sind. Ich dachte die absenceALL Node wird false, sobald EINER da ist.
Du kannst natürlich auch den present_count als Input nehmen.
Dann musst halt im oberen Ausgang auf 0 und im unteren auf größer 0 prüfen. Mir ist das egal.
Dann aber schauen, dass Du mit Zahlen vergleichst:

Inzwischen solltest Du die Basics verstehen

Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.
-
@marko1974 Ist doch wie in Deinem Blockly.
In dem Switch alle weg= wird dich geprüft ob der absenceAll Node true oder false ist. Wenn also false dann wird der untere Flow abgearbeitet auf AUTO Temperatur gesetzt und nach einer Minute der Modus auf AUTO
Wo zu ist es wichtig wieviele da sind. Ich dachte die absenceALL Node wird false, sobald EINER da ist.
Du kannst natürlich auch den present_count als Input nehmen.
Dann musst halt im oberen Ausgang auf 0 und im unteren auf größer 0 prüfen. Mir ist das egal.
Dann aber schauen, dass Du mit Zahlen vergleichst:

Inzwischen solltest Du die Basics verstehen

-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym xxx
Hat doch perfekt ausgesehen.
Ok - hast halt noch die fehlenden Verkabelungen nachgereicht.Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.
-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym xxx
Hat doch perfekt ausgesehen.
Ok - hast halt noch die fehlenden Verkabelungen nachgereicht.@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym xxx
Hat doch perfekt ausgesehen.

Nein...hatte was vergessen
-
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym xxx
Hat doch perfekt ausgesehen.
Ok - hast halt noch die fehlenden Verkabelungen nachgereicht.@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym xxx
Ok - hast halt noch die fehlenden Verkabelungen nachgereicht.
DAS SOLLTEST DU GAAAAR NICHT SEHEN.
Es war nur 1 sekunde online
-
@mickym said in MAX! Cube Blockly Abwesenheit:
@marko1974 sagte in MAX! Cube Blockly Abwesenheit:
@mickym xxx
Hat doch perfekt ausgesehen.

Nein...hatte was vergessen
@marko1974 Wie gesagt - Du hast ja nun das Basisprinzip von NodeRed verstanden und wenn Du present_count lieber nehmen willst - kannst ja die Switch Node ändern.
Und wenn Dir NodeRed nicht mehr gefällt, dann solltest Du aber nun die Logik verstehen und dann kannst Du es ja selbst wieder in Blockly umsetzen.
Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.
-
@marko1974 Wie gesagt - Du hast ja nun das Basisprinzip von NodeRed verstanden und wenn Du present_count lieber nehmen willst - kannst ja die Switch Node ändern.
Und wenn Dir NodeRed nicht mehr gefällt, dann solltest Du aber nun die Logik verstehen und dann kannst Du es ja selbst wieder in Blockly umsetzen.
@mickym Mir gefiel node-red schon immer. Hatte frueher die max thermostate NUR in Node red. Nur ohne ioBroker. Probiert habe ich schon alles.
Hmmm...ob absence all false wird wenn einer da ist weiss ich nicht. Müsste eigentlich, der Logik nach.
Boar...ich muss ins Bett. Gleich arbeiten. Ich verabschiede mich, sage nochmal 1000 Dank und melde mich morgen.
-
@mickym Mir gefiel node-red schon immer. Hatte frueher die max thermostate NUR in Node red. Nur ohne ioBroker. Probiert habe ich schon alles.
Hmmm...ob absence all false wird wenn einer da ist weiss ich nicht. Müsste eigentlich, der Logik nach.
Boar...ich muss ins Bett. Gleich arbeiten. Ich verabschiede mich, sage nochmal 1000 Dank und melde mich morgen.
@marko1974 Dann schlaf gut.

Jeder Flow bzw. jedes Script, das ich hier poste implementiert jeder auf eigene Gefahr. Flows und Scripts können Fehler aufweisen und weder der Seitenbetreiber noch ich persönlich können hierfür haftbar gemacht werden. Das gleiche gilt für Empfehlungen aller Art.

