Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Fehler javascript.1 (818) at Object.<anonymous>

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    467

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    385

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    976

Fehler javascript.1 (818) at Object.<anonymous>

Geplant Angeheftet Gesperrt Verschoben Blockly
10 Beiträge 4 Kommentatoren 705 Aufrufe 2 Beobachtet
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • wauzziW Offline
    wauzziW Offline
    wauzzi
    schrieb am zuletzt editiert von Homoran
    #1

    Hallo IO Broker Gemeinde,

    ich habe -wie gewohnt- ein harmloses Blockly Skript entwickelt.
    Das Skript funktioniert wie es soll, jedoch erscheint immer wieder die Meldung "javascript.1 (818) at Object.<anonymous> (script.js.Test.TibberBlockly:4:5)"

    <xml xmlns="https://developers.google.com/blockly/xml">
      <block type="comment" id="cjAXfrHzVfB$0/|{M;=?" x="-674" y="-482">
        <field name="COMMENT">SUN2000 An/Aus</field>
        <next>
          <block type="on_ext" id="q36`2xwzX/7}8Q@9#FdM">
            <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <value name="OID0">
              <shadow type="field_oid" id=".`}0$y^/Qgwo#uCd`{g-">
                <field name="oid">ManuelleStates.0.Wallbox_Aktueller_Zaehlerstand.Wallbox_Stomverbrauch_Aktuell</field>
              </shadow>
            </value>
            <value name="OID1">
              <shadow type="field_oid" id="1H(K3@S^}et_H6#zbsks">
                <field name="oid">fritzdect.0.DECT_087610364944.power</field>
              </shadow>
            </value>
            <value name="OID2">
              <shadow type="field_oid" id="LIoaL!pcv7MdEOiSjvNb">
                <field name="oid">sonoff.0.Trockner.ENERGY_Power</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="I6pY1{.-gYD{$fWhXuy=">
                <value name="IF0">
                  <block type="logic_compare" id="R)7QuYwl2p-m3VEY33J(">
                    <field name="OP">EQ</field>
                    <value name="A">
                      <block type="get_value" id="S)5XowwmT4j,HmYuNy;o">
                        <field name="ATTR">val</field>
                        <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_boolean" id="T:ZA@R.j0U/4,H=MicEd">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="fJq(Cj[sv`%wh%0jdd{|">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">mqtt.0.SUN2000.ACSetpointOVR</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="math_round" id="A*g)tBtA4e8W7,28]mRf">
                        <field name="OP">ROUNDDOWN</field>
                        <value name="NUM">
                          <shadow type="math_number" id="BY(ka-dm.5vUj`SG5{5N">
                            <field name="NUM">3.1</field>
                          </shadow>
                          <block type="math_on_list" id="mydSFuz~HqFl{;SdUWRi">
                            <mutation op="SUM"></mutation>
                            <field name="OP">SUM</field>
                            <value name="LIST">
                              <block type="lists_create_with" id="K^De_]%UR*7V`/ORJxq%">
                                <mutation items="4"></mutation>
                                <value name="ADD0">
                                  <block type="math_number" id="j*3J!VFM]ud5y,Z~@q;a">
                                    <field name="NUM">140</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="math_arithmetic" id="agdMWP#d7K{ip69G=Ob(">
                                    <field name="OP">MULTIPLY</field>
                                    <value name="A">
                                      <shadow type="math_number" id="mV%K-*E5mCBFp.`)x%P]">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="get_value_var" id="f%enDF5|Jpjc9=qOL:~P">
                                        <field name="ATTR">val</field>
                                        <value name="OID">
                                          <shadow type="text">
                                            <field name="TEXT"></field>
                                          </shadow>
                                          <block type="field_oid" id="nWvzx_+?@K/Mcdd$rj|B">
                                            <field name="oid">ManuelleStates.0.Wallbox_Aktueller_Zaehlerstand.Wallbox_Stomverbrauch_Aktuell</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="eSx+lqC7y:c^l5vI$(^+">
                                        <field name="NUM">1000</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="get_value_var" id="x3x5l#5T47XH(2[`pYU:">
                                    <field name="ATTR">val</field>
                                    <value name="OID">
                                      <shadow type="text">
                                        <field name="TEXT"></field>
                                      </shadow>
                                      <block type="field_oid" id="`X]S|U@{,3RIa+L2*c7]">
                                        <field name="oid">fritzdect.0.DECT_087610364944.power</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="ADD3">
                                  <block type="get_value_var" id="?Rq9u=V!,83$Q%.h}VI(">
                                    <field name="ATTR">val</field>
                                    <value name="OID">
                                      <shadow type="text">
                                        <field name="TEXT"></field>
                                      </shadow>
                                      <block type="field_oid" id="GkIxLcUJG2|vT}NqA?V8">
                                        <field name="oid">sonoff.0.Trockner.ENERGY_Power</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="u2l.BS}idU+`-Z,22Raf">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="cCI`;XF]BD$W;?e8:0_3">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="controls_if" id="e+KHk;^aE}r{%hsf[(8y">
                    <value name="IF0">
                      <block type="logic_compare" id="ELY?Fy*L?12%IpReKij8">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="``ILgl?.!cFqkjqxRPtR">
                            <field name="ATTR">val</field>
                            <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="cNPAewa75$Rns4/{t~@m">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="1ZwOs*s4zbWV{W1.PFbK">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">mqtt.0.SUN2000.ACSetpointOVR</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id="i~C}VVTtku]/dB6-rR44">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="on" id="(3E|~dT0=2]kV~tD*/)5">
                <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                <field name="CONDITION">false</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="control" id="BHGJg.[C^fTB^Bl5knb,">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                    <field name="OID">mqtt.1.LFP_Hausspeicher_BMS.DALY-BMS-to-MQTT.Device_Control.Pack_DischargeFET</field>
                    <field name="WITH_DELAY">TRUE</field>
                    <field name="DELAY_MS">15</field>
                    <field name="UNIT">sec</field>
                    <field name="CLEAR_RUNNING">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="s?J{NS?8ZF?|+*AKx@N:">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <next>
                  <block type="on" id=",C?P*s^sNwj:[IX2y;`a">
                    <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                    <field name="CONDITION">true</field>
                    <field name="ACK_CONDITION"></field>
                    <statement name="STATEMENT">
                      <block type="control" id="R|+Jx$lI%(#CbF+6O;Ra">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">mqtt.1.LFP_Hausspeicher_BMS.DALY-BMS-to-MQTT.Device_Control.Pack_DischargeFET</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="a~EmG1o4p3!1)rW_7PJS">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="comment" id="5Y]vW|]0lW]HYMUHAmo(">
                        <field name="COMMENT">HuaweiR4850G2_CAN_BUS_Control</field>
                        <next>
                          <block type="on_ext" id="G.L2_3QHaA{M^n%zeafr">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <value name="OID0">
                              <shadow type="field_oid" id="-6f]MQG:*A51Yc8{-t:O">
                                <field name="oid">0_userdata.0.Powerwall.Ladebetrieb</field>
                              </shadow>
                            </value>
                            <value name="OID1">
                              <shadow type="field_oid" id="TvEEJ+^E73t;Z)/vHqme">
                                <field name="oid">0_userdata.0.Powerwall.Ladestaerke_A</field>
                              </shadow>
                            </value>
                            <statement name="STATEMENT">
                              <block type="controls_if" id="vGnnWDvh2VaWz4-~HE(I">
                                <value name="IF0">
                                  <block type="logic_compare" id="OZ|y:x(m/~F=Yz}y{HxD">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="4lkVmsrh;vy~k_~OcHzN">
                                        <field name="ATTR">val</field>
                                        <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="@lVHQ9qBJJzx$=!h/5(l">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="request" id=".-.g_-=L9s(9m%2gSRcE">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                    <field name="WITH_STATEMENT">FALSE</field>
                                    <field name="LOG"></field>
                                    <value name="URL">
                                      <shadow type="text" id=";`Vij$3_oWQ16om4gM/6">
                                        <field name="TEXT">http://192.168.2.59/System?SM=Online&amp;V=56.8&amp;A=0&amp;P1V=56.8&amp;P1A=50&amp;P2V=56.8&amp;P2A=25&amp;P3V=&amp;P3A=</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="control" id=".C+,_W?%N4`3!b*NJ+L$">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                        <field name="OID">zigbee.1.7cb03eaa00b1b43e.state</field>
                                        <field name="WITH_DELAY">TRUE</field>
                                        <field name="DELAY_MS">30</field>
                                        <field name="UNIT">sec</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="E?ayDlwpnr^cj(q!8Li]">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="]++grqQk}f{mJB24zyss">
                                    <value name="IF0">
                                      <block type="logic_compare" id="XBSOUKh7*Eas@3O^A}7M">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id=",tsFu[}}aE{b}$fGUimr">
                                            <field name="ATTR">val</field>
                                            <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="jmDj(^A65nj{ltDU_vQ-">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="control" id="I$VHgc55O-a7)wzDgvHr">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">zigbee.1.7cb03eaa00b1b43e.state</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="?ZQ?#x]vlB@ylKurL7/7">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="X7{uq]E|Q_3jzpPZgPm;">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="/Tqn$A[B;?Q%ZXML,Sw[">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="timeouts_wait" id="rCUul@J^Nw.kNZE()yuZ">
                                                <field name="DELAY">7</field>
                                                <field name="UNIT">sec</field>
                                                <next>
                                                  <block type="request" id="gq^O_Re9.3,y/Mj3K,fm">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                    <field name="WITH_STATEMENT">FALSE</field>
                                                    <field name="LOG"></field>
                                                    <value name="URL">
                                                      <shadow type="text" id="rYT)LRdAmpNs]=E0,nG`">
                                                        <field name="TEXT"></field>
                                                      </shadow>
                                                      <block type="text_join" id="n`8*Rad)P^Tewdt}S3/:">
                                                        <mutation items="3"></mutation>
                                                        <value name="ADD0">
                                                          <block type="text" id="w?Q,0=x5+1zWDi9zhcjI">
                                                            <field name="TEXT">http://192.168.2.59/System?SM=Online&amp;V=56.8&amp;A=</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="get_value" id="vUo:T`~]$kj+|@O!.?]`">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">0_userdata.0.Powerwall.Ladestaerke_A</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD2">
                                                          <block type="text" id="BQd{eSTr%n*1]([dX@{a">
                                                            <field name="TEXT">&amp;P1V=56.8&amp;P1A=50&amp;P2V=56.8&amp;P2A=25&amp;P3V=&amp;P3A=</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </xml>
    

    MOD-EDIT: Code in code-tags gesetzt!

    CodierknechtC paul53P HomoranH 3 Antworten Letzte Antwort
    0
    • wauzziW wauzzi

      Hallo IO Broker Gemeinde,

      ich habe -wie gewohnt- ein harmloses Blockly Skript entwickelt.
      Das Skript funktioniert wie es soll, jedoch erscheint immer wieder die Meldung "javascript.1 (818) at Object.<anonymous> (script.js.Test.TibberBlockly:4:5)"

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="comment" id="cjAXfrHzVfB$0/|{M;=?" x="-674" y="-482">
          <field name="COMMENT">SUN2000 An/Aus</field>
          <next>
            <block type="on_ext" id="q36`2xwzX/7}8Q@9#FdM">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id=".`}0$y^/Qgwo#uCd`{g-">
                  <field name="oid">ManuelleStates.0.Wallbox_Aktueller_Zaehlerstand.Wallbox_Stomverbrauch_Aktuell</field>
                </shadow>
              </value>
              <value name="OID1">
                <shadow type="field_oid" id="1H(K3@S^}et_H6#zbsks">
                  <field name="oid">fritzdect.0.DECT_087610364944.power</field>
                </shadow>
              </value>
              <value name="OID2">
                <shadow type="field_oid" id="LIoaL!pcv7MdEOiSjvNb">
                  <field name="oid">sonoff.0.Trockner.ENERGY_Power</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="I6pY1{.-gYD{$fWhXuy=">
                  <value name="IF0">
                    <block type="logic_compare" id="R)7QuYwl2p-m3VEY33J(">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="S)5XowwmT4j,HmYuNy;o">
                          <field name="ATTR">val</field>
                          <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="T:ZA@R.j0U/4,H=MicEd">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id="fJq(Cj[sv`%wh%0jdd{|">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">mqtt.0.SUN2000.ACSetpointOVR</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_round" id="A*g)tBtA4e8W7,28]mRf">
                          <field name="OP">ROUNDDOWN</field>
                          <value name="NUM">
                            <shadow type="math_number" id="BY(ka-dm.5vUj`SG5{5N">
                              <field name="NUM">3.1</field>
                            </shadow>
                            <block type="math_on_list" id="mydSFuz~HqFl{;SdUWRi">
                              <mutation op="SUM"></mutation>
                              <field name="OP">SUM</field>
                              <value name="LIST">
                                <block type="lists_create_with" id="K^De_]%UR*7V`/ORJxq%">
                                  <mutation items="4"></mutation>
                                  <value name="ADD0">
                                    <block type="math_number" id="j*3J!VFM]ud5y,Z~@q;a">
                                      <field name="NUM">140</field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="math_arithmetic" id="agdMWP#d7K{ip69G=Ob(">
                                      <field name="OP">MULTIPLY</field>
                                      <value name="A">
                                        <shadow type="math_number" id="mV%K-*E5mCBFp.`)x%P]">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="get_value_var" id="f%enDF5|Jpjc9=qOL:~P">
                                          <field name="ATTR">val</field>
                                          <value name="OID">
                                            <shadow type="text">
                                              <field name="TEXT"></field>
                                            </shadow>
                                            <block type="field_oid" id="nWvzx_+?@K/Mcdd$rj|B">
                                              <field name="oid">ManuelleStates.0.Wallbox_Aktueller_Zaehlerstand.Wallbox_Stomverbrauch_Aktuell</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id="eSx+lqC7y:c^l5vI$(^+">
                                          <field name="NUM">1000</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="get_value_var" id="x3x5l#5T47XH(2[`pYU:">
                                      <field name="ATTR">val</field>
                                      <value name="OID">
                                        <shadow type="text">
                                          <field name="TEXT"></field>
                                        </shadow>
                                        <block type="field_oid" id="`X]S|U@{,3RIa+L2*c7]">
                                          <field name="oid">fritzdect.0.DECT_087610364944.power</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="ADD3">
                                    <block type="get_value_var" id="?Rq9u=V!,83$Q%.h}VI(">
                                      <field name="ATTR">val</field>
                                      <value name="OID">
                                        <shadow type="text">
                                          <field name="TEXT"></field>
                                        </shadow>
                                        <block type="field_oid" id="GkIxLcUJG2|vT}NqA?V8">
                                          <field name="oid">sonoff.0.Trockner.ENERGY_Power</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="u2l.BS}idU+`-Z,22Raf">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="cCI`;XF]BD$W;?e8:0_3">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="controls_if" id="e+KHk;^aE}r{%hsf[(8y">
                      <value name="IF0">
                        <block type="logic_compare" id="ELY?Fy*L?12%IpReKij8">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="``ILgl?.!cFqkjqxRPtR">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="cNPAewa75$Rns4/{t~@m">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="control" id="1ZwOs*s4zbWV{W1.PFbK">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">mqtt.0.SUN2000.ACSetpointOVR</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="i~C}VVTtku]/dB6-rR44">
                              <field name="NUM">0</field>
                            </block>
                          </value>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="on" id="(3E|~dT0=2]kV~tD*/)5">
                  <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                  <field name="CONDITION">false</field>
                  <field name="ACK_CONDITION"></field>
                  <statement name="STATEMENT">
                    <block type="control" id="BHGJg.[C^fTB^Bl5knb,">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                      <field name="OID">mqtt.1.LFP_Hausspeicher_BMS.DALY-BMS-to-MQTT.Device_Control.Pack_DischargeFET</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">15</field>
                      <field name="UNIT">sec</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="s?J{NS?8ZF?|+*AKx@N:">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                  <next>
                    <block type="on" id=",C?P*s^sNwj:[IX2y;`a">
                      <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                      <field name="CONDITION">true</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="control" id="R|+Jx$lI%(#CbF+6O;Ra">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">mqtt.1.LFP_Hausspeicher_BMS.DALY-BMS-to-MQTT.Device_Control.Pack_DischargeFET</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="a~EmG1o4p3!1)rW_7PJS">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </statement>
                      <next>
                        <block type="comment" id="5Y]vW|]0lW]HYMUHAmo(">
                          <field name="COMMENT">HuaweiR4850G2_CAN_BUS_Control</field>
                          <next>
                            <block type="on_ext" id="G.L2_3QHaA{M^n%zeafr">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                              <field name="CONDITION">ne</field>
                              <field name="ACK_CONDITION"></field>
                              <value name="OID0">
                                <shadow type="field_oid" id="-6f]MQG:*A51Yc8{-t:O">
                                  <field name="oid">0_userdata.0.Powerwall.Ladebetrieb</field>
                                </shadow>
                              </value>
                              <value name="OID1">
                                <shadow type="field_oid" id="TvEEJ+^E73t;Z)/vHqme">
                                  <field name="oid">0_userdata.0.Powerwall.Ladestaerke_A</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="controls_if" id="vGnnWDvh2VaWz4-~HE(I">
                                  <value name="IF0">
                                    <block type="logic_compare" id="OZ|y:x(m/~F=Yz}y{HxD">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="4lkVmsrh;vy~k_~OcHzN">
                                          <field name="ATTR">val</field>
                                          <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="@lVHQ9qBJJzx$=!h/5(l">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="request" id=".-.g_-=L9s(9m%2gSRcE">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                      <field name="WITH_STATEMENT">FALSE</field>
                                      <field name="LOG"></field>
                                      <value name="URL">
                                        <shadow type="text" id=";`Vij$3_oWQ16om4gM/6">
                                          <field name="TEXT">http://192.168.2.59/System?SM=Online&amp;V=56.8&amp;A=0&amp;P1V=56.8&amp;P1A=50&amp;P2V=56.8&amp;P2A=25&amp;P3V=&amp;P3A=</field>
                                        </shadow>
                                      </value>
                                      <next>
                                        <block type="control" id=".C+,_W?%N4`3!b*NJ+L$">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                          <field name="OID">zigbee.1.7cb03eaa00b1b43e.state</field>
                                          <field name="WITH_DELAY">TRUE</field>
                                          <field name="DELAY_MS">30</field>
                                          <field name="UNIT">sec</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="E?ayDlwpnr^cj(q!8Li]">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_if" id="]++grqQk}f{mJB24zyss">
                                      <value name="IF0">
                                        <block type="logic_compare" id="XBSOUKh7*Eas@3O^A}7M">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id=",tsFu[}}aE{b}$fGUimr">
                                              <field name="ATTR">val</field>
                                              <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="jmDj(^A65nj{ltDU_vQ-">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="control" id="I$VHgc55O-a7)wzDgvHr">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">zigbee.1.7cb03eaa00b1b43e.state</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="?ZQ?#x]vlB@ylKurL7/7">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="X7{uq]E|Q_3jzpPZgPm;">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="/Tqn$A[B;?Q%ZXML,Sw[">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="timeouts_wait" id="rCUul@J^Nw.kNZE()yuZ">
                                                  <field name="DELAY">7</field>
                                                  <field name="UNIT">sec</field>
                                                  <next>
                                                    <block type="request" id="gq^O_Re9.3,y/Mj3K,fm">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                      <field name="WITH_STATEMENT">FALSE</field>
                                                      <field name="LOG"></field>
                                                      <value name="URL">
                                                        <shadow type="text" id="rYT)LRdAmpNs]=E0,nG`">
                                                          <field name="TEXT"></field>
                                                        </shadow>
                                                        <block type="text_join" id="n`8*Rad)P^Tewdt}S3/:">
                                                          <mutation items="3"></mutation>
                                                          <value name="ADD0">
                                                            <block type="text" id="w?Q,0=x5+1zWDi9zhcjI">
                                                              <field name="TEXT">http://192.168.2.59/System?SM=Online&amp;V=56.8&amp;A=</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD1">
                                                            <block type="get_value" id="vUo:T`~]$kj+|@O!.?]`">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">0_userdata.0.Powerwall.Ladestaerke_A</field>
                                                            </block>
                                                          </value>
                                                          <value name="ADD2">
                                                            <block type="text" id="BQd{eSTr%n*1]([dX@{a">
                                                              <field name="TEXT">&amp;P1V=56.8&amp;P1A=50&amp;P2V=56.8&amp;P2A=25&amp;P3V=&amp;P3A=</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      

      MOD-EDIT: Code in code-tags gesetzt!

      CodierknechtC Offline
      CodierknechtC Offline
      Codierknecht
      Developer Most Active
      schrieb am zuletzt editiert von
      #2

      @wauzzi
      Pack das bitte in Code-Tags </>.
      So kann (und will) das niemand lesen.

      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
      HmIP|ZigBee|Tasmota|Unifi
      Zabbix Certified Specialist
      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

      1 Antwort Letzte Antwort
      0
      • wauzziW wauzzi

        Hallo IO Broker Gemeinde,

        ich habe -wie gewohnt- ein harmloses Blockly Skript entwickelt.
        Das Skript funktioniert wie es soll, jedoch erscheint immer wieder die Meldung "javascript.1 (818) at Object.<anonymous> (script.js.Test.TibberBlockly:4:5)"

        <xml xmlns="https://developers.google.com/blockly/xml">
          <block type="comment" id="cjAXfrHzVfB$0/|{M;=?" x="-674" y="-482">
            <field name="COMMENT">SUN2000 An/Aus</field>
            <next>
              <block type="on_ext" id="q36`2xwzX/7}8Q@9#FdM">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id=".`}0$y^/Qgwo#uCd`{g-">
                    <field name="oid">ManuelleStates.0.Wallbox_Aktueller_Zaehlerstand.Wallbox_Stomverbrauch_Aktuell</field>
                  </shadow>
                </value>
                <value name="OID1">
                  <shadow type="field_oid" id="1H(K3@S^}et_H6#zbsks">
                    <field name="oid">fritzdect.0.DECT_087610364944.power</field>
                  </shadow>
                </value>
                <value name="OID2">
                  <shadow type="field_oid" id="LIoaL!pcv7MdEOiSjvNb">
                    <field name="oid">sonoff.0.Trockner.ENERGY_Power</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="controls_if" id="I6pY1{.-gYD{$fWhXuy=">
                    <value name="IF0">
                      <block type="logic_compare" id="R)7QuYwl2p-m3VEY33J(">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="S)5XowwmT4j,HmYuNy;o">
                            <field name="ATTR">val</field>
                            <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="T:ZA@R.j0U/4,H=MicEd">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="fJq(Cj[sv`%wh%0jdd{|">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">mqtt.0.SUN2000.ACSetpointOVR</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_round" id="A*g)tBtA4e8W7,28]mRf">
                            <field name="OP">ROUNDDOWN</field>
                            <value name="NUM">
                              <shadow type="math_number" id="BY(ka-dm.5vUj`SG5{5N">
                                <field name="NUM">3.1</field>
                              </shadow>
                              <block type="math_on_list" id="mydSFuz~HqFl{;SdUWRi">
                                <mutation op="SUM"></mutation>
                                <field name="OP">SUM</field>
                                <value name="LIST">
                                  <block type="lists_create_with" id="K^De_]%UR*7V`/ORJxq%">
                                    <mutation items="4"></mutation>
                                    <value name="ADD0">
                                      <block type="math_number" id="j*3J!VFM]ud5y,Z~@q;a">
                                        <field name="NUM">140</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="math_arithmetic" id="agdMWP#d7K{ip69G=Ob(">
                                        <field name="OP">MULTIPLY</field>
                                        <value name="A">
                                          <shadow type="math_number" id="mV%K-*E5mCBFp.`)x%P]">
                                            <field name="NUM">1</field>
                                          </shadow>
                                          <block type="get_value_var" id="f%enDF5|Jpjc9=qOL:~P">
                                            <field name="ATTR">val</field>
                                            <value name="OID">
                                              <shadow type="text">
                                                <field name="TEXT"></field>
                                              </shadow>
                                              <block type="field_oid" id="nWvzx_+?@K/Mcdd$rj|B">
                                                <field name="oid">ManuelleStates.0.Wallbox_Aktueller_Zaehlerstand.Wallbox_Stomverbrauch_Aktuell</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <shadow type="math_number" id="eSx+lqC7y:c^l5vI$(^+">
                                            <field name="NUM">1000</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="get_value_var" id="x3x5l#5T47XH(2[`pYU:">
                                        <field name="ATTR">val</field>
                                        <value name="OID">
                                          <shadow type="text">
                                            <field name="TEXT"></field>
                                          </shadow>
                                          <block type="field_oid" id="`X]S|U@{,3RIa+L2*c7]">
                                            <field name="oid">fritzdect.0.DECT_087610364944.power</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="ADD3">
                                      <block type="get_value_var" id="?Rq9u=V!,83$Q%.h}VI(">
                                        <field name="ATTR">val</field>
                                        <value name="OID">
                                          <shadow type="text">
                                            <field name="TEXT"></field>
                                          </shadow>
                                          <block type="field_oid" id="GkIxLcUJG2|vT}NqA?V8">
                                            <field name="oid">sonoff.0.Trockner.ENERGY_Power</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="u2l.BS}idU+`-Z,22Raf">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="cCI`;XF]BD$W;?e8:0_3">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </next>
                      </block>
                    </statement>
                    <next>
                      <block type="controls_if" id="e+KHk;^aE}r{%hsf[(8y">
                        <value name="IF0">
                          <block type="logic_compare" id="ELY?Fy*L?12%IpReKij8">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="get_value" id="``ILgl?.!cFqkjqxRPtR">
                                <field name="ATTR">val</field>
                                <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="cNPAewa75$Rns4/{t~@m">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="1ZwOs*s4zbWV{W1.PFbK">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">mqtt.0.SUN2000.ACSetpointOVR</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="i~C}VVTtku]/dB6-rR44">
                                <field name="NUM">0</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="on" id="(3E|~dT0=2]kV~tD*/)5">
                    <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                    <field name="CONDITION">false</field>
                    <field name="ACK_CONDITION"></field>
                    <statement name="STATEMENT">
                      <block type="control" id="BHGJg.[C^fTB^Bl5knb,">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                        <field name="OID">mqtt.1.LFP_Hausspeicher_BMS.DALY-BMS-to-MQTT.Device_Control.Pack_DischargeFET</field>
                        <field name="WITH_DELAY">TRUE</field>
                        <field name="DELAY_MS">15</field>
                        <field name="UNIT">sec</field>
                        <field name="CLEAR_RUNNING">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="s?J{NS?8ZF?|+*AKx@N:">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <next>
                      <block type="on" id=",C?P*s^sNwj:[IX2y;`a">
                        <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                        <field name="CONDITION">true</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="control" id="R|+Jx$lI%(#CbF+6O;Ra">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">mqtt.1.LFP_Hausspeicher_BMS.DALY-BMS-to-MQTT.Device_Control.Pack_DischargeFET</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="a~EmG1o4p3!1)rW_7PJS">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="comment" id="5Y]vW|]0lW]HYMUHAmo(">
                            <field name="COMMENT">HuaweiR4850G2_CAN_BUS_Control</field>
                            <next>
                              <block type="on_ext" id="G.L2_3QHaA{M^n%zeafr">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                <field name="CONDITION">ne</field>
                                <field name="ACK_CONDITION"></field>
                                <value name="OID0">
                                  <shadow type="field_oid" id="-6f]MQG:*A51Yc8{-t:O">
                                    <field name="oid">0_userdata.0.Powerwall.Ladebetrieb</field>
                                  </shadow>
                                </value>
                                <value name="OID1">
                                  <shadow type="field_oid" id="TvEEJ+^E73t;Z)/vHqme">
                                    <field name="oid">0_userdata.0.Powerwall.Ladestaerke_A</field>
                                  </shadow>
                                </value>
                                <statement name="STATEMENT">
                                  <block type="controls_if" id="vGnnWDvh2VaWz4-~HE(I">
                                    <value name="IF0">
                                      <block type="logic_compare" id="OZ|y:x(m/~F=Yz}y{HxD">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="4lkVmsrh;vy~k_~OcHzN">
                                            <field name="ATTR">val</field>
                                            <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="@lVHQ9qBJJzx$=!h/5(l">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="request" id=".-.g_-=L9s(9m%2gSRcE">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                        <field name="WITH_STATEMENT">FALSE</field>
                                        <field name="LOG"></field>
                                        <value name="URL">
                                          <shadow type="text" id=";`Vij$3_oWQ16om4gM/6">
                                            <field name="TEXT">http://192.168.2.59/System?SM=Online&amp;V=56.8&amp;A=0&amp;P1V=56.8&amp;P1A=50&amp;P2V=56.8&amp;P2A=25&amp;P3V=&amp;P3A=</field>
                                          </shadow>
                                        </value>
                                        <next>
                                          <block type="control" id=".C+,_W?%N4`3!b*NJ+L$">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                            <field name="OID">zigbee.1.7cb03eaa00b1b43e.state</field>
                                            <field name="WITH_DELAY">TRUE</field>
                                            <field name="DELAY_MS">30</field>
                                            <field name="UNIT">sec</field>
                                            <field name="CLEAR_RUNNING">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="E?ayDlwpnr^cj(q!8Li]">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="]++grqQk}f{mJB24zyss">
                                        <value name="IF0">
                                          <block type="logic_compare" id="XBSOUKh7*Eas@3O^A}7M">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id=",tsFu[}}aE{b}$fGUimr">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="jmDj(^A65nj{ltDU_vQ-">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="control" id="I$VHgc55O-a7)wzDgvHr">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">zigbee.1.7cb03eaa00b1b43e.state</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="?ZQ?#x]vlB@ylKurL7/7">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="control" id="X7{uq]E|Q_3jzpPZgPm;">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="/Tqn$A[B;?Q%ZXML,Sw[">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="timeouts_wait" id="rCUul@J^Nw.kNZE()yuZ">
                                                    <field name="DELAY">7</field>
                                                    <field name="UNIT">sec</field>
                                                    <next>
                                                      <block type="request" id="gq^O_Re9.3,y/Mj3K,fm">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                        <field name="WITH_STATEMENT">FALSE</field>
                                                        <field name="LOG"></field>
                                                        <value name="URL">
                                                          <shadow type="text" id="rYT)LRdAmpNs]=E0,nG`">
                                                            <field name="TEXT"></field>
                                                          </shadow>
                                                          <block type="text_join" id="n`8*Rad)P^Tewdt}S3/:">
                                                            <mutation items="3"></mutation>
                                                            <value name="ADD0">
                                                              <block type="text" id="w?Q,0=x5+1zWDi9zhcjI">
                                                                <field name="TEXT">http://192.168.2.59/System?SM=Online&amp;V=56.8&amp;A=</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="get_value" id="vUo:T`~]$kj+|@O!.?]`">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">0_userdata.0.Powerwall.Ladestaerke_A</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="text" id="BQd{eSTr%n*1]([dX@{a">
                                                                <field name="TEXT">&amp;P1V=56.8&amp;P1A=50&amp;P2V=56.8&amp;P2A=25&amp;P3V=&amp;P3A=</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </xml>
        

        MOD-EDIT: Code in code-tags gesetzt!

        paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von paul53
        #3

        @wauzzi
        Ohne das Skript zu kennen: Im Tab "Protokolle" erhält meine weitere Informationen.

        EDIT: Ist der DP "mqtt.0.SUN2000.ACSetpointOVR" vom Typ Zahl("number")?

        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

        CodierknechtC 1 Antwort Letzte Antwort
        0
        • wauzziW wauzzi

          Hallo IO Broker Gemeinde,

          ich habe -wie gewohnt- ein harmloses Blockly Skript entwickelt.
          Das Skript funktioniert wie es soll, jedoch erscheint immer wieder die Meldung "javascript.1 (818) at Object.<anonymous> (script.js.Test.TibberBlockly:4:5)"

          <xml xmlns="https://developers.google.com/blockly/xml">
            <block type="comment" id="cjAXfrHzVfB$0/|{M;=?" x="-674" y="-482">
              <field name="COMMENT">SUN2000 An/Aus</field>
              <next>
                <block type="on_ext" id="q36`2xwzX/7}8Q@9#FdM">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id=".`}0$y^/Qgwo#uCd`{g-">
                      <field name="oid">ManuelleStates.0.Wallbox_Aktueller_Zaehlerstand.Wallbox_Stomverbrauch_Aktuell</field>
                    </shadow>
                  </value>
                  <value name="OID1">
                    <shadow type="field_oid" id="1H(K3@S^}et_H6#zbsks">
                      <field name="oid">fritzdect.0.DECT_087610364944.power</field>
                    </shadow>
                  </value>
                  <value name="OID2">
                    <shadow type="field_oid" id="LIoaL!pcv7MdEOiSjvNb">
                      <field name="oid">sonoff.0.Trockner.ENERGY_Power</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="I6pY1{.-gYD{$fWhXuy=">
                      <value name="IF0">
                        <block type="logic_compare" id="R)7QuYwl2p-m3VEY33J(">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="S)5XowwmT4j,HmYuNy;o">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="T:ZA@R.j0U/4,H=MicEd">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="control" id="fJq(Cj[sv`%wh%0jdd{|">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">mqtt.0.SUN2000.ACSetpointOVR</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_round" id="A*g)tBtA4e8W7,28]mRf">
                              <field name="OP">ROUNDDOWN</field>
                              <value name="NUM">
                                <shadow type="math_number" id="BY(ka-dm.5vUj`SG5{5N">
                                  <field name="NUM">3.1</field>
                                </shadow>
                                <block type="math_on_list" id="mydSFuz~HqFl{;SdUWRi">
                                  <mutation op="SUM"></mutation>
                                  <field name="OP">SUM</field>
                                  <value name="LIST">
                                    <block type="lists_create_with" id="K^De_]%UR*7V`/ORJxq%">
                                      <mutation items="4"></mutation>
                                      <value name="ADD0">
                                        <block type="math_number" id="j*3J!VFM]ud5y,Z~@q;a">
                                          <field name="NUM">140</field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="math_arithmetic" id="agdMWP#d7K{ip69G=Ob(">
                                          <field name="OP">MULTIPLY</field>
                                          <value name="A">
                                            <shadow type="math_number" id="mV%K-*E5mCBFp.`)x%P]">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="get_value_var" id="f%enDF5|Jpjc9=qOL:~P">
                                              <field name="ATTR">val</field>
                                              <value name="OID">
                                                <shadow type="text">
                                                  <field name="TEXT"></field>
                                                </shadow>
                                                <block type="field_oid" id="nWvzx_+?@K/Mcdd$rj|B">
                                                  <field name="oid">ManuelleStates.0.Wallbox_Aktueller_Zaehlerstand.Wallbox_Stomverbrauch_Aktuell</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="eSx+lqC7y:c^l5vI$(^+">
                                              <field name="NUM">1000</field>
                                            </shadow>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="ADD2">
                                        <block type="get_value_var" id="x3x5l#5T47XH(2[`pYU:">
                                          <field name="ATTR">val</field>
                                          <value name="OID">
                                            <shadow type="text">
                                              <field name="TEXT"></field>
                                            </shadow>
                                            <block type="field_oid" id="`X]S|U@{,3RIa+L2*c7]">
                                              <field name="oid">fritzdect.0.DECT_087610364944.power</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="ADD3">
                                        <block type="get_value_var" id="?Rq9u=V!,83$Q%.h}VI(">
                                          <field name="ATTR">val</field>
                                          <value name="OID">
                                            <shadow type="text">
                                              <field name="TEXT"></field>
                                            </shadow>
                                            <block type="field_oid" id="GkIxLcUJG2|vT}NqA?V8">
                                              <field name="oid">sonoff.0.Trockner.ENERGY_Power</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="u2l.BS}idU+`-Z,22Raf">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="cCI`;XF]BD$W;?e8:0_3">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                      <next>
                        <block type="controls_if" id="e+KHk;^aE}r{%hsf[(8y">
                          <value name="IF0">
                            <block type="logic_compare" id="ELY?Fy*L?12%IpReKij8">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="``ILgl?.!cFqkjqxRPtR">
                                  <field name="ATTR">val</field>
                                  <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="cNPAewa75$Rns4/{t~@m">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="1ZwOs*s4zbWV{W1.PFbK">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">mqtt.0.SUN2000.ACSetpointOVR</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="i~C}VVTtku]/dB6-rR44">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="on" id="(3E|~dT0=2]kV~tD*/)5">
                      <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                      <field name="CONDITION">false</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="control" id="BHGJg.[C^fTB^Bl5knb,">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                          <field name="OID">mqtt.1.LFP_Hausspeicher_BMS.DALY-BMS-to-MQTT.Device_Control.Pack_DischargeFET</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">15</field>
                          <field name="UNIT">sec</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="s?J{NS?8ZF?|+*AKx@N:">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </statement>
                      <next>
                        <block type="on" id=",C?P*s^sNwj:[IX2y;`a">
                          <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                          <field name="CONDITION">true</field>
                          <field name="ACK_CONDITION"></field>
                          <statement name="STATEMENT">
                            <block type="control" id="R|+Jx$lI%(#CbF+6O;Ra">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">mqtt.1.LFP_Hausspeicher_BMS.DALY-BMS-to-MQTT.Device_Control.Pack_DischargeFET</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="a~EmG1o4p3!1)rW_7PJS">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <next>
                            <block type="comment" id="5Y]vW|]0lW]HYMUHAmo(">
                              <field name="COMMENT">HuaweiR4850G2_CAN_BUS_Control</field>
                              <next>
                                <block type="on_ext" id="G.L2_3QHaA{M^n%zeafr">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                  <field name="CONDITION">ne</field>
                                  <field name="ACK_CONDITION"></field>
                                  <value name="OID0">
                                    <shadow type="field_oid" id="-6f]MQG:*A51Yc8{-t:O">
                                      <field name="oid">0_userdata.0.Powerwall.Ladebetrieb</field>
                                    </shadow>
                                  </value>
                                  <value name="OID1">
                                    <shadow type="field_oid" id="TvEEJ+^E73t;Z)/vHqme">
                                      <field name="oid">0_userdata.0.Powerwall.Ladestaerke_A</field>
                                    </shadow>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="controls_if" id="vGnnWDvh2VaWz4-~HE(I">
                                      <value name="IF0">
                                        <block type="logic_compare" id="OZ|y:x(m/~F=Yz}y{HxD">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="4lkVmsrh;vy~k_~OcHzN">
                                              <field name="ATTR">val</field>
                                              <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="@lVHQ9qBJJzx$=!h/5(l">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="request" id=".-.g_-=L9s(9m%2gSRcE">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                          <field name="WITH_STATEMENT">FALSE</field>
                                          <field name="LOG"></field>
                                          <value name="URL">
                                            <shadow type="text" id=";`Vij$3_oWQ16om4gM/6">
                                              <field name="TEXT">http://192.168.2.59/System?SM=Online&amp;V=56.8&amp;A=0&amp;P1V=56.8&amp;P1A=50&amp;P2V=56.8&amp;P2A=25&amp;P3V=&amp;P3A=</field>
                                            </shadow>
                                          </value>
                                          <next>
                                            <block type="control" id=".C+,_W?%N4`3!b*NJ+L$">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                              <field name="OID">zigbee.1.7cb03eaa00b1b43e.state</field>
                                              <field name="WITH_DELAY">TRUE</field>
                                              <field name="DELAY_MS">30</field>
                                              <field name="UNIT">sec</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="E?ayDlwpnr^cj(q!8Li]">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="controls_if" id="]++grqQk}f{mJB24zyss">
                                          <value name="IF0">
                                            <block type="logic_compare" id="XBSOUKh7*Eas@3O^A}7M">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id=",tsFu[}}aE{b}$fGUimr">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">0_userdata.0.Powerwall.Ladebetrieb</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_boolean" id="jmDj(^A65nj{ltDU_vQ-">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="I$VHgc55O-a7)wzDgvHr">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">zigbee.1.7cb03eaa00b1b43e.state</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="?ZQ?#x]vlB@ylKurL7/7">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="X7{uq]E|Q_3jzpPZgPm;">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Powerwall.Akkubetrieb</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="/Tqn$A[B;?Q%ZXML,Sw[">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="timeouts_wait" id="rCUul@J^Nw.kNZE()yuZ">
                                                      <field name="DELAY">7</field>
                                                      <field name="UNIT">sec</field>
                                                      <next>
                                                        <block type="request" id="gq^O_Re9.3,y/Mj3K,fm">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                          <field name="WITH_STATEMENT">FALSE</field>
                                                          <field name="LOG"></field>
                                                          <value name="URL">
                                                            <shadow type="text" id="rYT)LRdAmpNs]=E0,nG`">
                                                              <field name="TEXT"></field>
                                                            </shadow>
                                                            <block type="text_join" id="n`8*Rad)P^Tewdt}S3/:">
                                                              <mutation items="3"></mutation>
                                                              <value name="ADD0">
                                                                <block type="text" id="w?Q,0=x5+1zWDi9zhcjI">
                                                                  <field name="TEXT">http://192.168.2.59/System?SM=Online&amp;V=56.8&amp;A=</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD1">
                                                                <block type="get_value" id="vUo:T`~]$kj+|@O!.?]`">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">0_userdata.0.Powerwall.Ladestaerke_A</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD2">
                                                                <block type="text" id="BQd{eSTr%n*1]([dX@{a">
                                                                  <field name="TEXT">&amp;P1V=56.8&amp;P1A=50&amp;P2V=56.8&amp;P2A=25&amp;P3V=&amp;P3A=</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </xml>
          

          MOD-EDIT: Code in code-tags gesetzt!

          HomoranH Nicht stören
          HomoranH Nicht stören
          Homoran
          Global Moderator Administrators
          schrieb am zuletzt editiert von
          #4

          @wauzzi bitte immer auch als Screenshot!
          Was soll man am Handy auch mit einem XML?

          https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1

          kein Support per PN! - Fragen im Forum stellen -
          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @wauzzi
            Ohne das Skript zu kennen: Im Tab "Protokolle" erhält meine weitere Informationen.

            EDIT: Ist der DP "mqtt.0.SUN2000.ACSetpointOVR" vom Typ Zahl("number")?

            CodierknechtC Offline
            CodierknechtC Offline
            Codierknecht
            Developer Most Active
            schrieb am zuletzt editiert von
            #5

            @paul53 sagte in Fehler javascript.1 (818) at Object.<anonymous>:

            Ist der DP "mqtt.0.SUN2000.ACSetpointOVR" vom Typ Zahl("number")?

            Würde ja zumindest zur angemeckerten Zeile passen.

            fd56cdba-5f1c-418f-b690-7368d7310cc5-grafik.png

            Aber klärt mich mal auf:

            • Was genau bedeutet in der Fehlermeldung das ":4:5"?
              4 ist die Zeile? Und die 5?
            • Wo kommt ManuelleStates.0 her?

            "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

            Proxmox 9.1.1 LXC|8 GB|Core i7-6700
            HmIP|ZigBee|Tasmota|Unifi
            Zabbix Certified Specialist
            Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

            HomoranH 2 Antworten Letzte Antwort
            1
            • CodierknechtC Codierknecht

              @paul53 sagte in Fehler javascript.1 (818) at Object.<anonymous>:

              Ist der DP "mqtt.0.SUN2000.ACSetpointOVR" vom Typ Zahl("number")?

              Würde ja zumindest zur angemeckerten Zeile passen.

              fd56cdba-5f1c-418f-b690-7368d7310cc5-grafik.png

              Aber klärt mich mal auf:

              • Was genau bedeutet in der Fehlermeldung das ":4:5"?
                4 ist die Zeile? Und die 5?
              • Wo kommt ManuelleStates.0 her?
              HomoranH Nicht stören
              HomoranH Nicht stören
              Homoran
              Global Moderator Administrators
              schrieb am zuletzt editiert von Homoran
              #6

              @codierknecht sagte in Fehler javascript.1 (818) at Object.<anonymous>:

              4 ist die Zeile? Und die 5?

              das 5. Zeichen = setState

              kein Support per PN! - Fragen im Forum stellen -
              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
              Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              1 Antwort Letzte Antwort
              1
              • CodierknechtC Codierknecht

                @paul53 sagte in Fehler javascript.1 (818) at Object.<anonymous>:

                Ist der DP "mqtt.0.SUN2000.ACSetpointOVR" vom Typ Zahl("number")?

                Würde ja zumindest zur angemeckerten Zeile passen.

                fd56cdba-5f1c-418f-b690-7368d7310cc5-grafik.png

                Aber klärt mich mal auf:

                • Was genau bedeutet in der Fehlermeldung das ":4:5"?
                  4 ist die Zeile? Und die 5?
                • Wo kommt ManuelleStates.0 her?
                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von Homoran
                #7

                @codierknecht sagte in Fehler javascript.1 (818) at Object.<anonymous>:

                Wo kommt ManuelleStates.0 her?

                so wie bei mir Messwerte.0 und Systemvariablen.0
                Screenshot_20230123-213949_Firefox.jpg

                kein Support per PN! - Fragen im Forum stellen -
                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                CodierknechtC 1 Antwort Letzte Antwort
                0
                • HomoranH Homoran

                  @codierknecht sagte in Fehler javascript.1 (818) at Object.<anonymous>:

                  Wo kommt ManuelleStates.0 her?

                  so wie bei mir Messwerte.0 und Systemvariablen.0
                  Screenshot_20230123-213949_Firefox.jpg

                  CodierknechtC Offline
                  CodierknechtC Offline
                  Codierknecht
                  Developer Most Active
                  schrieb am zuletzt editiert von
                  #8

                  @homoran sagte in Fehler javascript.1 (818) at Object.<anonymous>:

                  so wie bei mir Messwerte.0 und Systemvariablen.0

                  Prömpelt man die selbst da rein? Ohne Adapter und Instanz?

                  "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                  Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                  HmIP|ZigBee|Tasmota|Unifi
                  Zabbix Certified Specialist
                  Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                  HomoranH 1 Antwort Letzte Antwort
                  0
                  • CodierknechtC Codierknecht

                    @homoran sagte in Fehler javascript.1 (818) at Object.<anonymous>:

                    so wie bei mir Messwerte.0 und Systemvariablen.0

                    Prömpelt man die selbst da rein? Ohne Adapter und Instanz?

                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #9

                    @codierknecht sagte in Fehler javascript.1 (818) at Object.<anonymous>:

                    @homoran sagte in Fehler javascript.1 (818) at Object.<anonymous>:

                    so wie bei mir Messwerte.0 und Systemvariablen.0

                    Prömpelt man die selbst da rein? Ohne Adapter und Instanz?

                    früher war alles besser! 😁
                    Da ging das noch

                    kein Support per PN! - Fragen im Forum stellen -
                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                    Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    wauzziW 1 Antwort Letzte Antwort
                    1
                    • HomoranH Homoran

                      @codierknecht sagte in Fehler javascript.1 (818) at Object.<anonymous>:

                      @homoran sagte in Fehler javascript.1 (818) at Object.<anonymous>:

                      so wie bei mir Messwerte.0 und Systemvariablen.0

                      Prömpelt man die selbst da rein? Ohne Adapter und Instanz?

                      früher war alles besser! 😁
                      Da ging das noch

                      wauzziW Offline
                      wauzziW Offline
                      wauzzi
                      schrieb am zuletzt editiert von
                      #10

                      Hallo Zusammen,

                      vielen lieben Dank für Eure zahlreichen Rückmeldungen.
                      Sorry, natürlich hätte ich den Blockly Export in ein Code Tag einbetten müssen.

                      Ich habe den Datenpunkt ACSetpointOVR von String in Number geändert. Jetzt scheint es zu passen.

                      Ihr seid klasse ! Vielen Dank !!!!

                      1 Antwort Letzte Antwort
                      0

                      Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                      Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                      Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                      Registrieren Anmelden
                      Antworten
                      • In einem neuen Thema antworten
                      Anmelden zum Antworten
                      • Älteste zuerst
                      • Neuste zuerst
                      • Meiste Stimmen


                      Support us

                      ioBroker
                      Community Adapters
                      Donate

                      555

                      Online

                      32.8k

                      Benutzer

                      82.8k

                      Themen

                      1.3m

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

                      • Du hast noch kein Konto? Registrieren

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