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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. MAX! Cube Blockly Abwesenheit

NEWS

  • Wartung am 15.11. – Forum ab 22:00 Uhr nicht erreichbar
    BluefoxB
    Bluefox
    11
    2
    209

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

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

MAX! Cube Blockly Abwesenheit

MAX! Cube Blockly Abwesenheit

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

    @mickym said in MAX! Cube Blockly Abwesenheit:

    @marko1974 Nochmal - das ist nicht schwer und ich sitze auch 2 Stunden mit Dir hier - also Mut:

    Nun hängst Du die Debug Node mit der Ausgabe des kompletten Nachrichten Objektes bitte an die nächste Node und schaust ob nun die Daten mit iobroker get Node ausgelesen werden:

    42aed8d6-e8b7-4e34-a4b4-e4ccad7cde8b-image.png

    false.JPG

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

    @marko1974 said in MAX! Cube Blockly Abwesenheit:

    @mickym said in MAX! Cube Blockly Abwesenheit:

    @marko1974 Nochmal - das ist nicht schwer und ich sitze auch 2 Stunden mit Dir hier - also Mut:

    Nun hängst Du die Debug Node mit der Ausgabe des kompletten Nachrichten Objektes bitte an die nächste Node und schaust ob nun die Daten mit iobroker get Node ausgelesen werden:

    42aed8d6-e8b7-4e34-a4b4-e4ccad7cde8b-image.png

    false.JPG

    ich war jetzt schon hier

    Marko1974M mickymM 2 Replies Last reply
    0
    • Marko1974M Marko1974

      @marko1974 said in MAX! Cube Blockly Abwesenheit:

      @mickym said in MAX! Cube Blockly Abwesenheit:

      @marko1974 Nochmal - das ist nicht schwer und ich sitze auch 2 Stunden mit Dir hier - also Mut:

      Nun hängst Du die Debug Node mit der Ausgabe des kompletten Nachrichten Objektes bitte an die nächste Node und schaust ob nun die Daten mit iobroker get Node ausgelesen werden:

      42aed8d6-e8b7-4e34-a4b4-e4ccad7cde8b-image.png

      false.JPG

      ich war jetzt schon hier

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

      @marko1974

      jetzt bekomme ich payload 17 weil ich nur nach setpoint gefragt habe und den room und jede menge anderes was nicht gefiltert ist. Daher muss man das jetzt zusammenfassen und sagen, dass 17 die Temp ist und in Celsius angezeigt wird

      mickymM 1 Reply Last reply
      0
      • Marko1974M Marko1974

        @marko1974 said in MAX! Cube Blockly Abwesenheit:

        @mickym said in MAX! Cube Blockly Abwesenheit:

        @marko1974 Nochmal - das ist nicht schwer und ich sitze auch 2 Stunden mit Dir hier - also Mut:

        Nun hängst Du die Debug Node mit der Ausgabe des kompletten Nachrichten Objektes bitte an die nächste Node und schaust ob nun die Daten mit iobroker get Node ausgelesen werden:

        42aed8d6-e8b7-4e34-a4b4-e4ccad7cde8b-image.png

        false.JPG

        ich war jetzt schon hier

        mickymM Offline
        mickymM Offline
        mickym
        Most Active
        wrote on last edited by
        #699

        @marko1974 Klasse !!! - So nun werden wir die 6 Nachrichten wieder in eine Nachricht überführen - dazu nehmen wir ein JOIN Node und konfigurieren die wie folgt - die Debug Node bitte wieder hinter die JOIN Node hängen:

        99366a93-51fb-47e1-9278-ebd7cd4cfcb0-image.png

        Du siehst wir sind bald am Ende.

        45e94bb8-c24c-47f9-9f47-712b32284339-image.png

        @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

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

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

        1 Reply Last reply
        0
        • Marko1974M Marko1974

          @marko1974

          jetzt bekomme ich payload 17 weil ich nur nach setpoint gefragt habe und den room und jede menge anderes was nicht gefiltert ist. Daher muss man das jetzt zusammenfassen und sagen, dass 17 die Temp ist und in Celsius angezeigt wird

          mickymM Offline
          mickymM Offline
          mickym
          Most Active
          wrote on last edited by
          #700

          @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.

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

          Marko1974M 1 Reply Last reply
          0
          • mickymM mickym

            @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

            @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
            wrote on last edited by
            #701

            @mickym boar wer ist denn join schon wieder 😧

            mickymM 3 Replies Last reply
            0
            • Marko1974M Marko1974

              @mickym boar wer ist denn join schon wieder 😧

              mickymM Offline
              mickymM Offline
              mickym
              Most Active
              wrote on last edited by
              #702

              @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

              @mickym boar wer ist denn join schon wieder 😧

              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 Reply Last reply
              0
              • mickymM mickym

                @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                @mickym boar wer ist denn join schon wieder 😧

                Die ist gleich unter der split Node

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

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

                @mickym said in MAX! Cube Blockly Abwesenheit:

                @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                @mickym boar wer ist denn join schon wieder 😧

                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 Replies Last reply
                0
                • Marko1974M Marko1974

                  @mickym said in MAX! Cube Blockly Abwesenheit:

                  @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                  @mickym boar wer ist denn join schon wieder 😧

                  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
                  wrote on last edited by
                  #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 😧

                  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 Reply Last reply
                  0
                  • Marko1974M Marko1974

                    @mickym said in MAX! Cube Blockly Abwesenheit:

                    @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                    @mickym boar wer ist denn join schon wieder 😧

                    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
                    wrote on last edited by
                    #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 😧

                    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 Reply Last reply
                    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 😧

                      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
                      wrote on last edited by
                      #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 😧

                      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 Reply Last reply
                      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 😧

                        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
                        wrote on last edited by mickym
                        #707

                        @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                        @marko1974 said in MAX! Cube Blockly Abwesenheit:

                        @mickym said in MAX! Cube Blockly Abwesenheit:

                        @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                        @mickym boar wer ist denn join schon wieder 😧

                        Die ist gleich unter der split Node

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

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

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

                        Genau 🙂

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

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

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

                        Also wieder eine neue Node lernen:

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

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

                        Marko1974M 1 Reply Last reply
                        0
                        • Marko1974M Marko1974

                          @mickym boar wer ist denn join schon wieder 😧

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

                          @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                          @mickym boar wer ist denn join schon wieder 😧

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

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

                          1 Reply Last reply
                          0
                          • mickymM mickym

                            @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                            @marko1974 said in MAX! Cube Blockly Abwesenheit:

                            @mickym said in MAX! Cube Blockly Abwesenheit:

                            @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                            @mickym boar wer ist denn join schon wieder 😧

                            Die ist gleich unter der split Node

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

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

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

                            Genau 🙂

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

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

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

                            Also wieder eine neue Node lernen:

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

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

                            @mickym nee template ist einfach

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

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

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

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

                              @mickym nee template ist einfach

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

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

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

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

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

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

                              Marko1974M 1 Reply Last reply
                              0
                              • mickymM mickym

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

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

                                @mickym said in MAX! Cube Blockly Abwesenheit:

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

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

                                mickymM 1 Reply Last reply
                                0
                                • Marko1974M Marko1974

                                  @mickym said in MAX! Cube Blockly Abwesenheit:

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

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

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

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

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

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

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

                                  Marko1974M 2 Replies Last reply
                                  0
                                  • mickymM mickym

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

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

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

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

                                    @mickym said in MAX! Cube Blockly Abwesenheit:

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

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

                                    1 Reply Last reply
                                    0
                                    • mickymM mickym

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

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

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

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

                                      @mickym said in MAX! Cube Blockly Abwesenheit:

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

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

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

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

                                      mickymM 1 Reply Last reply
                                      0
                                      • Marko1974M Marko1974

                                        @mickym boar wer ist denn join schon wieder 😧

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

                                        @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                                        @mickym boar wer ist denn join schon wieder 😧

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

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

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

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

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

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

                                        Marko1974M 1 Reply Last reply
                                        0
                                        • mickymM mickym

                                          @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                                          @mickym boar wer ist denn join schon wieder 😧

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

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

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

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

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

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

                                          @mickym said in MAX! Cube Blockly Abwesenheit:

                                          @marko1974 sagte in MAX! Cube Blockly Abwesenheit:

                                          @mickym boar wer ist denn join schon wieder 😧

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

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

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

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

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

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

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          100

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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