Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. ID of type boolean or number is not supported.

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ID of type boolean or number is not supported.

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @haus-automatisierung last edited by

      @haus-automatisierung sagte in ID of type boolean or number is not supported.:

      Daher die Warnung.

      war aber nicht die optimale Formulierung für mich 😞

      haus-automatisierung 1 Reply Last reply Reply Quote 0
      • haus-automatisierung
        haus-automatisierung Developer Most Active @Homoran last edited by

        @homoran sagte in ID of type boolean or number is not supported.:

        war aber nicht die optimale Formulierung für mich

        Das zu ändern ist ja super einfach - Vorschlag?

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @haus-automatisierung last edited by

          @haus-automatisierung sagte in ID of type boolean or number is not supported.:

          Vorschlag

          menno - jetzt dachte ich, ich könnte mich mal zurücklehnen....

          Auf die Gefahr dass das so nicht stimmt:
          Trigger may only refer to IDs

          oder so

          haus-automatisierung 1 Reply Last reply Reply Quote 0
          • haus-automatisierung
            haus-automatisierung Developer Most Active @Homoran last edited by

            @homoran Das Problem ist, dass aktuell nur der Typ geprüft werden kann.

            Theoretisch könnte man auch noch schauen, ob es wirklich eine gültige Objekt-ID ist, aber (je nach Reihenfolge) in den User-Scripts könnte das zu Problemen führen.

            Daher aktuell die Meldung, dass number oder boolean nicht erlaubt ist - weil: Das ist garantiert keine gültige Objekt-ID. Also wenn man einen String oder einen regulären Ausdruck zu einer ID übergibt, welche es gar nicht gibt (z.B. 'käsekuchen'). Dann wird sich der Adapter nicht beschweren.

            Wäre also der Datenpunkt vom Typ "string" und man nimmt als Trigger "Wert von Objekt-ID", dann gibt es keine Beschwerde. Der Wert im State könnte ja auch eine gültige ID zu einem anderen Objekt sein.

            Ist leider nicht 100% wasserdicht alles. Daher aktuell nur eine kleine Hilfestellung für die User.

            paul53 Homoran 2 Replies Last reply Reply Quote 0
            • paul53
              paul53 @haus-automatisierung last edited by paul53

              @haus-automatisierung sagte: eine kleine Hilfestellung für die User.

              Die ich etwas massiver formulieren würde:

              Error by subscription (trigger): Wrong ID of type boolean or number
              
              1 Reply Last reply Reply Quote 1
              • Homoran
                Homoran Global Moderator Administrators @haus-automatisierung last edited by Homoran

                @haus-automatisierung sagte in ID of type boolean or number is not supported.:

                Daher aktuell nur eine kleine Hilfestellung für die User.

                mir fehlte hauptsächlich der deutliche Bezug zum Trigger!
                Als normaler Blockly-User kann ich Subscription nicht zuordnen

                haus-automatisierung paul53 2 Replies Last reply Reply Quote 0
                • haus-automatisierung
                  haus-automatisierung Developer Most Active @Homoran last edited by

                  @homoran sagte in ID of type boolean or number is not supported.:

                  mir fehlte hauptsächlich der deutliche Bezug zum Trigger!
                  Als normaler Blockly-User kann ich Subscription nicht zuordnen

                  Beim Wording habe ich mich an den anderen (bereits existierenden) Fehlermeldungen orientiert. Die Funktion heißt halt subscribe (on ist ja nur ein alias dafür).

                  Aber ich bin ganz bei Dir: Den Blockly-Nutzern wird das nicht klar. Nehme ich mal mit auf ToDo.

                  1 Reply Last reply Reply Quote 0
                  • paul53
                    paul53 @Homoran last edited by

                    @homoran sagte: Als normaler Blockly-User kann ich Subscription nicht zuordnen

                    So besser?

                    Homoran 1 Reply Last reply Reply Quote 1
                    • Homoran
                      Homoran Global Moderator Administrators @paul53 last edited by

                      @paul53 sagte:

                      @homoran sagte: Als normaler Blockly-User kann ich Subscription nicht zuordnen

                      So besser?

                      Super!
                      da wird es allen gerecht!

                      paul53 1 Reply Last reply Reply Quote 0
                      • paul53
                        paul53 @Homoran last edited by

                        @homoran sagte: da wird es allen gerecht!

                        PR ist erstellt.

                        haus-automatisierung 1 Reply Last reply Reply Quote 2
                        • haus-automatisierung
                          haus-automatisierung Developer Most Active @paul53 last edited by

                          @paul53 Danke 🙂 Die Meldung ein paar Zeilen da drüber könntest Du ja analog dazu auch noch anpassen.

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @haus-automatisierung last edited by

                            @haus-automatisierung sagte: Die Meldung ein paar Zeilen da drüber könntest Du ja analog dazu auch noch anpassen.

                            Erledigt.

                            T 1 Reply Last reply Reply Quote 1
                            • T
                              Timee @paul53 last edited by

                              Hi,
                              ich habe die Lösung im obigen Fall jetzt nicht verstanden, komme aber selbst bei meiner Fehlermeldung nicht weiter und hoffe auf eure Hilfe.

                              Aufgabe:
                              Der Rika Firenet Adapter liefert mir zwei Objekte, welche ich auf Veränderung in Blockly überwachen und auslesen will.
                              Je nach Inhalt der Objekte, sollen zwei von mir unter userdata.0 angelegte DP gefüllt und später in der VIS ausgegeben werden.

                              statusMainState und statusSubState sind vom Typ "Zahl" und sollen ausgewertet werden:
                              01.jpg

                              Hier die zwei DP, welche entsprechend gefüllt werden sollen:
                              02.jpg

                              mein Blockly:
                              06.jpg

                              hier als Code:

                              <xml xmlns="https://developers.google.com/blockly/xml">
                                <block type="on_ext" id="2]$m9XT.$xVSZy9ifQOD" x="63" y="-612">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                  <field name="CONDITION">ne</field>
                                  <field name="ACK_CONDITION"></field>
                                  <value name="OID0">
                                    <shadow type="field_oid" id="l`9EH{g@kD%473y3[c7x">
                                      <field name="oid">rika-firenet.0.77979967.sensors.statusMainState</field>
                                    </shadow>
                                    <block type="logic_operation" id="p|Ikt*f`4Dj5FKJ$hXwM">
                                      <field name="OP">OR</field>
                                      <value name="A">
                                        <block type="get_value" id="V]83q}l8tJpkPM3x_Jn{">
                                          <field name="ATTR">val</field>
                                          <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="get_value" id="i/up|~p+1%~VK+(NdSE,">
                                          <field name="ATTR">val</field>
                                          <field name="OID">rika-firenet.0.77979967.sensors.statusSubState</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="controls_if" id="[a2NS(a))R2t5LgbfC?^">
                                      <mutation elseif="14" else="1"></mutation>
                                      <value name="IF0">
                                        <block type="logic_operation" id="xq`45[=otJ~sHMky|bsb" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_compare" id="TOc5kbSB-lvMF#ML~M)5">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="?:[.#h|?jAtK`QST{fch">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="TeRL[`GQe!Gd@ZLY2l8a">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id="}UAC%#gITW~?,,Kp+/r[">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="4Ex@i9m;cpiF.WHKDc#o">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">rika-firenet.0.77979967.sensors.statusSubState</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="bfgM$2I2X`poBFxgg1lD">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="update" id="zFS4[@*+Nj{3$Pz)`d{A">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="hhPd1RqqW4#TNxL72XIE">
                                              <field name="TEXT">Ofen ist aus</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="3,It2U=rct{]wnGm`+P]">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="}#y)iJf:DW|$+SK.9EL0">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_Off.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF1">
                                        <block type="logic_operation" id="6k?RAJ=DH:OPf/1]7%68" inline="false">
                                          <field name="OP">AND</field>
                                          <value name="A">
                                            <block type="logic_compare" id="W-5jIc+_balAd]]gUR!B">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="p0Xx@8~Yp~?s[pcN6rK]">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="n$~0pxO9Pw3@q**1e-Pg">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_compare" id="]N#4oX^+SA.oU[6Jc;+}">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="4[4(HQ}3:Y8d]-p:r1c-">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">rika-firenet.0.77979967.sensors.statusSubState</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="/m5|g)/+c]5YWHqWNY~6">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO1">
                                        <block type="update" id="NGWgLrcUP4ounzR)3=~y">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="d:Lyb6d@)VzyuE]v~sYR">
                                              <field name="TEXT">Ofen im Standby</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="xlPyT2f2L)=W^m!hZ|QA">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="L5%?4H,0R5{,!N/Yd$v?">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_Standby.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF2">
                                        <block type="logic_compare" id="#Ip-3xJYb/1{98E3+.cN">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="*lrmlX#NMbM%,,y6dr@3">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="?hPxq)iS:abXK;9aK*Q%">
                                              <field name="NUM">2</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO2">
                                        <block type="update" id="H]l;?6mDqXL4fA*]}XZ.">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="aZ]XqP,k~0D-6mrepmDj">
                                              <field name="TEXT">Zündung Ein</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="@*`uP5p=VP1`[Q7}st70">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id=";HB_}3DHr2xUu;:|05SR">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_Ignition.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF3">
                                        <block type="logic_compare" id="XLTKjSY0S}{w]u!6F%.z">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="D%Z`R^gabF%c017!MfT7">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="F9Wdeg?~(9*)=cqYxG3p">
                                              <field name="NUM">3</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO3">
                                        <block type="update" id="Bw1?eNw49MBF*NLMQ)9N">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="zX:uw|.Z-#879Pm2/Bmq">
                                              <field name="TEXT">Startphase</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="sW}6VZU%5;,r}TzP)P5`">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="Xae+K15%chckcXiXM,rk">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_Ignition.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF4">
                                        <block type="logic_compare" id="8oX=4jkcwO]xL3oW81sZ">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="m`}eDEx9m!+n1Pvi)ja8">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="kX#6$,.xp3L+mK[0IV]n">
                                              <field name="NUM">4</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO4">
                                        <block type="update" id="!gx3u][E}G]E?TT=0(9-">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="%OdWFjw3$0!_C@ghwKe{">
                                              <field name="TEXT">Regelbetrieb</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="/Z@W1(Dr,3;}8,VHBNa%">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="HK;|Z)H}[AG%o0?z@+sa">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_Control.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF5">
                                        <block type="logic_compare" id="5f!_B+3!!iCgn%PX#nXe">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="9`O8*kITx*3iN}^KfUn?">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="tydAse4xa;^1C#3;ZACe">
                                              <field name="NUM">5</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO5">
                                        <block type="update" id="SRDX$83VD~Xmq@buf+3m">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="k^97b}i9b.%R35S5?}{_">
                                              <field name="TEXT">Reinigung</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="d]:0onSr.X%?{.c!X2)m">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="InQbshL`-BuUV8NvN#Dm">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_Clean.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF6">
                                        <block type="logic_compare" id="ZEu5%!OD7JfJ$mmQ0c_T">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="wpqqhY9c)V$?8(vL;q_M">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="wzoaNiMYFuoVk;57/Rzm">
                                              <field name="NUM">6</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO6">
                                        <block type="update" id="7DnWErkGM:A)$PzVTQDW">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="g@E*AGG0tBTuNJut]ghD">
                                              <field name="TEXT">Ausbrand</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="kf.AApR#I9M?BODTuSL;">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="R4e-_NLmjNmH3VI`Rm0k">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_BurnOff.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF7">
                                        <block type="logic_compare" id="H*D8qX0xJezTQDMf@BGi">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="B4JyJBgCi`?h/LRk0Ts3">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id=".b:reA7;bh!rG~mWZTl:">
                                              <field name="NUM">11</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO7">
                                        <block type="update" id="A+z/bGqQ+s^U2^eXCYeK">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="vLErKxU0m%?Uq38ErG^!">
                                              <field name="TEXT">Scheitholzcheck</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="9vW].-RoEtO:H?QtpeQy">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="X$YwVdnw`}dSq-ES/dHk">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_SpliLog.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF8">
                                        <block type="logic_compare" id="|4^h~nsHH^J.ctg0FUi~">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="U#3IQAk3LKZe@d,~y[ku">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="2#Iik~!k^T284,9YWwt7">
                                              <field name="NUM">13</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO8">
                                        <block type="update" id=")/C:UT;?vqc,vRp00@u9">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="%~82$px6a:Wvce5rd,iC">
                                              <field name="TEXT">Scheitholzcheck</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="m0yPb|`7NL?2VJT@`;r_">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="Kus]iF]`!CF-BiAt[ivk">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_SpliLog.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF9">
                                        <block type="logic_compare" id="2/Cy+tDz9@BdDY6@=ee_">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="=|U5Z5%eK9xm-00=|A1x">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="M^eKzd~Lc6?@8)K5KWp2">
                                              <field name="NUM">14</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO9">
                                        <block type="update" id="n[:vU,E`[kK(Pb%GO4gY">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="pWw4+,LI8Lxvx^YED4Vp">
                                              <field name="TEXT">Scheitholzcheck</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="523Sv|f0_y$$+H%:?s#f">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="?Ge$7n7KJ0x_:YE#0-?Y">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_SpliLog.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF10">
                                        <block type="logic_compare" id="{k(.(.G26}^GAw};ro@w">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="AQ4NLTh+WYpJ2R$Lp_N2">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="APt?jvGVyz0W8BKu,ZYy">
                                              <field name="NUM">16</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO10">
                                        <block type="update" id="mO[B;60kS]$F8s{-?U||">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="8(p9]e~7nQ,qV,NoYlUS">
                                              <field name="TEXT">Scheitholzcheck</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="su}Ane:kX%zHJl3rL0[s">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="ezV39y/@mC2.[dCA|Z~:">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_SpliLog.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF11">
                                        <block type="logic_compare" id="W-U+!s]1FTdDj+*CCMag">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="ODz=SY7sPK[rYi9EJPnI">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="r9qY+*6XA+Db~{P=7qNi">
                                              <field name="NUM">17</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO11">
                                        <block type="update" id="%R2*rWU,|H?s-K!7kxzg">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="mr:dz(12?}Z,Te%+Nr}u">
                                              <field name="TEXT">Scheitholzcheck</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="e~m8chKFf/Xz{MIma5iw">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="x=}tsO;E89;=JD1LCKNP">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_SpliLog.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF12">
                                        <block type="logic_compare" id="m668XY9ines{?SD;j}v1">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="TNY;t.vYxVpgO:MarpRT">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id=",GlJLA)uJLLt{=7anI7l">
                                              <field name="NUM">50</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO12">
                                        <block type="update" id="}J{QD7@o?P94n??~/kBB">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="+GB7fLg=r!l)Qzj|CjhP">
                                              <field name="TEXT">Scheitholzcheck</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="t-[RJ2|zckzJfTrB||7Y">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="7tVxqGKu5uqqiry.I42$">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_SpliLog.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF13">
                                        <block type="logic_compare" id="=$-kUD0oL02^63)r9XKD">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="aE{V@rALQLya9(!JbQix">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="jn`iHKex|q)K(uFpfDw[">
                                              <field name="NUM">20</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO13">
                                        <block type="update" id="ri(3V^8ox3.)dK./YQ:T">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="H:vwHE0sMqY)NuJBt:*`">
                                              <field name="TEXT">Scheitholzbetrieb</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="#,na?U$w$}[XNa5OEfgN">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="S?4U+S1D9:El7lW-Q{lq">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_SpliLog.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <value name="IF14">
                                        <block type="logic_compare" id="Txz?`|/7zq9G17?aN=vD">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="0W[43AokZ_;}1]Azn:v7">
                                              <field name="ATTR">val</field>
                                              <field name="OID">rika-firenet.0.77979967.sensors.statusMainState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="T*sdtLHIH0ll82)It6(_">
                                              <field name="NUM">21</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO14">
                                        <block type="update" id="iNf{kN#ue^t[2ItlL!C}">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="Rx!_T/u.s|b)PfLGqeh4">
                                              <field name="TEXT">Scheitholzbetrieb</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="EA=`#D7@F7MTR;.j6H2=">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id=")*-W^o?ig?*S-xzOhljE">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_SpliLog.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <statement name="ELSE">
                                        <block type="update" id="#CrO=}l~b/-C,4R]uMW[">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.RIKA_MainStateBezeichnung</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="MdE!BboZ4A{}vJDi,-LZ">
                                              <field name="TEXT">Unbekanntes Problem</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="ISow=C[B{wLmVQ=xW0`s">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.RIKA_MainStateImage</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="Px|+P#doIZNzyAEn4.h-">
                                                  <field name="TEXT">/vis.0/Tablet/Visu_Off.svg</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                </block>
                              </xml>
                              

                              und nun die Fehlermeldung, welche ich nicht verstehe:
                              07.jpg

                              Wäre super, wenn wir zusammen das Problem beseitigt bekommen.

                              Danke
                              Timee

                              paul53 1 Reply Last reply Reply Quote 0
                              • paul53
                                paul53 @Timee last edited by

                                @timee
                                An den Trigger dürfen nur IDs übergeben werden - keine Werte!
                                Richtig:

                                Bild_2022-09-12_215325624.png

                                T 1 Reply Last reply Reply Quote 1
                                • T
                                  Timee @paul53 last edited by

                                  @paul53 said in ID of type boolean or number is not supported.:

                                  @timee
                                  An den Trigger dürfen nur IDs übergeben werden - keine Werte!
                                  Richtig:

                                  Bild_2022-09-12_215325624.png

                                  Danke, werde ich testen.
                                  Ist die restliche Abfrage, welche ja eigentlich einer "case" entspricht so in Ordnung, oder könnte man die in Blockly einfacher und kürzer gestallten?

                                  thx
                                  Timee

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  382
                                  Online

                                  31.8k
                                  Users

                                  80.0k
                                  Topics

                                  1.3m
                                  Posts

                                  5
                                  24
                                  2159
                                  Loading More Posts
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                  The ioBroker Community 2014-2023
                                  logo