Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

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

NEWS

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

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

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

MAX! Cube Blockly Abwesenheit

Geplant Angeheftet Gesperrt Verschoben Blockly
867 Beiträge 4 Kommentatoren 193.3k Aufrufe 2 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • mickymM mickym

    @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

    @marko1974

    jetzt bekomme ich payload 17 weil ich nur nach setpoint gefragt habe und den room

    Mehr brauchen wir auch nicht mehr- die topic habe ich dieses Mal mit dem Unterstrich gemacht um nur zu kennzeichnen, dass es sich nicht mehr um einen iobroker Pfad handelt.

    Marko1974M Offline
    Marko1974M Offline
    Marko1974
    schrieb am zuletzt editiert von
    #701

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

    mickymM 3 Antworten Letzte Antwort
    0
    • Marko1974M Marko1974

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

      mickymM Offline
      mickymM Offline
      mickym
      Most Active
      schrieb am zuletzt editiert von
      #702

      @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

      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 Antwort Letzte Antwort
      0
      • mickymM mickym

        @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

        Marko1974M Offline
        Marko1974M Offline
        Marko1974
        schrieb am zuletzt editiert von
        #703

        @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

        mickymM Marko1974M 2 Antworten Letzte Antwort
        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:

          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

          mickymM Offline
          mickymM Offline
          mickym
          Most Active
          schrieb am zuletzt editiert von
          #704

          @marko1974 sagte 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

          Na weil Du nicht weiß was ich machen will - lass Dich halt erst mal darauf ein.

          Die JOIN Node kann also aus Deinen 6 Nachrichten wieder 1 machen und erstellt Dir ein Javascript Objekt mit dem topic als Eigenschaft und der payload jeder einzelnen Temperatur als Wert.

          Aus den 6 Nachrichten hast Du also eine Nachricht gemacht - die alle Informationen aus den setpoints enthält.

          ec394050-d785-4131-a7cf-c5f13adabaa0-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 Antwort Letzte Antwort
          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:

            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

            Marko1974M Offline
            Marko1974M Offline
            Marko1974
            schrieb am zuletzt editiert von
            #705

            @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 1 Antwort Letzte Antwort
            0
            • mickymM mickym

              @marko1974 sagte 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

              Na weil Du nicht weiß was ich machen will - lass Dich halt erst mal darauf ein.

              Die JOIN Node kann also aus Deinen 6 Nachrichten wieder 1 machen und erstellt Dir ein Javascript Objekt mit dem topic als Eigenschaft und der payload jeder einzelnen Temperatur als Wert.

              Aus den 6 Nachrichten hast Du also eine Nachricht gemacht - die alle Informationen aus den setpoints enthält.

              ec394050-d785-4131-a7cf-c5f13adabaa0-image.png

              Marko1974M Offline
              Marko1974M Offline
              Marko1974
              schrieb am zuletzt editiert von
              #706

              @mickym said in MAX! Cube Blockly Abwesenheit:

              @marko1974 sagte 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

              Na weil Du nicht weiß was ich machen will - lass Dich halt erst mal darauf ein.

              Die JOIN Node kann also aus Deinen 6 Nachrichten wieder 1 machen und erstellt Dir ein Javascript Objekt mit dem topic als Eigenschaft und der payload jeder einzelnen Temperatur als Wert.

              Aus den 6 Nachrichten hast Du also eine Nachricht gemacht - die alle Informationen aus den setpoints enthält.

              ec394050-d785-4131-a7cf-c5f13adabaa0-image.png

              stimmt

              {"Kinderzimmer_setpoint":17,"Schlafzimmer_setpoint":17,"Wohnzimmer_setpoint":18,"Flur_setpoint":17,"Küche_setpoint":20,"Badezimmer_setpoint":17}
              
              1 Antwort Letzte Antwort
              0
              • 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 Offline
                mickymM Offline
                mickym
                Most Active
                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                0
                • Marko1974M Marko1974

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

                  mickymM Offline
                  mickymM Offline
                  mickym
                  Most Active
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von
                    #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 Antwort Letzte Antwort
                    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 Offline
                      mickymM Offline
                      mickym
                      Most Active
                      schrieb am zuletzt editiert von
                      #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 Antwort Letzte Antwort
                      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
                        schrieb am zuletzt editiert von
                        #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 Antwort Letzte Antwort
                        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 Offline
                          mickymM Offline
                          mickym
                          Most Active
                          schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                          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
                            schrieb am zuletzt editiert von
                            #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 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              0
                              • Marko1974M Marko1974

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

                                mickymM Offline
                                mickymM Offline
                                mickym
                                Most Active
                                schrieb am zuletzt editiert von
                                #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 Antwort Letzte Antwort
                                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
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  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 Offline
                                    mickymM Offline
                                    mickym
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #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 Antwort Letzte Antwort
                                    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 Offline
                                      mickymM Offline
                                      mickym
                                      Most Active
                                      schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                                      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
                                        schrieb am zuletzt editiert von
                                        #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 Antwort Letzte Antwort
                                        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
                                          schrieb am zuletzt editiert von Marko1974
                                          #720

                                          @mickym

                                          Passt die Ausgabe sonst?

                                          passt ... nur nochmal aufgehübscht

                                          false.JPG
                                          Hab da so nen monk

                                          Marko1974M 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          833

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe