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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    364

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

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

Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
vis
119 Beiträge 16 Kommentatoren 10.8k Aufrufe 7 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • F fastfoot

    @th-g said in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

    @fastfoot

    Die Warnung im Log ist nicht mehr da ABER nach dem Heizen wird nun auch nicht mehr im DP Status_WP -nicht aktiv- gesetzt. Es steht nun immer Heizen im DP.

    Gestern war wohl nicht mein Tag :-( Ich habe das Intervall total übersehen und bin deshalb davon ausgegangen, dass auch getriggert wird wenn von True auf Nichts geändert wird. Ich denke dass das ein Fehler im JS-Adapter ist. Es ist richtig, dass Wert sich innerhalb des Intervalls nicht ändert, da er an den Trigger gekoppelt ist.

    Ich würde es jetzt so wie ursprünglich belassen und mit den Fehlern leben bis sie gefixt sind. Ich kann versuchen, später eine JS-Funktion zu schreiben, die du als Workaround verwenden könntest

    TH GT Offline
    TH GT Offline
    TH G
    schrieb am zuletzt editiert von
    #82

    @fastfoot

    Das wäre sehr gut und würde mich freuen, wenn du eine Übergangslösung hast.

    F 1 Antwort Letzte Antwort
    0
    • TH GT TH G

      @fastfoot

      Das wäre sehr gut und würde mich freuen, wenn du eine Übergangslösung hast.

      F Offline
      F Offline
      fastfoot
      schrieb am zuletzt editiert von
      #83

      @th-g said in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

      @fastfoot

      Das wäre sehr gut und würde mich freuen, wenn du eine Übergangslösung hast.

      So, neuer Versuch, die JS-Funktion prüft ob der Status existiert, falls nicht wird Falsch zurückgegeben, falls er existiert wird der tatsächliche Wert geliefert(der in diesem Fall eigentlich immer Wahr sein sollte), insofern ist die Funktion aufgebauscht.
      HM.PNG
      Die Datenpunkte und die Variable id im Skript musst du natürlich noch anpassen

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="X%@`%Fwh:N!{3?wFePrX">id</variable>
          <variable type="interval" id="Intervall">Intervall</variable>
          <variable id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</variable>
        </variables>
        <block type="procedures_defcustomreturn" id="en56nesdIDI1w2p3?g4o" x="-613" y="37">
          <mutation statements="false">
            <arg name="id" varid="X%@`%Fwh:N!{3?wFePrX"></arg>
          </mutation>
          <field name="NAME">status</field>
          <field name="SCRIPT">bGV0IHN0YXQ7DQppZighZXhpc3RzU3RhdGUoaWQpKSB7DQogICAgc3RhdCA9ICBmYWxzZTsNCn0gZWxzZSB7DQogICAgc3RhdCA9IChhd2FpdCBnZXRTdGF0ZUFzeW5jKGlkKSkudmFsOw0KfQ0KcmV0dXJuIHN0YXQ7</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
        </block>
        <block type="variables_set" id="*8.nqG@Jv]T}v.KRZ{@0" x="-613" y="62">
          <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
          <value name="VALUE">
            <block type="text" id="PLa$]*nn#aVr.5!bBn@?">
              <field name="TEXT">0_userdata.0.Heizung.Heizen</field>
            </block>
          </value>
          <next>
            <block type="timeouts_clearinterval" id="-X.,*u/]42py`#]|-t:z">
              <field name="NAME">Intervall</field>
              <next>
                <block type="timeouts_setinterval" id="?aEn+kt6PmFGE[p~XA1e">
                  <field name="NAME">Intervall</field>
                  <field name="INTERVAL">1000</field>
                  <field name="UNIT">ms</field>
                  <statement name="STATEMENT">
                    <block type="variables_set" id="w_dtgT{;Ok-WHNn^87$t">
                      <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                      <value name="VALUE">
                        <block type="procedures_callcustomreturn" id="v_lqnLU}7B#A0%/chCT0" inline="true">
                          <mutation name="status">
                            <arg name="id"></arg>
                          </mutation>
                          <value name="ARG0">
                            <block type="variables_get" id="1B.vjc2JNw^M)p|t]5sv">
                              <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="controls_if" id="~(bE[%vsILoN/Ek:_`m6">
                          <mutation else="1"></mutation>
                          <value name="IF0">
                            <block type="variables_get" id="0uW@6:JiLwo,RCzY#esL">
                              <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="update" id="cZxPS)X@V0wnwD|mwVX1">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="52oB)g/-a?+Z~O=so-9H">
                                  <field name="TEXT">Heizung läuft</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <statement name="ELSE">
                            <block type="update" id="~$Cc9,M^,0_60=+abb,`">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="H=b1z!W@8M}UyedaAVPb">
                                  <field name="TEXT">Heizung nicht aktiv</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      

      iobroker läuft unter Docker auf QNAP TS-451+
      SkriptRecovery: https://forum.iobroker.net/post/930558

      TH GT 1 Antwort Letzte Antwort
      0
      • F fastfoot

        @th-g said in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

        @fastfoot

        Das wäre sehr gut und würde mich freuen, wenn du eine Übergangslösung hast.

        So, neuer Versuch, die JS-Funktion prüft ob der Status existiert, falls nicht wird Falsch zurückgegeben, falls er existiert wird der tatsächliche Wert geliefert(der in diesem Fall eigentlich immer Wahr sein sollte), insofern ist die Funktion aufgebauscht.
        HM.PNG
        Die Datenpunkte und die Variable id im Skript musst du natürlich noch anpassen

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable id="X%@`%Fwh:N!{3?wFePrX">id</variable>
            <variable type="interval" id="Intervall">Intervall</variable>
            <variable id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</variable>
          </variables>
          <block type="procedures_defcustomreturn" id="en56nesdIDI1w2p3?g4o" x="-613" y="37">
            <mutation statements="false">
              <arg name="id" varid="X%@`%Fwh:N!{3?wFePrX"></arg>
            </mutation>
            <field name="NAME">status</field>
            <field name="SCRIPT">bGV0IHN0YXQ7DQppZighZXhpc3RzU3RhdGUoaWQpKSB7DQogICAgc3RhdCA9ICBmYWxzZTsNCn0gZWxzZSB7DQogICAgc3RhdCA9IChhd2FpdCBnZXRTdGF0ZUFzeW5jKGlkKSkudmFsOw0KfQ0KcmV0dXJuIHN0YXQ7</field>
            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          </block>
          <block type="variables_set" id="*8.nqG@Jv]T}v.KRZ{@0" x="-613" y="62">
            <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
            <value name="VALUE">
              <block type="text" id="PLa$]*nn#aVr.5!bBn@?">
                <field name="TEXT">0_userdata.0.Heizung.Heizen</field>
              </block>
            </value>
            <next>
              <block type="timeouts_clearinterval" id="-X.,*u/]42py`#]|-t:z">
                <field name="NAME">Intervall</field>
                <next>
                  <block type="timeouts_setinterval" id="?aEn+kt6PmFGE[p~XA1e">
                    <field name="NAME">Intervall</field>
                    <field name="INTERVAL">1000</field>
                    <field name="UNIT">ms</field>
                    <statement name="STATEMENT">
                      <block type="variables_set" id="w_dtgT{;Ok-WHNn^87$t">
                        <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                        <value name="VALUE">
                          <block type="procedures_callcustomreturn" id="v_lqnLU}7B#A0%/chCT0" inline="true">
                            <mutation name="status">
                              <arg name="id"></arg>
                            </mutation>
                            <value name="ARG0">
                              <block type="variables_get" id="1B.vjc2JNw^M)p|t]5sv">
                                <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="controls_if" id="~(bE[%vsILoN/Ek:_`m6">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="variables_get" id="0uW@6:JiLwo,RCzY#esL">
                                <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="update" id="cZxPS)X@V0wnwD|mwVX1">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="52oB)g/-a?+Z~O=so-9H">
                                    <field name="TEXT">Heizung läuft</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="update" id="~$Cc9,M^,0_60=+abb,`">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="H=b1z!W@8M}UyedaAVPb">
                                    <field name="TEXT">Heizung nicht aktiv</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </xml>
        

        TH GT Offline
        TH GT Offline
        TH G
        schrieb am zuletzt editiert von TH G
        #84

        @fastfoot

        Danke aber wie bekomme ich das importiert?

        F 1 Antwort Letzte Antwort
        0
        • TH GT TH G

          @fastfoot

          Danke aber wie bekomme ich das importiert?

          F Offline
          F Offline
          fastfoot
          schrieb am zuletzt editiert von
          #85

          @th-g said in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

          @fastfoot

          Danke aber wie bekomme ich das importiert?

          • Hier den Import anklicken und kopieren
          • Blockly erzeugen
          • oben rechts linkes Icon importieren mit CTRL-V

          iobroker läuft unter Docker auf QNAP TS-451+
          SkriptRecovery: https://forum.iobroker.net/post/930558

          TH GT 1 Antwort Letzte Antwort
          0
          • F fastfoot

            @th-g said in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

            @fastfoot

            Danke aber wie bekomme ich das importiert?

            • Hier den Import anklicken und kopieren
            • Blockly erzeugen
            • oben rechts linkes Icon importieren mit CTRL-V
            TH GT Offline
            TH GT Offline
            TH G
            schrieb am zuletzt editiert von TH G
            #86

            @fastfoot

            Ja genau so habe ich es gemacht aber es will nicht rein mit der Meldung -Fehler beim Importieren-

            F 1 Antwort Letzte Antwort
            0
            • TH GT TH G

              @fastfoot

              Ja genau so habe ich es gemacht aber es will nicht rein mit der Meldung -Fehler beim Importieren-

              F Offline
              F Offline
              fastfoot
              schrieb am zuletzt editiert von
              #87

              @th-g said in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

              @fastfoot

              Ja genau so habe ich es gemacht aber es will nicht rein mit der Meldung -Fehler beim Importieren-

              Dann musst du darauf achten, den kompletten Text zu kopieren, der ist in Ordnung, gerade probiert

              iobroker läuft unter Docker auf QNAP TS-451+
              SkriptRecovery: https://forum.iobroker.net/post/930558

              TH GT 1 Antwort Letzte Antwort
              0
              • F fastfoot

                @th-g said in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

                @fastfoot

                Ja genau so habe ich es gemacht aber es will nicht rein mit der Meldung -Fehler beim Importieren-

                Dann musst du darauf achten, den kompletten Text zu kopieren, der ist in Ordnung, gerade probiert

                TH GT Offline
                TH GT Offline
                TH G
                schrieb am zuletzt editiert von TH G
                #88

                @fastfoot

                Ja das ist mir bekannt. Ein anderer Import geht. Ich lösche jetzt und machen ein neues Blockly.

                Das wird als Wert angezeigt, wenn ich einen DP hinzufügen will.

                Bildschirmfoto 2021-01-17 um 22.43.31.png

                Mit einem neuen Blockly geht es nun warum auch immer.

                Nun musst du mir unbeholfene Anwender noch sagen, was ich wo eintragen muss. Der Falls Teil ist mir soweit klar.

                F 1 Antwort Letzte Antwort
                0
                • TH GT TH G

                  @fastfoot

                  Ja das ist mir bekannt. Ein anderer Import geht. Ich lösche jetzt und machen ein neues Blockly.

                  Das wird als Wert angezeigt, wenn ich einen DP hinzufügen will.

                  Bildschirmfoto 2021-01-17 um 22.43.31.png

                  Mit einem neuen Blockly geht es nun warum auch immer.

                  Nun musst du mir unbeholfene Anwender noch sagen, was ich wo eintragen muss. Der Falls Teil ist mir soweit klar.

                  F Offline
                  F Offline
                  fastfoot
                  schrieb am zuletzt editiert von
                  #89

                  @th-g said in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

                  @fastfoot

                  Ja das ist mir bekannt. Ein anderer Import geht. Ich lösche jetzt und machen ein neues Blockly.

                  Das wird als Wert angezeigt, wenn ich einen DP hinzufügen will.

                  Bildschirmfoto 2021-01-17 um 22.43.31.png

                  Mit einem neuen Blockly geht es nun warum auch immer.

                  Nun musst du mir unbeholfene Anwender noch sagen, was ich wo eintragen muss. Der Falls Teil ist mir soweit klar.

                  Da wo steuere Status_WP steht klickst du jeweils drauf und wählst deinen tatsächlichen Datenpunkt aus. Bei setze ID musst du den Pfad händisch eingeben oder aus dem Objektbaum kopieren(rechts neben der ID dort klicken)

                  iobroker läuft unter Docker auf QNAP TS-451+
                  SkriptRecovery: https://forum.iobroker.net/post/930558

                  TH GT 1 Antwort Letzte Antwort
                  0
                  • F fastfoot

                    @th-g said in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

                    @fastfoot

                    Ja das ist mir bekannt. Ein anderer Import geht. Ich lösche jetzt und machen ein neues Blockly.

                    Das wird als Wert angezeigt, wenn ich einen DP hinzufügen will.

                    Bildschirmfoto 2021-01-17 um 22.43.31.png

                    Mit einem neuen Blockly geht es nun warum auch immer.

                    Nun musst du mir unbeholfene Anwender noch sagen, was ich wo eintragen muss. Der Falls Teil ist mir soweit klar.

                    Da wo steuere Status_WP steht klickst du jeweils drauf und wählst deinen tatsächlichen Datenpunkt aus. Bei setze ID musst du den Pfad händisch eingeben oder aus dem Objektbaum kopieren(rechts neben der ID dort klicken)

                    TH GT Offline
                    TH GT Offline
                    TH G
                    schrieb am zuletzt editiert von
                    #90

                    @fastfoot

                    Meinst du das jetzt so:

                    Bildschirmfoto 2021-01-18 um 11.07.01.png

                    F 1 Antwort Letzte Antwort
                    0
                    • TH GT TH G

                      @fastfoot

                      Meinst du das jetzt so:

                      Bildschirmfoto 2021-01-18 um 11.07.01.png

                      F Offline
                      F Offline
                      fastfoot
                      schrieb am zuletzt editiert von
                      #91

                      @th-g ja genau, und dann testen

                      iobroker läuft unter Docker auf QNAP TS-451+
                      SkriptRecovery: https://forum.iobroker.net/post/930558

                      TH GT 1 Antwort Letzte Antwort
                      0
                      • F fastfoot

                        @th-g ja genau, und dann testen

                        TH GT Offline
                        TH GT Offline
                        TH G
                        schrieb am zuletzt editiert von
                        #92

                        @fastfoot

                        Bildschirmfoto 2021-01-18 um 14.02.18.png Bildschirmfoto 2021-01-18 um 14.02.53.png

                        F 1 Antwort Letzte Antwort
                        0
                        • TH GT TH G

                          @fastfoot

                          Bildschirmfoto 2021-01-18 um 14.02.18.png Bildschirmfoto 2021-01-18 um 14.02.53.png

                          F Offline
                          F Offline
                          fastfoot
                          schrieb am zuletzt editiert von
                          #93

                          @th-g seltsam, bei mir läuft es in der Simulation. Probiere mal diesen Import,

                          <xml xmlns="https://developers.google.com/blockly/xml">
                           <variables>
                             <variable id="X%@`%Fwh:N!{3?wFePrX">id</variable>
                             <variable type="interval" id="Intervall">Intervall</variable>
                             <variable id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</variable>
                           </variables>
                           <block type="procedures_defcustomreturn" id="en56nesdIDI1w2p3?g4o" x="-613" y="37">
                             <mutation statements="false">
                               <arg name="id" varid="X%@`%Fwh:N!{3?wFePrX"></arg>
                             </mutation>
                             <field name="NAME">status</field>
                             <field name="SCRIPT">DQppZighZXhpc3RzU3RhdGUoaWQpKSB7DQogICAgc3RhdCA9ICBmYWxzZTsNCn0gZWxzZSB7DQogICAgc3RhdCA9IChhd2FpdCBnZXRTdGF0ZUFzeW5jKGlkKSkudmFsOw0KfQ0KcmV0dXJuIHN0YXQ7</field>
                             <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                           </block>
                           <block type="variables_set" id="*8.nqG@Jv]T}v.KRZ{@0" x="-613" y="62">
                             <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                             <value name="VALUE">
                               <block type="text" id="PLa$]*nn#aVr.5!bBn@?">
                                 <field name="TEXT">0_userdata.0.Heizung.Heizen</field>
                               </block>
                             </value>
                             <next>
                               <block type="timeouts_clearinterval" id="-X.,*u/]42py`#]|-t:z">
                                 <field name="NAME">Intervall</field>
                                 <next>
                                   <block type="timeouts_setinterval" id="?aEn+kt6PmFGE[p~XA1e">
                                     <field name="NAME">Intervall</field>
                                     <field name="INTERVAL">1000</field>
                                     <field name="UNIT">ms</field>
                                     <statement name="STATEMENT">
                                       <block type="variables_set" id="w_dtgT{;Ok-WHNn^87$t">
                                         <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                                         <value name="VALUE">
                                           <block type="procedures_callcustomreturn" id="v_lqnLU}7B#A0%/chCT0" inline="true">
                                             <mutation name="status">
                                               <arg name="id"></arg>
                                             </mutation>
                                             <value name="ARG0">
                                               <block type="variables_get" id="1B.vjc2JNw^M)p|t]5sv">
                                                 <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="controls_if" id="~(bE[%vsILoN/Ek:_`m6">
                                             <mutation else="1"></mutation>
                                             <value name="IF0">
                                               <block type="variables_get" id="0uW@6:JiLwo,RCzY#esL">
                                                 <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="update" id="cZxPS)X@V0wnwD|mwVX1">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="text" id="52oB)g/-a?+Z~O=so-9H">
                                                     <field name="TEXT">Heizung läuft</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <statement name="ELSE">
                                               <block type="update" id="~$Cc9,M^,0_60=+abb,`">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="text" id="H=b1z!W@8M}UyedaAVPb">
                                                     <field name="TEXT">Heizung nicht aktiv</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                          </xml>
                          

                          iobroker läuft unter Docker auf QNAP TS-451+
                          SkriptRecovery: https://forum.iobroker.net/post/930558

                          TH GT 1 Antwort Letzte Antwort
                          0
                          • F fastfoot

                            @th-g seltsam, bei mir läuft es in der Simulation. Probiere mal diesen Import,

                            <xml xmlns="https://developers.google.com/blockly/xml">
                             <variables>
                               <variable id="X%@`%Fwh:N!{3?wFePrX">id</variable>
                               <variable type="interval" id="Intervall">Intervall</variable>
                               <variable id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</variable>
                             </variables>
                             <block type="procedures_defcustomreturn" id="en56nesdIDI1w2p3?g4o" x="-613" y="37">
                               <mutation statements="false">
                                 <arg name="id" varid="X%@`%Fwh:N!{3?wFePrX"></arg>
                               </mutation>
                               <field name="NAME">status</field>
                               <field name="SCRIPT">DQppZighZXhpc3RzU3RhdGUoaWQpKSB7DQogICAgc3RhdCA9ICBmYWxzZTsNCn0gZWxzZSB7DQogICAgc3RhdCA9IChhd2FpdCBnZXRTdGF0ZUFzeW5jKGlkKSkudmFsOw0KfQ0KcmV0dXJuIHN0YXQ7</field>
                               <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                             </block>
                             <block type="variables_set" id="*8.nqG@Jv]T}v.KRZ{@0" x="-613" y="62">
                               <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                               <value name="VALUE">
                                 <block type="text" id="PLa$]*nn#aVr.5!bBn@?">
                                   <field name="TEXT">0_userdata.0.Heizung.Heizen</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="timeouts_clearinterval" id="-X.,*u/]42py`#]|-t:z">
                                   <field name="NAME">Intervall</field>
                                   <next>
                                     <block type="timeouts_setinterval" id="?aEn+kt6PmFGE[p~XA1e">
                                       <field name="NAME">Intervall</field>
                                       <field name="INTERVAL">1000</field>
                                       <field name="UNIT">ms</field>
                                       <statement name="STATEMENT">
                                         <block type="variables_set" id="w_dtgT{;Ok-WHNn^87$t">
                                           <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                                           <value name="VALUE">
                                             <block type="procedures_callcustomreturn" id="v_lqnLU}7B#A0%/chCT0" inline="true">
                                               <mutation name="status">
                                                 <arg name="id"></arg>
                                               </mutation>
                                               <value name="ARG0">
                                                 <block type="variables_get" id="1B.vjc2JNw^M)p|t]5sv">
                                                   <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="controls_if" id="~(bE[%vsILoN/Ek:_`m6">
                                               <mutation else="1"></mutation>
                                               <value name="IF0">
                                                 <block type="variables_get" id="0uW@6:JiLwo,RCzY#esL">
                                                   <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="update" id="cZxPS)X@V0wnwD|mwVX1">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="text" id="52oB)g/-a?+Z~O=so-9H">
                                                       <field name="TEXT">Heizung läuft</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <statement name="ELSE">
                                                 <block type="update" id="~$Cc9,M^,0_60=+abb,`">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="text" id="H=b1z!W@8M}UyedaAVPb">
                                                       <field name="TEXT">Heizung nicht aktiv</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                            </xml>
                            

                            TH GT Offline
                            TH GT Offline
                            TH G
                            schrieb am zuletzt editiert von
                            #94

                            @fastfoot

                            Geht leider auch nicht:

                            Bildschirmfoto 2021-01-18 um 18.32.34.png

                            F 2 Antworten Letzte Antwort
                            0
                            • TH GT TH G

                              @fastfoot

                              Geht leider auch nicht:

                              Bildschirmfoto 2021-01-18 um 18.32.34.png

                              F Offline
                              F Offline
                              fastfoot
                              schrieb am zuletzt editiert von
                              #95

                              @th-g war einen Versuch wert, ich verstehe das nicht, bei mir läuft die Funktion. Welche Javascriptversion hast du denn installiert? Mach doch mal einen Export deines aktuellen Blockly und stelle es hier rein, benutze bitte Code-Tags( icon </> ) dafür

                              iobroker läuft unter Docker auf QNAP TS-451+
                              SkriptRecovery: https://forum.iobroker.net/post/930558

                              1 Antwort Letzte Antwort
                              0
                              • TH GT TH G

                                @fastfoot

                                Geht leider auch nicht:

                                Bildschirmfoto 2021-01-18 um 18.32.34.png

                                F Offline
                                F Offline
                                fastfoot
                                schrieb am zuletzt editiert von fastfoot
                                #96

                                @th-g Ich denke ich habs, die aktuelle Stable unterstützt noch kein async. Probiere so

                                <xml xmlns="https://developers.google.com/blockly/xml">
                                 <variables>
                                   <variable id="X%@`%Fwh:N!{3?wFePrX">id</variable>
                                   <variable type="interval" id="Intervall">Intervall</variable>
                                   <variable id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</variable>
                                 </variables>
                                 <block type="procedures_defcustomreturn" id="en56nesdIDI1w2p3?g4o" x="-613" y="37">
                                   <mutation statements="false">
                                     <arg name="id" varid="X%@`%Fwh:N!{3?wFePrX"></arg>
                                   </mutation>
                                   <field name="NAME">status</field>
                                   <field name="SCRIPT">DQppZighZXhpc3RzU3RhdGUoaWQpKSB7DQogICAgc3RhdCA9ICBmYWxzZTsNCn0gZWxzZSB7DQogICAgc3RhdCA9IGdldFN0YXRlKGlkKS52YWw7DQp9DQpyZXR1cm4gc3RhdDs=</field>
                                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                 </block>
                                 <block type="variables_set" id="*8.nqG@Jv]T}v.KRZ{@0" x="-613" y="62">
                                   <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                                   <value name="VALUE">
                                     <block type="text" id="PLa$]*nn#aVr.5!bBn@?">
                                       <field name="TEXT">0_userdata.0.Heizung.Heizen</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="timeouts_clearinterval" id="-X.,*u/]42py`#]|-t:z">
                                       <field name="NAME">Intervall</field>
                                       <next>
                                         <block type="timeouts_setinterval" id="?aEn+kt6PmFGE[p~XA1e">
                                           <field name="NAME">Intervall</field>
                                           <field name="INTERVAL">1000</field>
                                           <field name="UNIT">ms</field>
                                           <statement name="STATEMENT">
                                             <block type="variables_set" id="w_dtgT{;Ok-WHNn^87$t">
                                               <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                                               <value name="VALUE">
                                                 <block type="procedures_callcustomreturn" id="v_lqnLU}7B#A0%/chCT0" inline="true">
                                                   <mutation name="status">
                                                     <arg name="id"></arg>
                                                   </mutation>
                                                   <value name="ARG0">
                                                     <block type="variables_get" id="1B.vjc2JNw^M)p|t]5sv">
                                                       <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="controls_if" id="~(bE[%vsILoN/Ek:_`m6">
                                                   <mutation else="1"></mutation>
                                                   <value name="IF0">
                                                     <block type="variables_get" id="0uW@6:JiLwo,RCzY#esL">
                                                       <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="update" id="cZxPS)X@V0wnwD|mwVX1">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="text" id="52oB)g/-a?+Z~O=so-9H">
                                                           <field name="TEXT">Heizung läuft</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                   <statement name="ELSE">
                                                     <block type="update" id="~$Cc9,M^,0_60=+abb,`">
                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                       <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                                       <field name="WITH_DELAY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="text" id="H=b1z!W@8M}UyedaAVPb">
                                                           <field name="TEXT">Heizung nicht aktiv</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                                </xml>
                                

                                iobroker läuft unter Docker auf QNAP TS-451+
                                SkriptRecovery: https://forum.iobroker.net/post/930558

                                TH GT 1 Antwort Letzte Antwort
                                0
                                • F fastfoot

                                  @th-g Ich denke ich habs, die aktuelle Stable unterstützt noch kein async. Probiere so

                                  <xml xmlns="https://developers.google.com/blockly/xml">
                                   <variables>
                                     <variable id="X%@`%Fwh:N!{3?wFePrX">id</variable>
                                     <variable type="interval" id="Intervall">Intervall</variable>
                                     <variable id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</variable>
                                   </variables>
                                   <block type="procedures_defcustomreturn" id="en56nesdIDI1w2p3?g4o" x="-613" y="37">
                                     <mutation statements="false">
                                       <arg name="id" varid="X%@`%Fwh:N!{3?wFePrX"></arg>
                                     </mutation>
                                     <field name="NAME">status</field>
                                     <field name="SCRIPT">DQppZighZXhpc3RzU3RhdGUoaWQpKSB7DQogICAgc3RhdCA9ICBmYWxzZTsNCn0gZWxzZSB7DQogICAgc3RhdCA9IGdldFN0YXRlKGlkKS52YWw7DQp9DQpyZXR1cm4gc3RhdDs=</field>
                                     <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                   </block>
                                   <block type="variables_set" id="*8.nqG@Jv]T}v.KRZ{@0" x="-613" y="62">
                                     <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                                     <value name="VALUE">
                                       <block type="text" id="PLa$]*nn#aVr.5!bBn@?">
                                         <field name="TEXT">0_userdata.0.Heizung.Heizen</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="timeouts_clearinterval" id="-X.,*u/]42py`#]|-t:z">
                                         <field name="NAME">Intervall</field>
                                         <next>
                                           <block type="timeouts_setinterval" id="?aEn+kt6PmFGE[p~XA1e">
                                             <field name="NAME">Intervall</field>
                                             <field name="INTERVAL">1000</field>
                                             <field name="UNIT">ms</field>
                                             <statement name="STATEMENT">
                                               <block type="variables_set" id="w_dtgT{;Ok-WHNn^87$t">
                                                 <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                                                 <value name="VALUE">
                                                   <block type="procedures_callcustomreturn" id="v_lqnLU}7B#A0%/chCT0" inline="true">
                                                     <mutation name="status">
                                                       <arg name="id"></arg>
                                                     </mutation>
                                                     <value name="ARG0">
                                                       <block type="variables_get" id="1B.vjc2JNw^M)p|t]5sv">
                                                         <field name="VAR" id="X%@`%Fwh:N!{3?wFePrX">id</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="controls_if" id="~(bE[%vsILoN/Ek:_`m6">
                                                     <mutation else="1"></mutation>
                                                     <value name="IF0">
                                                       <block type="variables_get" id="0uW@6:JiLwo,RCzY#esL">
                                                         <field name="VAR" id="a_[i#?T$qE6pO]a+|;|t">statusHeizung</field>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="update" id="cZxPS)X@V0wnwD|mwVX1">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="text" id="52oB)g/-a?+Z~O=so-9H">
                                                             <field name="TEXT">Heizung läuft</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <statement name="ELSE">
                                                       <block type="update" id="~$Cc9,M^,0_60=+abb,`">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">0_userdata.0.Heizung.Status_WP</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="text" id="H=b1z!W@8M}UyedaAVPb">
                                                             <field name="TEXT">Heizung nicht aktiv</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                  </xml>
                                  

                                  TH GT Offline
                                  TH GT Offline
                                  TH G
                                  schrieb am zuletzt editiert von
                                  #97

                                  @fastfoot

                                  Funktioniert!!!!

                                  DANKE

                                  F 1 Antwort Letzte Antwort
                                  0
                                  • TH GT TH G

                                    @fastfoot

                                    Funktioniert!!!!

                                    DANKE

                                    F Offline
                                    F Offline
                                    fastfoot
                                    schrieb am zuletzt editiert von
                                    #98

                                    @th-g sagte in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

                                    @fastfoot

                                    Funktioniert!!!!

                                    DANKE

                                    war ne schwere Geburt, schön dass es jetzt funktioniert!

                                    iobroker läuft unter Docker auf QNAP TS-451+
                                    SkriptRecovery: https://forum.iobroker.net/post/930558

                                    TH GT 1 Antwort Letzte Antwort
                                    1
                                    • F fastfoot

                                      @th-g sagte in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

                                      @fastfoot

                                      Funktioniert!!!!

                                      DANKE

                                      war ne schwere Geburt, schön dass es jetzt funktioniert!

                                      TH GT Offline
                                      TH GT Offline
                                      TH G
                                      schrieb am zuletzt editiert von TH G
                                      #99

                                      @fastfoot

                                      Kann ich das Blockly auch für Warmwasser und Kühlen nutzen? Muss ich dann dafür etwas ändern außer den DP?

                                      F 1 Antwort Letzte Antwort
                                      0
                                      • TH GT TH G

                                        @fastfoot

                                        Kann ich das Blockly auch für Warmwasser und Kühlen nutzen? Muss ich dann dafür etwas ändern außer den DP?

                                        F Offline
                                        F Offline
                                        fastfoot
                                        schrieb am zuletzt editiert von
                                        #100

                                        @th-g sagte in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

                                        @fastfoot

                                        Kann ich das Blockly auch für Warmwasser und Kühlen nutzen? Muss ich dann dafür etwas ändern außer den DP?

                                        nein, ändern sollte nicht nötig sein, ausser der zu überwachende DP. bei Problemen aber einfach melden

                                        iobroker läuft unter Docker auf QNAP TS-451+
                                        SkriptRecovery: https://forum.iobroker.net/post/930558

                                        TH GT 1 Antwort Letzte Antwort
                                        0
                                        • F fastfoot

                                          @th-g sagte in Triggern DP ohne Wert nicht möglich (true/leer)-stiebel-isg:

                                          @fastfoot

                                          Kann ich das Blockly auch für Warmwasser und Kühlen nutzen? Muss ich dann dafür etwas ändern außer den DP?

                                          nein, ändern sollte nicht nötig sein, ausser der zu überwachende DP. bei Problemen aber einfach melden

                                          TH GT Offline
                                          TH GT Offline
                                          TH G
                                          schrieb am zuletzt editiert von
                                          #101

                                          @fastfoot

                                          Mus sich den Name ID und statusHeizung nicht anders nennen? Stören die sich sonst nicht?

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


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          810

                                          Online

                                          32.5k

                                          Benutzer

                                          81.8k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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