Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. MAX! Cube Blockly Abwesenheit

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    21
    1
    821

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

MAX! Cube Blockly Abwesenheit

Scheduled Pinned Locked Moved Blockly
867 Posts 4 Posters 194.4k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Marko1974M Marko1974

    @marko1974 said in MAX! Cube Blockly Abwesenheit:

    @mickym said in MAX! Cube Blockly Abwesenheit:

    @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

    @mickym boar wer ist denn join schon wieder :anguished:

    Die ist gleich unter der split Node

    45d4675b-6845-4562-9f5c-815311afdf09-image.png

    na wo ich den finde weiss ich....aber da komm ich doch nicht drauf...so rein gedanklich

    so und in dem Template kann man jetzt vermutlich einen klasse Text kreieren

    mickymM Online
    mickymM Online
    mickym
    Most Active
    wrote on last edited by mickym
    #707

    @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

    @marko1974 said in MAX! Cube Blockly Abwesenheit:

    @mickym said in MAX! Cube Blockly Abwesenheit:

    @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

    @mickym boar wer ist denn join schon wieder :anguished:

    Die ist gleich unter der split Node

    45d4675b-6845-4562-9f5c-815311afdf09-image.png

    na wo ich den finde weiss ich....aber da komm ich doch nicht drauf...so rein gedanklich

    so und in dem Template kann man jetzt vermutlich einen klasse Text kreieren

    Genau :)

    a3dbb709-4b87-485c-a8d9-3447a94091b5-image.png

    und um Dir das Tippen zu ersparen haben kannst Du es hier rauskopieren:

    Hier die gesammelt Daten der eingestellten Werte der MAX-Thermostate:
    
    Die Heizung im Kinderzimmer steht das Thermostat auf {{payload.Kinderzimmer_setpoint}} °C, 
    im Schlafzimmer steht das Thermostat auf {{payload.Schlafzimmer_setpoint}} °C,
    im Wohnzimmer steht das Thermostat auf {{payload.Wohnzimmer_setpoint}} °C,
    im Flur steht das Thermostat auf {{payload.Flur_setpoint}} °C,
    im Küche steht das Thermostat auf {{payload.Küche_setpoint}} °C,
    und letztlich im Badezimmer steht das Thermostat auf {{payload.Badezimmer_setpoint}} °C.
    
    Wenn Sie weitere Informationen benötigen, wenden Sie sich bitte an Ihren Administrator!
    

    Also wieder eine neue Node lernen:

    a9b5baa7-a684-4d30-bedb-0bba6fc54bb0-image.png

    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.

    Marko1974M 1 Reply Last reply
    0
    • Marko1974M Marko1974

      @mickym boar wer ist denn join schon wieder :anguished:

      mickymM Online
      mickymM Online
      mickym
      Most Active
      wrote on last edited by
      #708

      @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

      @mickym boar wer ist denn join schon wieder :anguished:

      Und split und join Node - hättest DU verstanden - wenn Du halt einfach meinen Übungsflow importiert hättest, den ich extra heute für Dich gemacht hatte.

      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.

      1 Reply Last reply
      0
      • mickymM mickym

        @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

        @marko1974 said in MAX! Cube Blockly Abwesenheit:

        @mickym said in MAX! Cube Blockly Abwesenheit:

        @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

        @mickym boar wer ist denn join schon wieder :anguished:

        Die ist gleich unter der split Node

        45d4675b-6845-4562-9f5c-815311afdf09-image.png

        na wo ich den finde weiss ich....aber da komm ich doch nicht drauf...so rein gedanklich

        so und in dem Template kann man jetzt vermutlich einen klasse Text kreieren

        Genau :)

        a3dbb709-4b87-485c-a8d9-3447a94091b5-image.png

        und um Dir das Tippen zu ersparen haben kannst Du es hier rauskopieren:

        Hier die gesammelt Daten der eingestellten Werte der MAX-Thermostate:
        
        Die Heizung im Kinderzimmer steht das Thermostat auf {{payload.Kinderzimmer_setpoint}} °C, 
        im Schlafzimmer steht das Thermostat auf {{payload.Schlafzimmer_setpoint}} °C,
        im Wohnzimmer steht das Thermostat auf {{payload.Wohnzimmer_setpoint}} °C,
        im Flur steht das Thermostat auf {{payload.Flur_setpoint}} °C,
        im Küche steht das Thermostat auf {{payload.Küche_setpoint}} °C,
        und letztlich im Badezimmer steht das Thermostat auf {{payload.Badezimmer_setpoint}} °C.
        
        Wenn Sie weitere Informationen benötigen, wenden Sie sich bitte an Ihren Administrator!
        

        Also wieder eine neue Node lernen:

        a9b5baa7-a684-4d30-bedb-0bba6fc54bb0-image.png

        Marko1974M Offline
        Marko1974M Offline
        Marko1974
        wrote on last edited by
        #709

        @mickym nee template ist einfach

        ich brauche noch sowas.....aber nur wenns keine Stunden dauert.

        Man muss quasi sagen: fb presenceALL true = abwesend und fb presence ALL false= anwesend

        Eigentlich braucht man da nur nen Datenpunkt den er sich zieht.

        Die Heizung im Kinderzimmer steht auf {{payload.Kinderzimmer_setpoint}} °C, 
        
        im Schlafzimmer steht das Thermostat auf {{payload.Schlafzimmer_setpoint}} °C,
        
        im Wohnzimmer steht das Thermostat auf {{payload.Wohnzimmer_setpoint}} °C,
        
        im Flur steht das Thermostat auf {{payload.Flur_setpoint}} °C,
        
        im Küche steht das Thermostat auf {{payload.Küche_setpoint}} °C,
        
        im Badezimmer steht das Thermostat auf {{payload.Badezimmer_setpoint}} °C.
        
        Sie sind im moment {{abwesend}} 
        
        mickymM 1 Reply Last reply
        0
        • Marko1974M Marko1974

          @mickym nee template ist einfach

          ich brauche noch sowas.....aber nur wenns keine Stunden dauert.

          Man muss quasi sagen: fb presenceALL true = abwesend und fb presence ALL false= anwesend

          Eigentlich braucht man da nur nen Datenpunkt den er sich zieht.

          Die Heizung im Kinderzimmer steht auf {{payload.Kinderzimmer_setpoint}} °C, 
          
          im Schlafzimmer steht das Thermostat auf {{payload.Schlafzimmer_setpoint}} °C,
          
          im Wohnzimmer steht das Thermostat auf {{payload.Wohnzimmer_setpoint}} °C,
          
          im Flur steht das Thermostat auf {{payload.Flur_setpoint}} °C,
          
          im Küche steht das Thermostat auf {{payload.Küche_setpoint}} °C,
          
          im Badezimmer steht das Thermostat auf {{payload.Badezimmer_setpoint}} °C.
          
          Sie sind im moment {{abwesend}} 
          
          mickymM Online
          mickymM Online
          mickym
          Most Active
          wrote on last edited by
          #710

          @marko1974 OK - aber ich dachte Du willst also diese Nachricht sowohl bei wechsel zur Anwesenheit als auch bei Abwesenheit? - dachte DU wolltest das nur bei Abwesenheit.

          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.

          Marko1974M 1 Reply Last reply
          0
          • mickymM mickym

            @marko1974 OK - aber ich dachte Du willst also diese Nachricht sowohl bei wechsel zur Anwesenheit als auch bei Abwesenheit? - dachte DU wolltest das nur bei Abwesenheit.

            Marko1974M Offline
            Marko1974M Offline
            Marko1974
            wrote on last edited by
            #711

            @mickym said in MAX! Cube Blockly Abwesenheit:

            @marko1974 OK - aber ich dachte Du willst also diese Nachricht sowohl bei wechsel zur Anwesenheit als auch bei Abwesenheit? - dachte DU wolltest das nur bei Abwesenheit.

            Stimmt...da kann da auch einfach Abwesend stehen....haste recht

            mickymM 1 Reply Last reply
            0
            • Marko1974M Marko1974

              @mickym said in MAX! Cube Blockly Abwesenheit:

              @marko1974 OK - aber ich dachte Du willst also diese Nachricht sowohl bei wechsel zur Anwesenheit als auch bei Abwesenheit? - dachte DU wolltest das nur bei Abwesenheit.

              Stimmt...da kann da auch einfach Abwesend stehen....haste recht

              mickymM Online
              mickymM Online
              mickym
              Most Active
              wrote on last edited by mickym
              #712

              @marko1974 Noch können wir es aber bei Wechsel zu Anwesend und zu Abwesend machen? - Wie Du willst? Wenn wir es nur für Abwesend machen wollen müssen wir noch was am Hauptflow ändern.

              Am Einfachsten ist Du kopierst einfach die split Node und hängst die Telegramm Ausgabe nur an den oberen Split Node.

              881abfc2-81a1-454a-8eb1-25b1b355dfd0-image.png

              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.

              Marko1974M 2 Replies Last reply
              0
              • mickymM mickym

                @marko1974 Noch können wir es aber bei Wechsel zu Anwesend und zu Abwesend machen? - Wie Du willst? Wenn wir es nur für Abwesend machen wollen müssen wir noch was am Hauptflow ändern.

                Am Einfachsten ist Du kopierst einfach die split Node und hängst die Telegramm Ausgabe nur an den oberen Split Node.

                881abfc2-81a1-454a-8eb1-25b1b355dfd0-image.png

                Marko1974M Offline
                Marko1974M Offline
                Marko1974
                wrote on last edited by
                #713

                @mickym said in MAX! Cube Blockly Abwesenheit:

                @marko1974 Noch können wir es aber bei Wechsel zu Anwesend und zu Abwesend machen? - Wie Du willst? Wenn wir es nur für Abwesend machen wollen müssen wir noch was am Hauptflow ändern.

                nee dann für beides geht am Ende vom template auch noch n anderer payload? also von woanders her. falls man sagen will dass jetzt alles auf eco ist? Aber den gesamtstatus ECO haben wir glaube ich auch nirgends.

                1 Reply Last reply
                0
                • mickymM mickym

                  @marko1974 Noch können wir es aber bei Wechsel zu Anwesend und zu Abwesend machen? - Wie Du willst? Wenn wir es nur für Abwesend machen wollen müssen wir noch was am Hauptflow ändern.

                  Am Einfachsten ist Du kopierst einfach die split Node und hängst die Telegramm Ausgabe nur an den oberen Split Node.

                  881abfc2-81a1-454a-8eb1-25b1b355dfd0-image.png

                  Marko1974M Offline
                  Marko1974M Offline
                  Marko1974
                  wrote on last edited by
                  #714

                  @mickym said in MAX! Cube Blockly Abwesenheit:

                  @marko1974 Noch können wir es aber bei Wechsel zu Anwesend und zu Abwesend machen? - Wie Du willst? Wenn wir es nur für Abwesend machen wollen müssen wir noch was am Hauptflow ändern.

                  Am Einfachsten ist Du kopierst einfach die split Node und hängst die Telegramm Ausgabe nur an den oberen Split Node.

                  881abfc2-81a1-454a-8eb1-25b1b355dfd0-image.png

                  dann sendet er aber 2 mal und es macht auch 2x klingeling

                  mickymM 1 Reply Last reply
                  0
                  • Marko1974M Marko1974

                    @mickym boar wer ist denn join schon wieder :anguished:

                    mickymM Online
                    mickymM Online
                    mickym
                    Most Active
                    wrote on last edited by
                    #715

                    @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                    @mickym boar wer ist denn join schon wieder :anguished:

                    Bissi enttäuscht bin ich aber auch, wenn Du Dir wenigstens den Übrungsflow, den ich Dir heute nachmittag extra gemacht habe angeschaut hättest - dann wärest Du mit dem Verständnis weiter:

                    https://forum.iobroker.net/topic/49231/max-cube-blockly-abwesenheit/77?_=1637093504763

                    936e1cbc-bbee-427e-a25e-ed9fe161b8c3-image.png

                    Da hatte ich wunderschöne Flows zur Demonstration für Dich gemacht:

                    [
                      {
                          "id": "c8872a87.997ae8",
                          "type": "inject",
                          "z": "f51578d8.868868",
                          "name": "All OFF -JS Objekt(JSON)",
                          "props": [
                              {
                                  "p": "payload"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "{\"Kinderzimmer\":{\"mode\":\"OFF\"},\"Schlafzimmer\":{\"mode\":\"OFF\"},\"Wohnzimmer\":{\"mode\":\"OFF\"},\"Flur\":{\"mode\":\"OFF\"},\"Küche\":{\"mode\":\"OFF\"},\"Badezimmer\":{\"mode\":\"OFF\"}}",
                          "payloadType": "json",
                          "x": 990,
                          "y": 780,
                          "wires": [
                              [
                                  "f3062735.80d058",
                                  "125e1468.8fbd0c",
                                  "4d20e55f.3e7b0c"
                              ]
                          ]
                      },
                      {
                          "id": "3c719b28.ea0e14",
                          "type": "inject",
                          "z": "f51578d8.868868",
                          "name": "Array",
                          "props": [
                              {
                                  "p": "payload"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                          "payloadType": "json",
                          "x": 1050,
                          "y": 860,
                          "wires": [
                              [
                                  "f3062735.80d058",
                                  "125e1468.8fbd0c",
                                  "4d20e55f.3e7b0c"
                              ]
                          ]
                      },
                      {
                          "id": "f7725813.8a2f28",
                          "type": "inject",
                          "z": "f51578d8.868868",
                          "name": "JS Objekt (JSON)",
                          "props": [
                              {
                                  "p": "heizung",
                                  "v": "{\"name\":\"Schlafzimmerthermo xyz\",\"mode\":\"AUTO\",\"setpointtemperature\":20}",
                                  "vt": "json"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payloadType": "str",
                          "x": 1010,
                          "y": 720,
                          "wires": [
                              [
                                  "f3062735.80d058",
                                  "125e1468.8fbd0c",
                                  "4d20e55f.3e7b0c"
                              ]
                          ]
                      },
                      {
                          "id": "f3062735.80d058",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Originaler Input",
                          "active": false,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "true",
                          "targetType": "full",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1260,
                          "y": 760,
                          "wires": []
                      },
                      {
                          "id": "b9decd2d.f55e",
                          "type": "inject",
                          "z": "f51578d8.868868",
                          "name": "string - also Text",
                          "props": [
                              {
                                  "p": "payload"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "Die Heizung im Kinderzimmer ist auf 17°C eingestellt - Die Heizung im Wohnzimmer ist auf 22°C eingestellt - Die Heizung im Schlafzimmer ist auf 17°C eingestellt - Im Flur wir nie geheizt - In der Küche ist es immer warm",
                          "payloadType": "str",
                          "x": 1020,
                          "y": 920,
                          "wires": [
                              [
                                  "f3062735.80d058",
                                  "125e1468.8fbd0c",
                                  "4d20e55f.3e7b0c"
                              ]
                          ]
                      },
                      {
                          "id": "7d86d57b.46709c",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Aufgeteilter Input ",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "true",
                          "targetType": "full",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1450,
                          "y": 940,
                          "wires": []
                      },
                      {
                          "id": "125e1468.8fbd0c",
                          "type": "split",
                          "z": "f51578d8.868868",
                          "name": "",
                          "splt": "- ",
                          "spltType": "str",
                          "arraySplt": 1,
                          "arraySpltType": "len",
                          "stream": false,
                          "addname": "",
                          "x": 1240,
                          "y": 1020,
                          "wires": [
                              [
                                  "7d86d57b.46709c",
                                  "44a7b809.4203c8",
                                  "32b92a90.0878d6"
                              ]
                          ]
                      },
                      {
                          "id": "44a7b809.4203c8",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Aufgeteilter Input ",
                          "active": false,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1450,
                          "y": 980,
                          "wires": []
                      },
                      {
                          "id": "4d20e55f.3e7b0c",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Originaler Input",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1260,
                          "y": 800,
                          "wires": []
                      },
                      {
                          "id": "32b92a90.0878d6",
                          "type": "join",
                          "z": "f51578d8.868868",
                          "name": "",
                          "mode": "auto",
                          "build": "string",
                          "property": "payload",
                          "propertyType": "msg",
                          "key": "topic",
                          "joiner": "\\n",
                          "joinerType": "str",
                          "accumulate": "false",
                          "timeout": "",
                          "count": "",
                          "reduceRight": false,
                          "x": 1410,
                          "y": 1060,
                          "wires": [
                              [
                                  "353ca7c0.fc6f78",
                                  "a394b548.7ee2d8"
                              ]
                          ]
                      },
                      {
                          "id": "353ca7c0.fc6f78",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Wieder zusammengesetzer Input ",
                          "active": false,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "true",
                          "targetType": "full",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1660,
                          "y": 1060,
                          "wires": []
                      },
                      {
                          "id": "a394b548.7ee2d8",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Wieder zusammengesetzer Input ",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1660,
                          "y": 1100,
                          "wires": []
                      },
                      {
                          "id": "42a3c2d7.6305ac",
                          "type": "inject",
                          "z": "f51578d8.868868",
                          "name": "Array",
                          "props": [
                              {
                                  "p": "payload"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                          "payloadType": "json",
                          "x": 1030,
                          "y": 1240,
                          "wires": [
                              [
                                  "135a2676.aa76fa"
                              ]
                          ]
                      },
                      {
                          "id": "135a2676.aa76fa",
                          "type": "split",
                          "z": "f51578d8.868868",
                          "name": "",
                          "splt": "- ",
                          "spltType": "str",
                          "arraySplt": 1,
                          "arraySpltType": "len",
                          "stream": false,
                          "addname": "",
                          "x": 1170,
                          "y": 1240,
                          "wires": [
                              [
                                  "855a4de2.cdf7a",
                                  "686ea273.c66dac"
                              ]
                          ]
                      },
                      {
                          "id": "686ea273.c66dac",
                          "type": "join",
                          "z": "f51578d8.868868",
                          "name": "",
                          "mode": "reduce",
                          "build": "string",
                          "property": "payload",
                          "propertyType": "msg",
                          "key": "topic",
                          "joiner": "\\n",
                          "joinerType": "str",
                          "accumulate": false,
                          "timeout": "",
                          "count": "",
                          "reduceRight": false,
                          "reduceExp": "$A & payload & \" - \"",
                          "reduceInit": "",
                          "reduceInitType": "str",
                          "reduceFixup": "$substring($A,0,$length($A)-3)\t",
                          "x": 1470,
                          "y": 1240,
                          "wires": [
                              [
                                  "18140ac7.295275"
                              ]
                          ]
                      },
                      {
                          "id": "18140ac7.295275",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Wieder zusammengesetzer Input ",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1700,
                          "y": 1240,
                          "wires": []
                      },
                      {
                          "id": "855a4de2.cdf7a",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Aufgeteilter Input ",
                          "active": false,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1350,
                          "y": 1180,
                          "wires": []
                      },
                      {
                          "id": "f4ba6b18.c94338",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "false",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 830,
                          "y": 1040,
                          "wires": []
                      },
                      {
                          "id": "aeeb109c.d84fe",
                          "type": "inject",
                          "z": "f51578d8.868868",
                          "name": "Array",
                          "props": [
                              {
                                  "p": "payload"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "[1,2,3]",
                          "payloadType": "json",
                          "x": 1010,
                          "y": 1580,
                          "wires": [
                              [
                                  "8c6e0a94.c66b58"
                              ]
                          ]
                      },
                      {
                          "id": "8c6e0a94.c66b58",
                          "type": "split",
                          "z": "f51578d8.868868",
                          "name": "",
                          "splt": "- ",
                          "spltType": "str",
                          "arraySplt": 1,
                          "arraySpltType": "len",
                          "stream": false,
                          "addname": "",
                          "x": 1150,
                          "y": 1580,
                          "wires": [
                              [
                                  "7550a747.916db8",
                                  "f29be1a0.4b39b"
                              ]
                          ]
                      },
                      {
                          "id": "f29be1a0.4b39b",
                          "type": "join",
                          "z": "f51578d8.868868",
                          "name": "",
                          "mode": "reduce",
                          "build": "string",
                          "property": "payload",
                          "propertyType": "msg",
                          "key": "topic",
                          "joiner": "\\n",
                          "joinerType": "str",
                          "accumulate": false,
                          "timeout": "",
                          "count": "",
                          "reduceRight": false,
                          "reduceExp": "$A + payload",
                          "reduceInit": "0",
                          "reduceInitType": "num",
                          "reduceFixup": "",
                          "x": 1450,
                          "y": 1580,
                          "wires": [
                              [
                                  "244872b6.57050e"
                              ]
                          ]
                      },
                      {
                          "id": "244872b6.57050e",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Wieder zusammengesetzer Input ",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1680,
                          "y": 1580,
                          "wires": []
                      },
                      {
                          "id": "7550a747.916db8",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Aufgeteilter Input ",
                          "active": false,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1330,
                          "y": 1520,
                          "wires": []
                      },
                      {
                          "id": "d236e710.7db608",
                          "type": "inject",
                          "z": "f51578d8.868868",
                          "name": "Array",
                          "props": [
                              {
                                  "p": "payload"
                              }
                          ],
                          "repeat": "",
                          "crontab": "",
                          "once": false,
                          "onceDelay": 0.1,
                          "topic": "",
                          "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                          "payloadType": "json",
                          "x": 1010,
                          "y": 1400,
                          "wires": [
                              [
                                  "f3df0c37.b2496"
                              ]
                          ]
                      },
                      {
                          "id": "f3df0c37.b2496",
                          "type": "split",
                          "z": "f51578d8.868868",
                          "name": "",
                          "splt": "- ",
                          "spltType": "str",
                          "arraySplt": 1,
                          "arraySpltType": "len",
                          "stream": false,
                          "addname": "",
                          "x": 1150,
                          "y": 1400,
                          "wires": [
                              [
                                  "8d977bbd.932998",
                                  "46f88853.8d5f18"
                              ]
                          ]
                      },
                      {
                          "id": "ca8a83d6.fc65f",
                          "type": "join",
                          "z": "f51578d8.868868",
                          "name": "",
                          "mode": "auto",
                          "build": "string",
                          "property": "payload",
                          "propertyType": "msg",
                          "key": "topic",
                          "joiner": "\\n",
                          "joinerType": "str",
                          "accumulate": false,
                          "timeout": "",
                          "count": "",
                          "reduceRight": false,
                          "reduceExp": "$A & payload & \" - \"",
                          "reduceInit": "",
                          "reduceInitType": "str",
                          "reduceFixup": "$substring($A,0,$length($A)-3)\t",
                          "x": 1450,
                          "y": 1400,
                          "wires": [
                              [
                                  "998db142.16b6c"
                              ]
                          ]
                      },
                      {
                          "id": "998db142.16b6c",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Wieder zusammengesetzer Input ",
                          "active": true,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1680,
                          "y": 1400,
                          "wires": []
                      },
                      {
                          "id": "8d977bbd.932998",
                          "type": "debug",
                          "z": "f51578d8.868868",
                          "name": "Aufgeteilter Input ",
                          "active": false,
                          "tosidebar": true,
                          "console": false,
                          "tostatus": false,
                          "complete": "payload",
                          "targetType": "msg",
                          "statusVal": "",
                          "statusType": "auto",
                          "x": 1330,
                          "y": 1340,
                          "wires": []
                      },
                      {
                          "id": "46f88853.8d5f18",
                          "type": "change",
                          "z": "f51578d8.868868",
                          "name": "translate",
                          "rules": [
                              {
                                  "t": "change",
                                  "p": "payload",
                                  "pt": "msg",
                                  "from": "Montag",
                                  "fromt": "str",
                                  "to": "Monday",
                                  "tot": "str"
                              },
                              {
                                  "t": "change",
                                  "p": "payload",
                                  "pt": "msg",
                                  "from": "Dienstag",
                                  "fromt": "str",
                                  "to": "Tuesday",
                                  "tot": "str"
                              },
                              {
                                  "t": "change",
                                  "p": "payload",
                                  "pt": "msg",
                                  "from": "Mittwoch",
                                  "fromt": "str",
                                  "to": "Wednesday",
                                  "tot": "str"
                              },
                              {
                                  "t": "change",
                                  "p": "payload",
                                  "pt": "msg",
                                  "from": "Donnerstag",
                                  "fromt": "str",
                                  "to": "Thursday",
                                  "tot": "str"
                              },
                              {
                                  "t": "change",
                                  "p": "payload",
                                  "pt": "msg",
                                  "from": "Freitag",
                                  "fromt": "str",
                                  "to": "Friday",
                                  "tot": "str"
                              },
                              {
                                  "t": "change",
                                  "p": "payload",
                                  "pt": "msg",
                                  "from": "Samstag",
                                  "fromt": "str",
                                  "to": "Saturday",
                                  "tot": "str"
                              },
                              {
                                  "t": "change",
                                  "p": "payload",
                                  "pt": "msg",
                                  "from": "Sonntag",
                                  "fromt": "str",
                                  "to": "Sunday",
                                  "tot": "str"
                              }
                          ],
                          "action": "",
                          "property": "",
                          "from": "",
                          "to": "",
                          "reg": false,
                          "x": 1300,
                          "y": 1400,
                          "wires": [
                              [
                                  "ca8a83d6.fc65f"
                              ]
                          ]
                      },
                      {
                          "id": "62fa32cf.d5b37c",
                          "type": "comment",
                          "z": "f51578d8.868868",
                          "name": "Lies mich",
                          "info": "Warum das Ganze - erst splitten dann wieder zusammensetzen. Nun damit kann man die einzelnen Werte bearbeiten und wieder zusammensetzen. Jedoch muss Anzahl identisch bleiben - das heißt die parts müssen gleich bleiben",
                          "x": 880,
                          "y": 1320,
                          "wires": []
                      },
                      {
                          "id": "a57f4164.a432",
                          "type": "comment",
                          "z": "f51578d8.868868",
                          "name": "Lies mich",
                          "info": "msg.parts anschauen - die split Node generiert hat:\n\nschau Dir an:\n\nmsg.parts.count\nmsg.parts.index",
                          "x": 1420,
                          "y": 880,
                          "wires": []
                      }
                    ]
                    
                    

                    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.

                    Marko1974M 1 Reply Last reply
                    0
                    • mickymM mickym

                      @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                      @mickym boar wer ist denn join schon wieder :anguished:

                      Bissi enttäuscht bin ich aber auch, wenn Du Dir wenigstens den Übrungsflow, den ich Dir heute nachmittag extra gemacht habe angeschaut hättest - dann wärest Du mit dem Verständnis weiter:

                      https://forum.iobroker.net/topic/49231/max-cube-blockly-abwesenheit/77?_=1637093504763

                      936e1cbc-bbee-427e-a25e-ed9fe161b8c3-image.png

                      Da hatte ich wunderschöne Flows zur Demonstration für Dich gemacht:

                      [
                        {
                            "id": "c8872a87.997ae8",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "All OFF -JS Objekt(JSON)",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "{\"Kinderzimmer\":{\"mode\":\"OFF\"},\"Schlafzimmer\":{\"mode\":\"OFF\"},\"Wohnzimmer\":{\"mode\":\"OFF\"},\"Flur\":{\"mode\":\"OFF\"},\"Küche\":{\"mode\":\"OFF\"},\"Badezimmer\":{\"mode\":\"OFF\"}}",
                            "payloadType": "json",
                            "x": 990,
                            "y": 780,
                            "wires": [
                                [
                                    "f3062735.80d058",
                                    "125e1468.8fbd0c",
                                    "4d20e55f.3e7b0c"
                                ]
                            ]
                        },
                        {
                            "id": "3c719b28.ea0e14",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "Array",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                            "payloadType": "json",
                            "x": 1050,
                            "y": 860,
                            "wires": [
                                [
                                    "f3062735.80d058",
                                    "125e1468.8fbd0c",
                                    "4d20e55f.3e7b0c"
                                ]
                            ]
                        },
                        {
                            "id": "f7725813.8a2f28",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "JS Objekt (JSON)",
                            "props": [
                                {
                                    "p": "heizung",
                                    "v": "{\"name\":\"Schlafzimmerthermo xyz\",\"mode\":\"AUTO\",\"setpointtemperature\":20}",
                                    "vt": "json"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payloadType": "str",
                            "x": 1010,
                            "y": 720,
                            "wires": [
                                [
                                    "f3062735.80d058",
                                    "125e1468.8fbd0c",
                                    "4d20e55f.3e7b0c"
                                ]
                            ]
                        },
                        {
                            "id": "f3062735.80d058",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Originaler Input",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "true",
                            "targetType": "full",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1260,
                            "y": 760,
                            "wires": []
                        },
                        {
                            "id": "b9decd2d.f55e",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "string - also Text",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "Die Heizung im Kinderzimmer ist auf 17°C eingestellt - Die Heizung im Wohnzimmer ist auf 22°C eingestellt - Die Heizung im Schlafzimmer ist auf 17°C eingestellt - Im Flur wir nie geheizt - In der Küche ist es immer warm",
                            "payloadType": "str",
                            "x": 1020,
                            "y": 920,
                            "wires": [
                                [
                                    "f3062735.80d058",
                                    "125e1468.8fbd0c",
                                    "4d20e55f.3e7b0c"
                                ]
                            ]
                        },
                        {
                            "id": "7d86d57b.46709c",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "true",
                            "targetType": "full",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1450,
                            "y": 940,
                            "wires": []
                        },
                        {
                            "id": "125e1468.8fbd0c",
                            "type": "split",
                            "z": "f51578d8.868868",
                            "name": "",
                            "splt": "- ",
                            "spltType": "str",
                            "arraySplt": 1,
                            "arraySpltType": "len",
                            "stream": false,
                            "addname": "",
                            "x": 1240,
                            "y": 1020,
                            "wires": [
                                [
                                    "7d86d57b.46709c",
                                    "44a7b809.4203c8",
                                    "32b92a90.0878d6"
                                ]
                            ]
                        },
                        {
                            "id": "44a7b809.4203c8",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1450,
                            "y": 980,
                            "wires": []
                        },
                        {
                            "id": "4d20e55f.3e7b0c",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Originaler Input",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1260,
                            "y": 800,
                            "wires": []
                        },
                        {
                            "id": "32b92a90.0878d6",
                            "type": "join",
                            "z": "f51578d8.868868",
                            "name": "",
                            "mode": "auto",
                            "build": "string",
                            "property": "payload",
                            "propertyType": "msg",
                            "key": "topic",
                            "joiner": "\\n",
                            "joinerType": "str",
                            "accumulate": "false",
                            "timeout": "",
                            "count": "",
                            "reduceRight": false,
                            "x": 1410,
                            "y": 1060,
                            "wires": [
                                [
                                    "353ca7c0.fc6f78",
                                    "a394b548.7ee2d8"
                                ]
                            ]
                        },
                        {
                            "id": "353ca7c0.fc6f78",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "true",
                            "targetType": "full",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1660,
                            "y": 1060,
                            "wires": []
                        },
                        {
                            "id": "a394b548.7ee2d8",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1660,
                            "y": 1100,
                            "wires": []
                        },
                        {
                            "id": "42a3c2d7.6305ac",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "Array",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                            "payloadType": "json",
                            "x": 1030,
                            "y": 1240,
                            "wires": [
                                [
                                    "135a2676.aa76fa"
                                ]
                            ]
                        },
                        {
                            "id": "135a2676.aa76fa",
                            "type": "split",
                            "z": "f51578d8.868868",
                            "name": "",
                            "splt": "- ",
                            "spltType": "str",
                            "arraySplt": 1,
                            "arraySpltType": "len",
                            "stream": false,
                            "addname": "",
                            "x": 1170,
                            "y": 1240,
                            "wires": [
                                [
                                    "855a4de2.cdf7a",
                                    "686ea273.c66dac"
                                ]
                            ]
                        },
                        {
                            "id": "686ea273.c66dac",
                            "type": "join",
                            "z": "f51578d8.868868",
                            "name": "",
                            "mode": "reduce",
                            "build": "string",
                            "property": "payload",
                            "propertyType": "msg",
                            "key": "topic",
                            "joiner": "\\n",
                            "joinerType": "str",
                            "accumulate": false,
                            "timeout": "",
                            "count": "",
                            "reduceRight": false,
                            "reduceExp": "$A & payload & \" - \"",
                            "reduceInit": "",
                            "reduceInitType": "str",
                            "reduceFixup": "$substring($A,0,$length($A)-3)\t",
                            "x": 1470,
                            "y": 1240,
                            "wires": [
                                [
                                    "18140ac7.295275"
                                ]
                            ]
                        },
                        {
                            "id": "18140ac7.295275",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1700,
                            "y": 1240,
                            "wires": []
                        },
                        {
                            "id": "855a4de2.cdf7a",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1350,
                            "y": 1180,
                            "wires": []
                        },
                        {
                            "id": "f4ba6b18.c94338",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "false",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 830,
                            "y": 1040,
                            "wires": []
                        },
                        {
                            "id": "aeeb109c.d84fe",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "Array",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "[1,2,3]",
                            "payloadType": "json",
                            "x": 1010,
                            "y": 1580,
                            "wires": [
                                [
                                    "8c6e0a94.c66b58"
                                ]
                            ]
                        },
                        {
                            "id": "8c6e0a94.c66b58",
                            "type": "split",
                            "z": "f51578d8.868868",
                            "name": "",
                            "splt": "- ",
                            "spltType": "str",
                            "arraySplt": 1,
                            "arraySpltType": "len",
                            "stream": false,
                            "addname": "",
                            "x": 1150,
                            "y": 1580,
                            "wires": [
                                [
                                    "7550a747.916db8",
                                    "f29be1a0.4b39b"
                                ]
                            ]
                        },
                        {
                            "id": "f29be1a0.4b39b",
                            "type": "join",
                            "z": "f51578d8.868868",
                            "name": "",
                            "mode": "reduce",
                            "build": "string",
                            "property": "payload",
                            "propertyType": "msg",
                            "key": "topic",
                            "joiner": "\\n",
                            "joinerType": "str",
                            "accumulate": false,
                            "timeout": "",
                            "count": "",
                            "reduceRight": false,
                            "reduceExp": "$A + payload",
                            "reduceInit": "0",
                            "reduceInitType": "num",
                            "reduceFixup": "",
                            "x": 1450,
                            "y": 1580,
                            "wires": [
                                [
                                    "244872b6.57050e"
                                ]
                            ]
                        },
                        {
                            "id": "244872b6.57050e",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1680,
                            "y": 1580,
                            "wires": []
                        },
                        {
                            "id": "7550a747.916db8",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1330,
                            "y": 1520,
                            "wires": []
                        },
                        {
                            "id": "d236e710.7db608",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "Array",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                            "payloadType": "json",
                            "x": 1010,
                            "y": 1400,
                            "wires": [
                                [
                                    "f3df0c37.b2496"
                                ]
                            ]
                        },
                        {
                            "id": "f3df0c37.b2496",
                            "type": "split",
                            "z": "f51578d8.868868",
                            "name": "",
                            "splt": "- ",
                            "spltType": "str",
                            "arraySplt": 1,
                            "arraySpltType": "len",
                            "stream": false,
                            "addname": "",
                            "x": 1150,
                            "y": 1400,
                            "wires": [
                                [
                                    "8d977bbd.932998",
                                    "46f88853.8d5f18"
                                ]
                            ]
                        },
                        {
                            "id": "ca8a83d6.fc65f",
                            "type": "join",
                            "z": "f51578d8.868868",
                            "name": "",
                            "mode": "auto",
                            "build": "string",
                            "property": "payload",
                            "propertyType": "msg",
                            "key": "topic",
                            "joiner": "\\n",
                            "joinerType": "str",
                            "accumulate": false,
                            "timeout": "",
                            "count": "",
                            "reduceRight": false,
                            "reduceExp": "$A & payload & \" - \"",
                            "reduceInit": "",
                            "reduceInitType": "str",
                            "reduceFixup": "$substring($A,0,$length($A)-3)\t",
                            "x": 1450,
                            "y": 1400,
                            "wires": [
                                [
                                    "998db142.16b6c"
                                ]
                            ]
                        },
                        {
                            "id": "998db142.16b6c",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1680,
                            "y": 1400,
                            "wires": []
                        },
                        {
                            "id": "8d977bbd.932998",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1330,
                            "y": 1340,
                            "wires": []
                        },
                        {
                            "id": "46f88853.8d5f18",
                            "type": "change",
                            "z": "f51578d8.868868",
                            "name": "translate",
                            "rules": [
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Montag",
                                    "fromt": "str",
                                    "to": "Monday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Dienstag",
                                    "fromt": "str",
                                    "to": "Tuesday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Mittwoch",
                                    "fromt": "str",
                                    "to": "Wednesday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Donnerstag",
                                    "fromt": "str",
                                    "to": "Thursday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Freitag",
                                    "fromt": "str",
                                    "to": "Friday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Samstag",
                                    "fromt": "str",
                                    "to": "Saturday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Sonntag",
                                    "fromt": "str",
                                    "to": "Sunday",
                                    "tot": "str"
                                }
                            ],
                            "action": "",
                            "property": "",
                            "from": "",
                            "to": "",
                            "reg": false,
                            "x": 1300,
                            "y": 1400,
                            "wires": [
                                [
                                    "ca8a83d6.fc65f"
                                ]
                            ]
                        },
                        {
                            "id": "62fa32cf.d5b37c",
                            "type": "comment",
                            "z": "f51578d8.868868",
                            "name": "Lies mich",
                            "info": "Warum das Ganze - erst splitten dann wieder zusammensetzen. Nun damit kann man die einzelnen Werte bearbeiten und wieder zusammensetzen. Jedoch muss Anzahl identisch bleiben - das heißt die parts müssen gleich bleiben",
                            "x": 880,
                            "y": 1320,
                            "wires": []
                        },
                        {
                            "id": "a57f4164.a432",
                            "type": "comment",
                            "z": "f51578d8.868868",
                            "name": "Lies mich",
                            "info": "msg.parts anschauen - die split Node generiert hat:\n\nschau Dir an:\n\nmsg.parts.count\nmsg.parts.index",
                            "x": 1420,
                            "y": 880,
                            "wires": []
                        }
                      ]
                      
                      

                      Marko1974M Offline
                      Marko1974M Offline
                      Marko1974
                      wrote on last edited by
                      #716

                      @mickym said in MAX! Cube Blockly Abwesenheit:

                      @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                      @mickym boar wer ist denn join schon wieder :anguished:

                      Bissi enttäuscht bin ich aber auch, wenn Du Dir wenigstens den Übrungsflow, den ich Dir heute nachmittag extra gemacht habe angeschaut hättest - dann wärest Du mit dem Verständnis weiter:

                      https://forum.iobroker.net/topic/49231/max-cube-blockly-abwesenheit/77?_=1637093504763

                      936e1cbc-bbee-427e-a25e-ed9fe161b8c3-image.png

                      Da hatte ich wunderschöne Flows zur Demonstration für Dich gemacht:

                      [
                        {
                            "id": "c8872a87.997ae8",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "All OFF -JS Objekt(JSON)",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "{\"Kinderzimmer\":{\"mode\":\"OFF\"},\"Schlafzimmer\":{\"mode\":\"OFF\"},\"Wohnzimmer\":{\"mode\":\"OFF\"},\"Flur\":{\"mode\":\"OFF\"},\"Küche\":{\"mode\":\"OFF\"},\"Badezimmer\":{\"mode\":\"OFF\"}}",
                            "payloadType": "json",
                            "x": 990,
                            "y": 780,
                            "wires": [
                                [
                                    "f3062735.80d058",
                                    "125e1468.8fbd0c",
                                    "4d20e55f.3e7b0c"
                                ]
                            ]
                        },
                        {
                            "id": "3c719b28.ea0e14",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "Array",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                            "payloadType": "json",
                            "x": 1050,
                            "y": 860,
                            "wires": [
                                [
                                    "f3062735.80d058",
                                    "125e1468.8fbd0c",
                                    "4d20e55f.3e7b0c"
                                ]
                            ]
                        },
                        {
                            "id": "f7725813.8a2f28",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "JS Objekt (JSON)",
                            "props": [
                                {
                                    "p": "heizung",
                                    "v": "{\"name\":\"Schlafzimmerthermo xyz\",\"mode\":\"AUTO\",\"setpointtemperature\":20}",
                                    "vt": "json"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payloadType": "str",
                            "x": 1010,
                            "y": 720,
                            "wires": [
                                [
                                    "f3062735.80d058",
                                    "125e1468.8fbd0c",
                                    "4d20e55f.3e7b0c"
                                ]
                            ]
                        },
                        {
                            "id": "f3062735.80d058",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Originaler Input",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "true",
                            "targetType": "full",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1260,
                            "y": 760,
                            "wires": []
                        },
                        {
                            "id": "b9decd2d.f55e",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "string - also Text",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "Die Heizung im Kinderzimmer ist auf 17°C eingestellt - Die Heizung im Wohnzimmer ist auf 22°C eingestellt - Die Heizung im Schlafzimmer ist auf 17°C eingestellt - Im Flur wir nie geheizt - In der Küche ist es immer warm",
                            "payloadType": "str",
                            "x": 1020,
                            "y": 920,
                            "wires": [
                                [
                                    "f3062735.80d058",
                                    "125e1468.8fbd0c",
                                    "4d20e55f.3e7b0c"
                                ]
                            ]
                        },
                        {
                            "id": "7d86d57b.46709c",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "true",
                            "targetType": "full",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1450,
                            "y": 940,
                            "wires": []
                        },
                        {
                            "id": "125e1468.8fbd0c",
                            "type": "split",
                            "z": "f51578d8.868868",
                            "name": "",
                            "splt": "- ",
                            "spltType": "str",
                            "arraySplt": 1,
                            "arraySpltType": "len",
                            "stream": false,
                            "addname": "",
                            "x": 1240,
                            "y": 1020,
                            "wires": [
                                [
                                    "7d86d57b.46709c",
                                    "44a7b809.4203c8",
                                    "32b92a90.0878d6"
                                ]
                            ]
                        },
                        {
                            "id": "44a7b809.4203c8",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1450,
                            "y": 980,
                            "wires": []
                        },
                        {
                            "id": "4d20e55f.3e7b0c",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Originaler Input",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1260,
                            "y": 800,
                            "wires": []
                        },
                        {
                            "id": "32b92a90.0878d6",
                            "type": "join",
                            "z": "f51578d8.868868",
                            "name": "",
                            "mode": "auto",
                            "build": "string",
                            "property": "payload",
                            "propertyType": "msg",
                            "key": "topic",
                            "joiner": "\\n",
                            "joinerType": "str",
                            "accumulate": "false",
                            "timeout": "",
                            "count": "",
                            "reduceRight": false,
                            "x": 1410,
                            "y": 1060,
                            "wires": [
                                [
                                    "353ca7c0.fc6f78",
                                    "a394b548.7ee2d8"
                                ]
                            ]
                        },
                        {
                            "id": "353ca7c0.fc6f78",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "true",
                            "targetType": "full",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1660,
                            "y": 1060,
                            "wires": []
                        },
                        {
                            "id": "a394b548.7ee2d8",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1660,
                            "y": 1100,
                            "wires": []
                        },
                        {
                            "id": "42a3c2d7.6305ac",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "Array",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                            "payloadType": "json",
                            "x": 1030,
                            "y": 1240,
                            "wires": [
                                [
                                    "135a2676.aa76fa"
                                ]
                            ]
                        },
                        {
                            "id": "135a2676.aa76fa",
                            "type": "split",
                            "z": "f51578d8.868868",
                            "name": "",
                            "splt": "- ",
                            "spltType": "str",
                            "arraySplt": 1,
                            "arraySpltType": "len",
                            "stream": false,
                            "addname": "",
                            "x": 1170,
                            "y": 1240,
                            "wires": [
                                [
                                    "855a4de2.cdf7a",
                                    "686ea273.c66dac"
                                ]
                            ]
                        },
                        {
                            "id": "686ea273.c66dac",
                            "type": "join",
                            "z": "f51578d8.868868",
                            "name": "",
                            "mode": "reduce",
                            "build": "string",
                            "property": "payload",
                            "propertyType": "msg",
                            "key": "topic",
                            "joiner": "\\n",
                            "joinerType": "str",
                            "accumulate": false,
                            "timeout": "",
                            "count": "",
                            "reduceRight": false,
                            "reduceExp": "$A & payload & \" - \"",
                            "reduceInit": "",
                            "reduceInitType": "str",
                            "reduceFixup": "$substring($A,0,$length($A)-3)\t",
                            "x": 1470,
                            "y": 1240,
                            "wires": [
                                [
                                    "18140ac7.295275"
                                ]
                            ]
                        },
                        {
                            "id": "18140ac7.295275",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1700,
                            "y": 1240,
                            "wires": []
                        },
                        {
                            "id": "855a4de2.cdf7a",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1350,
                            "y": 1180,
                            "wires": []
                        },
                        {
                            "id": "f4ba6b18.c94338",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "false",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 830,
                            "y": 1040,
                            "wires": []
                        },
                        {
                            "id": "aeeb109c.d84fe",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "Array",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "[1,2,3]",
                            "payloadType": "json",
                            "x": 1010,
                            "y": 1580,
                            "wires": [
                                [
                                    "8c6e0a94.c66b58"
                                ]
                            ]
                        },
                        {
                            "id": "8c6e0a94.c66b58",
                            "type": "split",
                            "z": "f51578d8.868868",
                            "name": "",
                            "splt": "- ",
                            "spltType": "str",
                            "arraySplt": 1,
                            "arraySpltType": "len",
                            "stream": false,
                            "addname": "",
                            "x": 1150,
                            "y": 1580,
                            "wires": [
                                [
                                    "7550a747.916db8",
                                    "f29be1a0.4b39b"
                                ]
                            ]
                        },
                        {
                            "id": "f29be1a0.4b39b",
                            "type": "join",
                            "z": "f51578d8.868868",
                            "name": "",
                            "mode": "reduce",
                            "build": "string",
                            "property": "payload",
                            "propertyType": "msg",
                            "key": "topic",
                            "joiner": "\\n",
                            "joinerType": "str",
                            "accumulate": false,
                            "timeout": "",
                            "count": "",
                            "reduceRight": false,
                            "reduceExp": "$A + payload",
                            "reduceInit": "0",
                            "reduceInitType": "num",
                            "reduceFixup": "",
                            "x": 1450,
                            "y": 1580,
                            "wires": [
                                [
                                    "244872b6.57050e"
                                ]
                            ]
                        },
                        {
                            "id": "244872b6.57050e",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1680,
                            "y": 1580,
                            "wires": []
                        },
                        {
                            "id": "7550a747.916db8",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1330,
                            "y": 1520,
                            "wires": []
                        },
                        {
                            "id": "d236e710.7db608",
                            "type": "inject",
                            "z": "f51578d8.868868",
                            "name": "Array",
                            "props": [
                                {
                                    "p": "payload"
                                }
                            ],
                            "repeat": "",
                            "crontab": "",
                            "once": false,
                            "onceDelay": 0.1,
                            "topic": "",
                            "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                            "payloadType": "json",
                            "x": 1010,
                            "y": 1400,
                            "wires": [
                                [
                                    "f3df0c37.b2496"
                                ]
                            ]
                        },
                        {
                            "id": "f3df0c37.b2496",
                            "type": "split",
                            "z": "f51578d8.868868",
                            "name": "",
                            "splt": "- ",
                            "spltType": "str",
                            "arraySplt": 1,
                            "arraySpltType": "len",
                            "stream": false,
                            "addname": "",
                            "x": 1150,
                            "y": 1400,
                            "wires": [
                                [
                                    "8d977bbd.932998",
                                    "46f88853.8d5f18"
                                ]
                            ]
                        },
                        {
                            "id": "ca8a83d6.fc65f",
                            "type": "join",
                            "z": "f51578d8.868868",
                            "name": "",
                            "mode": "auto",
                            "build": "string",
                            "property": "payload",
                            "propertyType": "msg",
                            "key": "topic",
                            "joiner": "\\n",
                            "joinerType": "str",
                            "accumulate": false,
                            "timeout": "",
                            "count": "",
                            "reduceRight": false,
                            "reduceExp": "$A & payload & \" - \"",
                            "reduceInit": "",
                            "reduceInitType": "str",
                            "reduceFixup": "$substring($A,0,$length($A)-3)\t",
                            "x": 1450,
                            "y": 1400,
                            "wires": [
                                [
                                    "998db142.16b6c"
                                ]
                            ]
                        },
                        {
                            "id": "998db142.16b6c",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Wieder zusammengesetzer Input ",
                            "active": true,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1680,
                            "y": 1400,
                            "wires": []
                        },
                        {
                            "id": "8d977bbd.932998",
                            "type": "debug",
                            "z": "f51578d8.868868",
                            "name": "Aufgeteilter Input ",
                            "active": false,
                            "tosidebar": true,
                            "console": false,
                            "tostatus": false,
                            "complete": "payload",
                            "targetType": "msg",
                            "statusVal": "",
                            "statusType": "auto",
                            "x": 1330,
                            "y": 1340,
                            "wires": []
                        },
                        {
                            "id": "46f88853.8d5f18",
                            "type": "change",
                            "z": "f51578d8.868868",
                            "name": "translate",
                            "rules": [
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Montag",
                                    "fromt": "str",
                                    "to": "Monday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Dienstag",
                                    "fromt": "str",
                                    "to": "Tuesday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Mittwoch",
                                    "fromt": "str",
                                    "to": "Wednesday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Donnerstag",
                                    "fromt": "str",
                                    "to": "Thursday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Freitag",
                                    "fromt": "str",
                                    "to": "Friday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Samstag",
                                    "fromt": "str",
                                    "to": "Saturday",
                                    "tot": "str"
                                },
                                {
                                    "t": "change",
                                    "p": "payload",
                                    "pt": "msg",
                                    "from": "Sonntag",
                                    "fromt": "str",
                                    "to": "Sunday",
                                    "tot": "str"
                                }
                            ],
                            "action": "",
                            "property": "",
                            "from": "",
                            "to": "",
                            "reg": false,
                            "x": 1300,
                            "y": 1400,
                            "wires": [
                                [
                                    "ca8a83d6.fc65f"
                                ]
                            ]
                        },
                        {
                            "id": "62fa32cf.d5b37c",
                            "type": "comment",
                            "z": "f51578d8.868868",
                            "name": "Lies mich",
                            "info": "Warum das Ganze - erst splitten dann wieder zusammensetzen. Nun damit kann man die einzelnen Werte bearbeiten und wieder zusammensetzen. Jedoch muss Anzahl identisch bleiben - das heißt die parts müssen gleich bleiben",
                            "x": 880,
                            "y": 1320,
                            "wires": []
                        },
                        {
                            "id": "a57f4164.a432",
                            "type": "comment",
                            "z": "f51578d8.868868",
                            "name": "Lies mich",
                            "info": "msg.parts anschauen - die split Node generiert hat:\n\nschau Dir an:\n\nmsg.parts.count\nmsg.parts.index",
                            "x": 1420,
                            "y": 880,
                            "wires": []
                        }
                      ]
                      
                      

                      Da hast du das untendrunter aber später geschrieben....das hab ich nichtmals gewusst

                      mickymM 1 Reply Last reply
                      0
                      • Marko1974M Marko1974

                        @mickym said in MAX! Cube Blockly Abwesenheit:

                        @marko1974 Noch können wir es aber bei Wechsel zu Anwesend und zu Abwesend machen? - Wie Du willst? Wenn wir es nur für Abwesend machen wollen müssen wir noch was am Hauptflow ändern.

                        Am Einfachsten ist Du kopierst einfach die split Node und hängst die Telegramm Ausgabe nur an den oberen Split Node.

                        881abfc2-81a1-454a-8eb1-25b1b355dfd0-image.png

                        dann sendet er aber 2 mal und es macht auch 2x klingeling

                        mickymM Online
                        mickymM Online
                        mickym
                        Most Active
                        wrote on last edited by
                        #717

                        @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                        @mickym said in MAX! Cube Blockly Abwesenheit:

                        @marko1974 Noch können wir es aber bei Wechsel zu Anwesend und zu Abwesend machen? - Wie Du willst? Wenn wir es nur für Abwesend machen wollen müssen wir noch was am Hauptflow ändern.

                        Am Einfachsten ist Du kopierst einfach die split Node und hängst die Telegramm Ausgabe nur an den oberen Split Node.

                        881abfc2-81a1-454a-8eb1-25b1b355dfd0-image.png

                        dann sendet er aber 2 mal und es macht auch 2x klingeling

                        Dann machst Du halt "Alle Heizungen ausgeschaltet weg" und schreibst es in die Template Node.

                        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.

                        1 Reply Last reply
                        0
                        • Marko1974M Marko1974

                          @mickym said in MAX! Cube Blockly Abwesenheit:

                          @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                          @mickym boar wer ist denn join schon wieder :anguished:

                          Bissi enttäuscht bin ich aber auch, wenn Du Dir wenigstens den Übrungsflow, den ich Dir heute nachmittag extra gemacht habe angeschaut hättest - dann wärest Du mit dem Verständnis weiter:

                          https://forum.iobroker.net/topic/49231/max-cube-blockly-abwesenheit/77?_=1637093504763

                          936e1cbc-bbee-427e-a25e-ed9fe161b8c3-image.png

                          Da hatte ich wunderschöne Flows zur Demonstration für Dich gemacht:

                          [
                            {
                                "id": "c8872a87.997ae8",
                                "type": "inject",
                                "z": "f51578d8.868868",
                                "name": "All OFF -JS Objekt(JSON)",
                                "props": [
                                    {
                                        "p": "payload"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "{\"Kinderzimmer\":{\"mode\":\"OFF\"},\"Schlafzimmer\":{\"mode\":\"OFF\"},\"Wohnzimmer\":{\"mode\":\"OFF\"},\"Flur\":{\"mode\":\"OFF\"},\"Küche\":{\"mode\":\"OFF\"},\"Badezimmer\":{\"mode\":\"OFF\"}}",
                                "payloadType": "json",
                                "x": 990,
                                "y": 780,
                                "wires": [
                                    [
                                        "f3062735.80d058",
                                        "125e1468.8fbd0c",
                                        "4d20e55f.3e7b0c"
                                    ]
                                ]
                            },
                            {
                                "id": "3c719b28.ea0e14",
                                "type": "inject",
                                "z": "f51578d8.868868",
                                "name": "Array",
                                "props": [
                                    {
                                        "p": "payload"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                                "payloadType": "json",
                                "x": 1050,
                                "y": 860,
                                "wires": [
                                    [
                                        "f3062735.80d058",
                                        "125e1468.8fbd0c",
                                        "4d20e55f.3e7b0c"
                                    ]
                                ]
                            },
                            {
                                "id": "f7725813.8a2f28",
                                "type": "inject",
                                "z": "f51578d8.868868",
                                "name": "JS Objekt (JSON)",
                                "props": [
                                    {
                                        "p": "heizung",
                                        "v": "{\"name\":\"Schlafzimmerthermo xyz\",\"mode\":\"AUTO\",\"setpointtemperature\":20}",
                                        "vt": "json"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payloadType": "str",
                                "x": 1010,
                                "y": 720,
                                "wires": [
                                    [
                                        "f3062735.80d058",
                                        "125e1468.8fbd0c",
                                        "4d20e55f.3e7b0c"
                                    ]
                                ]
                            },
                            {
                                "id": "f3062735.80d058",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Originaler Input",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "true",
                                "targetType": "full",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1260,
                                "y": 760,
                                "wires": []
                            },
                            {
                                "id": "b9decd2d.f55e",
                                "type": "inject",
                                "z": "f51578d8.868868",
                                "name": "string - also Text",
                                "props": [
                                    {
                                        "p": "payload"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "Die Heizung im Kinderzimmer ist auf 17°C eingestellt - Die Heizung im Wohnzimmer ist auf 22°C eingestellt - Die Heizung im Schlafzimmer ist auf 17°C eingestellt - Im Flur wir nie geheizt - In der Küche ist es immer warm",
                                "payloadType": "str",
                                "x": 1020,
                                "y": 920,
                                "wires": [
                                    [
                                        "f3062735.80d058",
                                        "125e1468.8fbd0c",
                                        "4d20e55f.3e7b0c"
                                    ]
                                ]
                            },
                            {
                                "id": "7d86d57b.46709c",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Aufgeteilter Input ",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "true",
                                "targetType": "full",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1450,
                                "y": 940,
                                "wires": []
                            },
                            {
                                "id": "125e1468.8fbd0c",
                                "type": "split",
                                "z": "f51578d8.868868",
                                "name": "",
                                "splt": "- ",
                                "spltType": "str",
                                "arraySplt": 1,
                                "arraySpltType": "len",
                                "stream": false,
                                "addname": "",
                                "x": 1240,
                                "y": 1020,
                                "wires": [
                                    [
                                        "7d86d57b.46709c",
                                        "44a7b809.4203c8",
                                        "32b92a90.0878d6"
                                    ]
                                ]
                            },
                            {
                                "id": "44a7b809.4203c8",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Aufgeteilter Input ",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1450,
                                "y": 980,
                                "wires": []
                            },
                            {
                                "id": "4d20e55f.3e7b0c",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Originaler Input",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1260,
                                "y": 800,
                                "wires": []
                            },
                            {
                                "id": "32b92a90.0878d6",
                                "type": "join",
                                "z": "f51578d8.868868",
                                "name": "",
                                "mode": "auto",
                                "build": "string",
                                "property": "payload",
                                "propertyType": "msg",
                                "key": "topic",
                                "joiner": "\\n",
                                "joinerType": "str",
                                "accumulate": "false",
                                "timeout": "",
                                "count": "",
                                "reduceRight": false,
                                "x": 1410,
                                "y": 1060,
                                "wires": [
                                    [
                                        "353ca7c0.fc6f78",
                                        "a394b548.7ee2d8"
                                    ]
                                ]
                            },
                            {
                                "id": "353ca7c0.fc6f78",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Wieder zusammengesetzer Input ",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "true",
                                "targetType": "full",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1660,
                                "y": 1060,
                                "wires": []
                            },
                            {
                                "id": "a394b548.7ee2d8",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Wieder zusammengesetzer Input ",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1660,
                                "y": 1100,
                                "wires": []
                            },
                            {
                                "id": "42a3c2d7.6305ac",
                                "type": "inject",
                                "z": "f51578d8.868868",
                                "name": "Array",
                                "props": [
                                    {
                                        "p": "payload"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                                "payloadType": "json",
                                "x": 1030,
                                "y": 1240,
                                "wires": [
                                    [
                                        "135a2676.aa76fa"
                                    ]
                                ]
                            },
                            {
                                "id": "135a2676.aa76fa",
                                "type": "split",
                                "z": "f51578d8.868868",
                                "name": "",
                                "splt": "- ",
                                "spltType": "str",
                                "arraySplt": 1,
                                "arraySpltType": "len",
                                "stream": false,
                                "addname": "",
                                "x": 1170,
                                "y": 1240,
                                "wires": [
                                    [
                                        "855a4de2.cdf7a",
                                        "686ea273.c66dac"
                                    ]
                                ]
                            },
                            {
                                "id": "686ea273.c66dac",
                                "type": "join",
                                "z": "f51578d8.868868",
                                "name": "",
                                "mode": "reduce",
                                "build": "string",
                                "property": "payload",
                                "propertyType": "msg",
                                "key": "topic",
                                "joiner": "\\n",
                                "joinerType": "str",
                                "accumulate": false,
                                "timeout": "",
                                "count": "",
                                "reduceRight": false,
                                "reduceExp": "$A & payload & \" - \"",
                                "reduceInit": "",
                                "reduceInitType": "str",
                                "reduceFixup": "$substring($A,0,$length($A)-3)\t",
                                "x": 1470,
                                "y": 1240,
                                "wires": [
                                    [
                                        "18140ac7.295275"
                                    ]
                                ]
                            },
                            {
                                "id": "18140ac7.295275",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Wieder zusammengesetzer Input ",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1700,
                                "y": 1240,
                                "wires": []
                            },
                            {
                                "id": "855a4de2.cdf7a",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Aufgeteilter Input ",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1350,
                                "y": 1180,
                                "wires": []
                            },
                            {
                                "id": "f4ba6b18.c94338",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "false",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 830,
                                "y": 1040,
                                "wires": []
                            },
                            {
                                "id": "aeeb109c.d84fe",
                                "type": "inject",
                                "z": "f51578d8.868868",
                                "name": "Array",
                                "props": [
                                    {
                                        "p": "payload"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "[1,2,3]",
                                "payloadType": "json",
                                "x": 1010,
                                "y": 1580,
                                "wires": [
                                    [
                                        "8c6e0a94.c66b58"
                                    ]
                                ]
                            },
                            {
                                "id": "8c6e0a94.c66b58",
                                "type": "split",
                                "z": "f51578d8.868868",
                                "name": "",
                                "splt": "- ",
                                "spltType": "str",
                                "arraySplt": 1,
                                "arraySpltType": "len",
                                "stream": false,
                                "addname": "",
                                "x": 1150,
                                "y": 1580,
                                "wires": [
                                    [
                                        "7550a747.916db8",
                                        "f29be1a0.4b39b"
                                    ]
                                ]
                            },
                            {
                                "id": "f29be1a0.4b39b",
                                "type": "join",
                                "z": "f51578d8.868868",
                                "name": "",
                                "mode": "reduce",
                                "build": "string",
                                "property": "payload",
                                "propertyType": "msg",
                                "key": "topic",
                                "joiner": "\\n",
                                "joinerType": "str",
                                "accumulate": false,
                                "timeout": "",
                                "count": "",
                                "reduceRight": false,
                                "reduceExp": "$A + payload",
                                "reduceInit": "0",
                                "reduceInitType": "num",
                                "reduceFixup": "",
                                "x": 1450,
                                "y": 1580,
                                "wires": [
                                    [
                                        "244872b6.57050e"
                                    ]
                                ]
                            },
                            {
                                "id": "244872b6.57050e",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Wieder zusammengesetzer Input ",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1680,
                                "y": 1580,
                                "wires": []
                            },
                            {
                                "id": "7550a747.916db8",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Aufgeteilter Input ",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1330,
                                "y": 1520,
                                "wires": []
                            },
                            {
                                "id": "d236e710.7db608",
                                "type": "inject",
                                "z": "f51578d8.868868",
                                "name": "Array",
                                "props": [
                                    {
                                        "p": "payload"
                                    }
                                ],
                                "repeat": "",
                                "crontab": "",
                                "once": false,
                                "onceDelay": 0.1,
                                "topic": "",
                                "payload": "[\"Montag\",\"Dienstag\",\"Mittwoch\",\"Donnerstag\",\"Freitag\",\"Samstag\",\"Sonntag\"]",
                                "payloadType": "json",
                                "x": 1010,
                                "y": 1400,
                                "wires": [
                                    [
                                        "f3df0c37.b2496"
                                    ]
                                ]
                            },
                            {
                                "id": "f3df0c37.b2496",
                                "type": "split",
                                "z": "f51578d8.868868",
                                "name": "",
                                "splt": "- ",
                                "spltType": "str",
                                "arraySplt": 1,
                                "arraySpltType": "len",
                                "stream": false,
                                "addname": "",
                                "x": 1150,
                                "y": 1400,
                                "wires": [
                                    [
                                        "8d977bbd.932998",
                                        "46f88853.8d5f18"
                                    ]
                                ]
                            },
                            {
                                "id": "ca8a83d6.fc65f",
                                "type": "join",
                                "z": "f51578d8.868868",
                                "name": "",
                                "mode": "auto",
                                "build": "string",
                                "property": "payload",
                                "propertyType": "msg",
                                "key": "topic",
                                "joiner": "\\n",
                                "joinerType": "str",
                                "accumulate": false,
                                "timeout": "",
                                "count": "",
                                "reduceRight": false,
                                "reduceExp": "$A & payload & \" - \"",
                                "reduceInit": "",
                                "reduceInitType": "str",
                                "reduceFixup": "$substring($A,0,$length($A)-3)\t",
                                "x": 1450,
                                "y": 1400,
                                "wires": [
                                    [
                                        "998db142.16b6c"
                                    ]
                                ]
                            },
                            {
                                "id": "998db142.16b6c",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Wieder zusammengesetzer Input ",
                                "active": true,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1680,
                                "y": 1400,
                                "wires": []
                            },
                            {
                                "id": "8d977bbd.932998",
                                "type": "debug",
                                "z": "f51578d8.868868",
                                "name": "Aufgeteilter Input ",
                                "active": false,
                                "tosidebar": true,
                                "console": false,
                                "tostatus": false,
                                "complete": "payload",
                                "targetType": "msg",
                                "statusVal": "",
                                "statusType": "auto",
                                "x": 1330,
                                "y": 1340,
                                "wires": []
                            },
                            {
                                "id": "46f88853.8d5f18",
                                "type": "change",
                                "z": "f51578d8.868868",
                                "name": "translate",
                                "rules": [
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "Montag",
                                        "fromt": "str",
                                        "to": "Monday",
                                        "tot": "str"
                                    },
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "Dienstag",
                                        "fromt": "str",
                                        "to": "Tuesday",
                                        "tot": "str"
                                    },
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "Mittwoch",
                                        "fromt": "str",
                                        "to": "Wednesday",
                                        "tot": "str"
                                    },
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "Donnerstag",
                                        "fromt": "str",
                                        "to": "Thursday",
                                        "tot": "str"
                                    },
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "Freitag",
                                        "fromt": "str",
                                        "to": "Friday",
                                        "tot": "str"
                                    },
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "Samstag",
                                        "fromt": "str",
                                        "to": "Saturday",
                                        "tot": "str"
                                    },
                                    {
                                        "t": "change",
                                        "p": "payload",
                                        "pt": "msg",
                                        "from": "Sonntag",
                                        "fromt": "str",
                                        "to": "Sunday",
                                        "tot": "str"
                                    }
                                ],
                                "action": "",
                                "property": "",
                                "from": "",
                                "to": "",
                                "reg": false,
                                "x": 1300,
                                "y": 1400,
                                "wires": [
                                    [
                                        "ca8a83d6.fc65f"
                                    ]
                                ]
                            },
                            {
                                "id": "62fa32cf.d5b37c",
                                "type": "comment",
                                "z": "f51578d8.868868",
                                "name": "Lies mich",
                                "info": "Warum das Ganze - erst splitten dann wieder zusammensetzen. Nun damit kann man die einzelnen Werte bearbeiten und wieder zusammensetzen. Jedoch muss Anzahl identisch bleiben - das heißt die parts müssen gleich bleiben",
                                "x": 880,
                                "y": 1320,
                                "wires": []
                            },
                            {
                                "id": "a57f4164.a432",
                                "type": "comment",
                                "z": "f51578d8.868868",
                                "name": "Lies mich",
                                "info": "msg.parts anschauen - die split Node generiert hat:\n\nschau Dir an:\n\nmsg.parts.count\nmsg.parts.index",
                                "x": 1420,
                                "y": 880,
                                "wires": []
                            }
                          ]
                          
                          

                          Da hast du das untendrunter aber später geschrieben....das hab ich nichtmals gewusst

                          mickymM Online
                          mickymM Online
                          mickym
                          Most Active
                          wrote on last edited by mickym
                          #718

                          @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                          Da hast du das untendrunter aber später geschrieben....das hab ich nichtmals gewusst

                          Na jedenfalls weißt Du es jetzt und kannst Dir die Flowa ja mal anschauen.

                          Passt die Ausgabe sonst?

                          Und nochmal warum ich _setpoint und .setpoint bei dem Topic genommen habe - ist damit das falls man es braucht nicht als Pfad verwendet wird, im Gegensatz zur 1. Change Node wo das Topic sehr wohl einen Pfad zum iobroker Datenpunkt gebildet hat. Manchmal erklären sich Dinge halt erst im Zusammenhang.

                          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.

                          Marko1974M 2 Replies Last reply
                          0
                          • mickymM mickym

                            @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                            Da hast du das untendrunter aber später geschrieben....das hab ich nichtmals gewusst

                            Na jedenfalls weißt Du es jetzt und kannst Dir die Flowa ja mal anschauen.

                            Passt die Ausgabe sonst?

                            Und nochmal warum ich _setpoint und .setpoint bei dem Topic genommen habe - ist damit das falls man es braucht nicht als Pfad verwendet wird, im Gegensatz zur 1. Change Node wo das Topic sehr wohl einen Pfad zum iobroker Datenpunkt gebildet hat. Manchmal erklären sich Dinge halt erst im Zusammenhang.

                            Marko1974M Offline
                            Marko1974M Offline
                            Marko1974
                            wrote on last edited by
                            #719

                            @mickym das mit dem pfad selbst ist mir klar ....aber warum einmal '_setpoint' "setpoint" <setpoint> .... oder ist setpoint immer gleich und was drumherum steht ist egal?

                            mickymM 1 Reply Last reply
                            0
                            • mickymM mickym

                              @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                              Da hast du das untendrunter aber später geschrieben....das hab ich nichtmals gewusst

                              Na jedenfalls weißt Du es jetzt und kannst Dir die Flowa ja mal anschauen.

                              Passt die Ausgabe sonst?

                              Und nochmal warum ich _setpoint und .setpoint bei dem Topic genommen habe - ist damit das falls man es braucht nicht als Pfad verwendet wird, im Gegensatz zur 1. Change Node wo das Topic sehr wohl einen Pfad zum iobroker Datenpunkt gebildet hat. Manchmal erklären sich Dinge halt erst im Zusammenhang.

                              Marko1974M Offline
                              Marko1974M Offline
                              Marko1974
                              wrote on last edited by Marko1974
                              #720

                              @mickym

                              Passt die Ausgabe sonst?

                              passt ... nur nochmal aufgehübscht

                              false.JPG
                              Hab da so nen monk

                              Marko1974M 2 Replies Last reply
                              0
                              • Marko1974M Marko1974

                                @mickym

                                Passt die Ausgabe sonst?

                                passt ... nur nochmal aufgehübscht

                                false.JPG
                                Hab da so nen monk

                                Marko1974M Offline
                                Marko1974M Offline
                                Marko1974
                                wrote on last edited by
                                #721

                                @marko1974 können wir das blöde Fenster noch machen?

                                Wie lange ist die ungefähre Dauer, wenn ich das erklärt haben möchte?
                                In blockly könnte ich das.

                                mickymM 1 Reply Last reply
                                0
                                • Marko1974M Marko1974

                                  @mickym das mit dem pfad selbst ist mir klar ....aber warum einmal '_setpoint' "setpoint" <setpoint> .... oder ist setpoint immer gleich und was drumherum steht ist egal?

                                  mickymM Online
                                  mickymM Online
                                  mickym
                                  Most Active
                                  wrote on last edited by
                                  #722

                                  @marko1974 Für das topic zum Auslesen aus dem iobroker ist die Syntax zwingend - das jede Hiearchieebene durch einen Punkt abgegrenzt wird.

                                  Anonsten hätte wir als Topic auch nur den Raum nehmen können - oder irgendwas

                                  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.

                                  Marko1974M 1 Reply Last reply
                                  0
                                  • Marko1974M Marko1974

                                    @marko1974 können wir das blöde Fenster noch machen?

                                    Wie lange ist die ungefähre Dauer, wenn ich das erklärt haben möchte?
                                    In blockly könnte ich das.

                                    mickymM Online
                                    mickymM Online
                                    mickym
                                    Most Active
                                    wrote on last edited by mickym
                                    #723

                                    @marko1974 Das Fenster ist nur vom Bad bei allen anderen hast Du ja MAX kontakte und das geht ja ohne iobroker.

                                    Hier das Badfenster - Du musst nur noch den iobroker In Node modifizieren:

                                    [
                                       {
                                           "id": "4246e075.5bc99",
                                           "type": "ioBroker in",
                                           "z": "f51578d8.868868",
                                           "name": "",
                                           "topic": "Fenster.auf",
                                           "payloadType": "value",
                                           "onlyack": "",
                                           "func": "all",
                                           "gap": "",
                                           "fireOnStart": "false",
                                           "x": 140,
                                           "y": 240,
                                           "wires": [
                                               [
                                                   "8775726b.e74b1"
                                               ]
                                           ]
                                       },
                                       {
                                           "id": "8775726b.e74b1",
                                           "type": "change",
                                           "z": "f51578d8.868868",
                                           "name": "",
                                           "rules": [
                                               {
                                                   "t": "change",
                                                   "p": "payload",
                                                   "pt": "msg",
                                                   "from": "opened",
                                                   "fromt": "str",
                                                   "to": "OFF",
                                                   "tot": "str"
                                               },
                                               {
                                                   "t": "change",
                                                   "p": "payload",
                                                   "pt": "msg",
                                                   "from": "closed",
                                                   "fromt": "str",
                                                   "to": "AUTO",
                                                   "tot": "str"
                                               }
                                           ],
                                           "action": "",
                                           "property": "",
                                           "from": "",
                                           "to": "",
                                           "reg": false,
                                           "x": 340,
                                           "y": 240,
                                           "wires": [
                                               [
                                                   "5c2df36.6615c0c"
                                               ]
                                           ]
                                       },
                                       {
                                           "id": "5c2df36.6615c0c",
                                           "type": "ioBroker out",
                                           "z": "f51578d8.868868",
                                           "name": "",
                                           "topic": "0_userdata.0.Heizung.Badezimmer.mode",
                                           "ack": "true",
                                           "autoCreate": "false",
                                           "stateName": "",
                                           "role": "",
                                           "payloadType": "",
                                           "readonly": "",
                                           "stateUnit": "",
                                           "stateMin": "",
                                           "stateMax": "",
                                           "x": 620,
                                           "y": 240,
                                           "wires": []
                                       }
                                    ]
                                    

                                    1b0a3231-9d1b-4cb4-b974-f4c064913799-image.png

                                    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.

                                    Marko1974M 1 Reply Last reply
                                    1
                                    • mickymM mickym

                                      @marko1974 Für das topic zum Auslesen aus dem iobroker ist die Syntax zwingend - das jede Hiearchieebene durch einen Punkt abgegrenzt wird.

                                      Anonsten hätte wir als Topic auch nur den Raum nehmen können - oder irgendwas

                                      Marko1974M Offline
                                      Marko1974M Offline
                                      Marko1974
                                      wrote on last edited by
                                      #724

                                      @mickym said in MAX! Cube Blockly Abwesenheit:

                                      @marko1974 Für das topic zum Auslesen aus dem iobroker ist die Syntax zwingend - das jede Hiearchieebene durch einen Punkt abgegrenzt wird.

                                      Anonsten hätte wir als Topic auch nur den Raum nehmen können - oder irgendwas

                                      das meine ich nicht.

                                      Raum gab es ja auch schon woanders. Kann ich das dann einfach wieder raum nennen, obwohl es das schon gibt...oder nimmt er dann raum von dort.
                                      das mit dem get iobroker hab ich verstanden...da ist die hierarchie durch den punkt für die ebene getrennt.....
                                      Ich meinte wenn man es dann irgendwann _setpoint nennt....als payload....dann kann ich es doch später nicht 'setpoint' nennen, oder?

                                      mickymM 1 Reply Last reply
                                      0
                                      • Marko1974M Marko1974

                                        @mickym said in MAX! Cube Blockly Abwesenheit:

                                        @marko1974 Für das topic zum Auslesen aus dem iobroker ist die Syntax zwingend - das jede Hiearchieebene durch einen Punkt abgegrenzt wird.

                                        Anonsten hätte wir als Topic auch nur den Raum nehmen können - oder irgendwas

                                        das meine ich nicht.

                                        Raum gab es ja auch schon woanders. Kann ich das dann einfach wieder raum nennen, obwohl es das schon gibt...oder nimmt er dann raum von dort.
                                        das mit dem get iobroker hab ich verstanden...da ist die hierarchie durch den punkt für die ebene getrennt.....
                                        Ich meinte wenn man es dann irgendwann _setpoint nennt....als payload....dann kann ich es doch später nicht 'setpoint' nennen, oder?

                                        mickymM Online
                                        mickymM Online
                                        mickym
                                        Most Active
                                        wrote on last edited by
                                        #725

                                        @marko1974 Mir egal es muss halt für jeden Raum ein unterschiedliches Topic nehmen. Du kannst auch einfach die room Eigenschaft des msg Objektes nehmen - dann sieht das so aus

                                        9e5611bb-e0ce-4efc-8ea9-23c83189d112-image.png

                                        udn nach der JOIN Node so:

                                        0eb920e5-1f5c-4755-9f67-55fef2983aad-image.png

                                        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.

                                        1 Reply Last reply
                                        0
                                        • mickymM mickym

                                          @marko1974 Das Fenster ist nur vom Bad bei allen anderen hast Du ja MAX kontakte und das geht ja ohne iobroker.

                                          Hier das Badfenster - Du musst nur noch den iobroker In Node modifizieren:

                                          [
                                             {
                                                 "id": "4246e075.5bc99",
                                                 "type": "ioBroker in",
                                                 "z": "f51578d8.868868",
                                                 "name": "",
                                                 "topic": "Fenster.auf",
                                                 "payloadType": "value",
                                                 "onlyack": "",
                                                 "func": "all",
                                                 "gap": "",
                                                 "fireOnStart": "false",
                                                 "x": 140,
                                                 "y": 240,
                                                 "wires": [
                                                     [
                                                         "8775726b.e74b1"
                                                     ]
                                                 ]
                                             },
                                             {
                                                 "id": "8775726b.e74b1",
                                                 "type": "change",
                                                 "z": "f51578d8.868868",
                                                 "name": "",
                                                 "rules": [
                                                     {
                                                         "t": "change",
                                                         "p": "payload",
                                                         "pt": "msg",
                                                         "from": "opened",
                                                         "fromt": "str",
                                                         "to": "OFF",
                                                         "tot": "str"
                                                     },
                                                     {
                                                         "t": "change",
                                                         "p": "payload",
                                                         "pt": "msg",
                                                         "from": "closed",
                                                         "fromt": "str",
                                                         "to": "AUTO",
                                                         "tot": "str"
                                                     }
                                                 ],
                                                 "action": "",
                                                 "property": "",
                                                 "from": "",
                                                 "to": "",
                                                 "reg": false,
                                                 "x": 340,
                                                 "y": 240,
                                                 "wires": [
                                                     [
                                                         "5c2df36.6615c0c"
                                                     ]
                                                 ]
                                             },
                                             {
                                                 "id": "5c2df36.6615c0c",
                                                 "type": "ioBroker out",
                                                 "z": "f51578d8.868868",
                                                 "name": "",
                                                 "topic": "0_userdata.0.Heizung.Badezimmer.mode",
                                                 "ack": "true",
                                                 "autoCreate": "false",
                                                 "stateName": "",
                                                 "role": "",
                                                 "payloadType": "",
                                                 "readonly": "",
                                                 "stateUnit": "",
                                                 "stateMin": "",
                                                 "stateMax": "",
                                                 "x": 620,
                                                 "y": 240,
                                                 "wires": []
                                             }
                                          ]
                                          

                                          1b0a3231-9d1b-4cb4-b974-f4c064913799-image.png

                                          Marko1974M Offline
                                          Marko1974M Offline
                                          Marko1974
                                          wrote on last edited by
                                          #726

                                          1b0a3231-9d1b-4cb4-b974-f4c064913799-image.png

                                          Resigniert? :-)

                                          Muss dass nicht true oder false heissen im change?

                                          false.JPG

                                          mickymM 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          711

                                          Online

                                          32.5k

                                          Users

                                          81.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe