Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Datenpunkte falsch, was mache ich falsch? Gelöst

    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

    Datenpunkte falsch, was mache ich falsch? Gelöst

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      babl last edited by babl

      Hi zusammen,

      habe ein Blockly mit dem ich von meinem Batteriespeicher die Eclipse auslese und wann die letzte Volladung war. Dies ist folgendes Script.

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="b#*MBhkWm%KIhN(UAJ%~">deine_ip</variable>
          <variable id="UPIEW`RfxC:l#j^WWT2X">url_api_battery</variable>
          <variable id="`#7v~J@zMwKBIz3uthMq">Blinking_Red</variable>
          <variable id="7rdTZ=|XV/:JOSw28l0o">Pulsing_Green</variable>
          <variable id="Fg7-(eYf6e~xZtB(Mko`">result</variable>
          <variable id="36_tuS{w0O{rq/[F6qsr">Pulsing_Orange</variable>
          <variable id=":L}Z^QY/Dt;FxE-qsw=A">Pulsing_White</variable>
          <variable id="{L({v;e]XXdLuX5a35E*">Solid_Red</variable>
          <variable id="sSWuEaf!:mQW?u}q1O#(">letzte_Volladung</variable>
          <variable id=")@pbFBS9lX5*hP#jjEhW">tage</variable>
          <variable id="1=TLiDf{R~[Y)];dkqH+">stunden</variable>
          <variable id="wrTGA%B2`2IX)d+:[:Hg">minuten</variable>
        </variables>
        <block type="comment" id="IO$t(Lqq;40z/1W:kJ{+" x="147" y="123">
          <field name="COMMENT">1 Verzeichnis erzeugen z.B: Sonnenbatterie Eclipse</field>
          <next>
            <block type="comment" id="Ao[j7or!4=HD-{FKX~$x">
              <field name="COMMENT">unter diesem Verzeichnis 5 Datenpunkte erzeugen als boolean</field>
              <next>
                <block type="comment" id="rO5^5;r@PAGBO)k^z4u)">
                  <field name="COMMENT">1 mal SB_Batterie_letzte_Volladung als Mixed</field>
                  <next>
                    <block type="variables_set" id="{^%R4##9lWq8W_]`TLvG">
                      <field name="VAR" id="b#*MBhkWm%KIhN(UAJ%~">deine_ip</field>
                      <value name="VALUE">
                        <block type="text" id="!`9a#XbsO^oWtmg@Tz%4">
                          <field name="TEXT">XXX.XXX.XXX.XX</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="Cg?)|Er}?__QBZP+ejp|">
                          <field name="VAR" id="UPIEW`RfxC:l#j^WWT2X">url_api_battery</field>
                          <value name="VALUE">
                            <block type="text_join" id="0v.{#QqX`vFHrM?!{OjW">
                              <mutation items="3"></mutation>
                              <value name="ADD0">
                                <block type="text" id="ecZ*ch)d5ULnxHK0.ZY!">
                                  <field name="TEXT">http://</field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="variables_get" id=")%j~D}5n}*Q-H]|Dma=E">
                                  <field name="VAR" id="b#*MBhkWm%KIhN(UAJ%~">deine_ip</field>
                                </block>
                              </value>
                              <value name="ADD2">
                                <block type="text" id="u3so;vnLGDydm|j~CLKe">
                                  <field name="TEXT">:8080/api/latestdata</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="schedule" id="K=~VVW$dsmF:.?Ban:xU">
                              <field name="SCHEDULE">{"time":{"start":"00:00","end":"24:00","interval":1,"mode":"minutes"},"period":{"days":1}}</field>
                              <statement name="STATEMENT">
                                <block type="request" id="[dR$K#cK(y!X.Ts]+LGi">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                  <field name="WITH_STATEMENT">TRUE</field>
                                  <field name="LOG"></field>
                                  <value name="URL">
                                    <shadow type="text" id="3#2b-3opeXYlh-JrMHTb">
                                      <field name="TEXT">http://192.168.178.22:8080/api/battery</field>
                                    </shadow>
                                    <block type="variables_get" id=":7MM_84#(~r6-m+#f-nb">
                                      <field name="VAR" id="UPIEW`RfxC:l#j^WWT2X">url_api_battery</field>
                                    </block>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="comment" id="paDc?N}K1hYedw(s2u1j">
                                      <field name="COMMENT">Ecclipse</field>
                                      <next>
                                        <block type="variables_set" id="4Nv]D^B;3!OUph-h#wLe">
                                          <field name="VAR" id="`#7v~J@zMwKBIz3uthMq">Blinking_Red</field>
                                          <value name="VALUE">
                                            <block type="get_attr" id="q$OChk}YB1+*v]?#?~Om">
                                              <value name="PATH">
                                                <shadow type="text" id="(j{u$`-`j|ilvY~|?`B}">
                                                  <field name="TEXT">ic_status.Eclipse Led.Blinking Red</field>
                                                </shadow>
                                              </value>
                                              <value name="OBJECT">
                                                <block type="convert_json2object" id="MOQ)s-~7|u_g^7D7~9I^">
                                                  <value name="VALUE">
                                                    <block type="variables_get" id="P[roNV2Q*%5.1wQPaO8G">
                                                      <field name="VAR" id="Fg7-(eYf6e~xZtB(Mko`">result</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="update" id="%B=ff;6ryYyr@GF$M#Qt">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.SB_Batterie_Eclipse.Blinking_Red</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="iP|P,m0Scn7i8JF!,ME}">
                                                  <field name="VAR" id="`#7v~J@zMwKBIz3uthMq">Blinking_Red</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="|:NC`X^`sFoT[s|f?#[*">
                                                  <field name="VAR" id="7rdTZ=|XV/:JOSw28l0o">Pulsing_Green</field>
                                                  <value name="VALUE">
                                                    <block type="get_attr" id="Y%^fmtL[O1;`Al])%AJO">
                                                      <value name="PATH">
                                                        <shadow type="text" id="CRmbgDw.}2}#J.XB^/H?">
                                                          <field name="TEXT">ic_status.Eclipse Led.Pulsing Green</field>
                                                        </shadow>
                                                      </value>
                                                      <value name="OBJECT">
                                                        <block type="convert_json2object" id="2n(UpYBFF64F%_;b#):A">
                                                          <value name="VALUE">
                                                            <block type="variables_get" id="NmC+/kONPa%uE]Q[mO;o">
                                                              <field name="VAR" id="Fg7-(eYf6e~xZtB(Mko`">result</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="update" id="C-4vh%u!HD^741h6*7~h">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.SB_Batterie_Eclipse.Pulsing_Green</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="m|#Y8}Sh@Pn#sFaVZAuS">
                                                          <field name="VAR" id="7rdTZ=|XV/:JOSw28l0o">Pulsing_Green</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="k)c(XizOtN#9N7:q_/:`">
                                                          <field name="VAR" id="36_tuS{w0O{rq/[F6qsr">Pulsing_Orange</field>
                                                          <value name="VALUE">
                                                            <block type="get_attr" id="y*t[[*RcvCh:SCfHSp4I">
                                                              <value name="PATH">
                                                                <shadow type="text" id="RMgoi3_w.nL{_wyzo?w=">
                                                                  <field name="TEXT">ic_status.Eclipse Led.Pulsing Orange</field>
                                                                </shadow>
                                                              </value>
                                                              <value name="OBJECT">
                                                                <block type="convert_json2object" id="6U_h[~9nQ:rM3W|4nMJZ">
                                                                  <value name="VALUE">
                                                                    <block type="variables_get" id="mSg!{6+aDV1xCae$18w}">
                                                                      <field name="VAR" id="Fg7-(eYf6e~xZtB(Mko`">result</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="update" id="{0@i.+z1hlxl3(.zIuC2">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">0_userdata.0.SB_Batterie_Eclipse.Pulsing_Orange</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="f@hmEsyAjox9Ws,(!xB+">
                                                                  <field name="VAR" id="36_tuS{w0O{rq/[F6qsr">Pulsing_Orange</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="variables_set" id="#^dvE63|$~/Ft*^82LOI">
                                                                  <field name="VAR" id=":L}Z^QY/Dt;FxE-qsw=A">Pulsing_White</field>
                                                                  <value name="VALUE">
                                                                    <block type="get_attr" id="jJQPp%k#lsdIBD?kFha@">
                                                                      <value name="PATH">
                                                                        <shadow type="text" id="qp*3Am?Lo6Vm//O.ku!8">
                                                                          <field name="TEXT">ic_status.Eclipse Led.Pulsing White</field>
                                                                        </shadow>
                                                                      </value>
                                                                      <value name="OBJECT">
                                                                        <block type="convert_json2object" id="?6QNlsw(crxTq}Ud$X%`">
                                                                          <value name="VALUE">
                                                                            <block type="variables_get" id="vjAr%Dj#C(Ji#`LsLFol">
                                                                              <field name="VAR" id="Fg7-(eYf6e~xZtB(Mko`">result</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="update" id="gk0NKz:S-8q4D%|jm4NP">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">0_userdata.0.SB_Batterie_Eclipse.Pulsing_White</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="6W+x6~*@bQDOJlu$yuTy">
                                                                          <field name="VAR" id=":L}Z^QY/Dt;FxE-qsw=A">Pulsing_White</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="YXy,2:R|$f/Y*ci0HuC7">
                                                                          <field name="VAR" id="{L({v;e]XXdLuX5a35E*">Solid_Red</field>
                                                                          <value name="VALUE">
                                                                            <block type="get_attr" id="N}Ql2R8_dEK)kT5WaQnN">
                                                                              <value name="PATH">
                                                                                <shadow type="text" id="AtM11K/Nxr}9_yYCT8mI">
                                                                                  <field name="TEXT">ic_status.Eclipse Led.Solid Red</field>
                                                                                </shadow>
                                                                              </value>
                                                                              <value name="OBJECT">
                                                                                <block type="convert_json2object" id="L.a-:~faZ|J`]vA8}3PX">
                                                                                  <value name="VALUE">
                                                                                    <block type="variables_get" id="K],kfeTu[!Nk0lwhdD.2">
                                                                                      <field name="VAR" id="Fg7-(eYf6e~xZtB(Mko`">result</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="update" id="yXsr(%t4)vM%LNQLTZim">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                              <field name="OID">0_userdata.0.SB_Batterie_Eclipse.Solid_Red</field>
                                                                              <field name="WITH_DELAY">FALSE</field>
                                                                              <value name="VALUE">
                                                                                <block type="variables_get" id="=:4{gOw4Y9s38u[mG21K">
                                                                                  <field name="VAR" id="{L({v;e]XXdLuX5a35E*">Solid_Red</field>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="comment" id="sB7_%[PQS6M:~]ByeHf;">
                                                                                  <field name="COMMENT">letzte Volladung</field>
                                                                                  <next>
                                                                                    <block type="variables_set" id="l:~wZgi*~@oLcbOWH5dX">
                                                                                      <field name="VAR" id="sSWuEaf!:mQW?u}q1O#(">letzte_Volladung</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="get_attr" id="EY-PH*9%#$yJ%;V/ipXk">
                                                                                          <value name="PATH">
                                                                                            <shadow type="text" id="b04`1]2YPJE2|cITS6d^">
                                                                                              <field name="TEXT">ic_status.secondssincefullcharge</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                          <value name="OBJECT">
                                                                                            <block type="variables_get" id="}=CKf:+RC[Ua/S^8m3QH">
                                                                                              <field name="VAR" id="Fg7-(eYf6e~xZtB(Mko`">result</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="variables_set" id="_;GxFhb7yq(#1.1Au{]{">
                                                                                          <field name="VAR" id=")@pbFBS9lX5*hP#jjEhW">tage</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="math_round" id="nmgpRHlm)R%Rt/__%*Zb">
                                                                                              <field name="OP">ROUNDDOWN</field>
                                                                                              <value name="NUM">
                                                                                                <shadow type="math_number">
                                                                                                  <field name="NUM">3.1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="nurZiABE-0f2WkuHuD%S">
                                                                                                  <field name="OP">DIVIDE</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number">
                                                                                                      <field name="NUM">1</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="l|NdrkT-.@:NwN(gdg(o">
                                                                                                      <field name="VAR" id="sSWuEaf!:mQW?u}q1O#(">letzte_Volladung</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="x0~G=1m(#T_piS4so(9Q">
                                                                                                      <field name="NUM">86400</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="variables_set" id="7DYM-[3@RbciawBh*8r4">
                                                                                              <field name="VAR" id="1=TLiDf{R~[Y)];dkqH+">stunden</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_round" id="#F7/Np+#]l|#$(:h!sz5">
                                                                                                  <field name="OP">ROUNDDOWN</field>
                                                                                                  <value name="NUM">
                                                                                                    <shadow type="math_number" id="6iIGJcO~KjAx[j-oR]fZ">
                                                                                                      <field name="NUM">3.1</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="UbdL@W}B.zcioP1R~6S,">
                                                                                                      <field name="OP">DIVIDE</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="8+5LMI?El[)^^%CFjCk_">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_modulo" id="VL|1lrNVxTb({$^P0)ky">
                                                                                                          <value name="DIVIDEND">
                                                                                                            <shadow type="math_number" id="e=[`2|V8YdlpDG$~GDd^">
                                                                                                              <field name="NUM">64</field>
                                                                                                            </shadow>
                                                                                                            <block type="variables_get" id="hMi^l~!Qq_^__[h3}/hH">
                                                                                                              <field name="VAR" id="sSWuEaf!:mQW?u}q1O#(">letzte_Volladung</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="DIVISOR">
                                                                                                            <shadow type="math_number" id="6ZfQFJFho).cwOMKx#vM">
                                                                                                              <field name="NUM">3600</field>
                                                                                                            </shadow>
                                                                                                            <block type="math_number" id=")%CXceL;n.S{2@/K4FE7">
                                                                                                              <field name="NUM">86400</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="e!k:*|JnXI(Vd}JG36v+">
                                                                                                          <field name="NUM">3600</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="variables_set" id="iF/#3|LgO=rP.$R9QCYA">
                                                                                                  <field name="VAR" id="wrTGA%B2`2IX)d+:[:Hg">minuten</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="math_round" id="_Cm6hT^z,[9YVez3.-.c">
                                                                                                      <field name="OP">ROUNDDOWN</field>
                                                                                                      <value name="NUM">
                                                                                                        <shadow type="math_number" id="otdAMsaoJf~;{tW=u7|U">
                                                                                                          <field name="NUM">3.1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_arithmetic" id="nxMRi7{YIN4wsN=}w0wf">
                                                                                                          <field name="OP">DIVIDE</field>
                                                                                                          <value name="A">
                                                                                                            <shadow type="math_number">
                                                                                                              <field name="NUM">1</field>
                                                                                                            </shadow>
                                                                                                            <block type="math_modulo" id="_Tem0%4/^4/PNl,BaM]W">
                                                                                                              <value name="DIVIDEND">
                                                                                                                <shadow type="math_number">
                                                                                                                  <field name="NUM">64</field>
                                                                                                                </shadow>
                                                                                                                <block type="variables_get" id="Xp`^_@-C*wf5E#6Tq|zd">
                                                                                                                  <field name="VAR" id="sSWuEaf!:mQW?u}q1O#(">letzte_Volladung</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="DIVISOR">
                                                                                                                <shadow type="math_number">
                                                                                                                  <field name="NUM">3600</field>
                                                                                                                </shadow>
                                                                                                                <block type="math_number" id="IMF8J?*ENT]KyqG0SsJ`">
                                                                                                                  <field name="NUM">3600</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <shadow type="math_number" id="gxcM;l$=kLCf}dZ{PrjW">
                                                                                                              <field name="NUM">60</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <next>
                                                                                                    <block type="update" id="f*;-5)xR4GDG+??Ft_9Y">
                                                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                      <field name="OID">0_userdata.0.SB_Batterie_letzte_Volladung</field>
                                                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                                                      <value name="VALUE">
                                                                                                        <block type="text_join" id="Ln%?]*zp9yUOOZk3#iNp">
                                                                                                          <mutation items="6"></mutation>
                                                                                                          <value name="ADD0">
                                                                                                            <block type="variables_get" id="[~fW^cjQAt0DIQ^FwLrJ">
                                                                                                              <field name="VAR" id=")@pbFBS9lX5*hP#jjEhW">tage</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD1">
                                                                                                            <block type="text" id="f3#3$8t,ljF8v,tJ,@(I">
                                                                                                              <field name="TEXT"> Tagen </field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD2">
                                                                                                            <block type="variables_get" id="QkzOTHw#fHFbjCGo|K4U">
                                                                                                              <field name="VAR" id="1=TLiDf{R~[Y)];dkqH+">stunden</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD3">
                                                                                                            <block type="text" id="yz9aNS?:=t@75y*geYy-">
                                                                                                              <field name="TEXT"> Stunden </field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD4">
                                                                                                            <block type="variables_get" id=")a67OxyVj*M#F$Y?gfTn">
                                                                                                              <field name="VAR" id="wrTGA%B2`2IX)d+:[:Hg">minuten</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD5">
                                                                                                            <block type="text" id="}m?}+lV5{O_/=hP6H2;o">
                                                                                                              <field name="TEXT"> Minuten </field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </next>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      

      Nun kommt im Protokoll immer folgende Warnung:

      javascript.0
      	2022-02-19 10:08:00.064	warn	You are assigning a boolean to the state "0_userdata.0.SB_Batterie_Eclipse.Solid_Red" which expects a object. Please fix your code to use a object or change the state type to boolean. This warning might become an error in future versions.
      

      Ich habe aber die Datenpunkte als Boolean konfiguriert?

      Was mache ich falsch?

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

        @babl sagte: "0_userdata.0.SB_Batterie_Eclipse.Solid_Red" which expects a object.

        Bitte OBJEKTDATEN vom DP in Code tags posten.

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

          @paul53

          {
            "common": {
              "name": "Solid_Red",
              "desc": "Manuell erzeugt",
              "role": "state",
              "type": "boolean",
              "read": true,
              "write": true,
              "def": false
            },
            "type": "state",
            "_id": "0_userdata.0.SB_Batterie_Eclipse.Solid_Red",
            "acl": {
              "object": 1636,
              "state": 1636,
              "owner": "system.user.admin",
              "ownerGroup": "system.group.administrator"
            },
            "from": "system.adapter.admin.0",
            "user": "system.user.admin",
            "ts": 1645261692782
          }
          
          paul53 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @babl last edited by

            @babl
            Die Fehlermeldung ist unerklärlich.

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

              @paul53 aha, ok dann warte ich mal ab ob das nochmals kommt? Aber danke dir für deine Hilfe ich stell die Überschrift dann auf gelöst.

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

              Support us

              ioBroker
              Community Adapters
              Donate

              376
              Online

              31.9k
              Users

              80.3k
              Topics

              1.3m
              Posts

              2
              5
              240
              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