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. (gelöst) "cannot extract Blockly Code" Fehler

NEWS

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

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    9
    1
    279

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

(gelöst) "cannot extract Blockly Code" Fehler

Geplant Angeheftet Gesperrt Verschoben Blockly
6 Beiträge 2 Kommentatoren 323 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.
  • HumidorH Online
    HumidorH Online
    Humidor
    schrieb am zuletzt editiert von Humidor
    #1

    Hallo 👍

    würde diesem Fehler gern mal etwas auf die Spur kommen, beschäftigt mich täglich.
    Wenn ich das seitliche Menü (Anzeige aller Blockly Scripte) öffne / schließe kommt dieser Fehler.
    Ich habe aktuell alle Blöcke im Script deaktiviert.
    Egal ob am Raspi oder auf der Synology, selbiges Verhalten überall.
    (als Nächstes würde ich den Umzug aller Blöcke in ein neues Script angehen...)

    Danke!
    Blockly.pdf
    Bildschirmfoto 2021-05-22 um 08.48.37.png Bildschirmfoto 2021-05-22 um 08.48.49.png

    BG

    GlasfaserG 1 Antwort Letzte Antwort
    0
    • HumidorH Humidor

      Hallo 👍

      würde diesem Fehler gern mal etwas auf die Spur kommen, beschäftigt mich täglich.
      Wenn ich das seitliche Menü (Anzeige aller Blockly Scripte) öffne / schließe kommt dieser Fehler.
      Ich habe aktuell alle Blöcke im Script deaktiviert.
      Egal ob am Raspi oder auf der Synology, selbiges Verhalten überall.
      (als Nächstes würde ich den Umzug aller Blöcke in ein neues Script angehen...)

      Danke!
      Blockly.pdf
      Bildschirmfoto 2021-05-22 um 08.48.37.png Bildschirmfoto 2021-05-22 um 08.48.49.png

      GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      schrieb am zuletzt editiert von Glasfaser
      #2

      @humidor sagte in "cannot extract Blockly Code" Fehler:

      würde diesem Fehler gern mal etwas auf die Spur kommen, beschäftigt mich täglich.

      Und täglich grüßt das Murmeltier

      Richtig , ist bei dir schon sehr lange und auch in jedem Thread von dir besprochen .

      (als Nächstes würde ich den Umzug aller Blöcke in ein neues Script angehen...)

      Einen neuen ioBroker ( mit den benötigten Adaptern ) aufsetzen und jedes einzelne Script importieren / testen.

      Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

      HumidorH 1 Antwort Letzte Antwort
      1
      • GlasfaserG Glasfaser

        @humidor sagte in "cannot extract Blockly Code" Fehler:

        würde diesem Fehler gern mal etwas auf die Spur kommen, beschäftigt mich täglich.

        Und täglich grüßt das Murmeltier

        Richtig , ist bei dir schon sehr lange und auch in jedem Thread von dir besprochen .

        (als Nächstes würde ich den Umzug aller Blöcke in ein neues Script angehen...)

        Einen neuen ioBroker ( mit den benötigten Adaptern ) aufsetzen und jedes einzelne Script importieren / testen.

        HumidorH Online
        HumidorH Online
        Humidor
        schrieb am zuletzt editiert von
        #3

        @glasfaser ach bitte, übertreiben wir mal nicht!

        es ist bei diesem Blockly der Fehler, aber was solls.... was schreib ich.

        BG

        GlasfaserG 1 Antwort Letzte Antwort
        0
        • HumidorH Humidor

          @glasfaser ach bitte, übertreiben wir mal nicht!

          es ist bei diesem Blockly der Fehler, aber was solls.... was schreib ich.

          GlasfaserG Offline
          GlasfaserG Offline
          Glasfaser
          schrieb am zuletzt editiert von Glasfaser
          #4

          @humidor sagte in "cannot extract Blockly Code" Fehler:

          ist bei diesem Blockly der Fehler

          Ja schon beim importieren , da man deine Vorlage nicht einfügen kann.

          acbbd89f-c7d9-466e-afff-1b816ff4e9d8-grafik.png

          Nimm Nodepad+++ oder einen anderen Texteditor dann in .txt und nicht als PDF hier hochladen .
          Dann kann man auch dein Blockly testen .

          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

          HumidorH 1 Antwort Letzte Antwort
          0
          • GlasfaserG Glasfaser

            @humidor sagte in "cannot extract Blockly Code" Fehler:

            ist bei diesem Blockly der Fehler

            Ja schon beim importieren , da man deine Vorlage nicht einfügen kann.

            acbbd89f-c7d9-466e-afff-1b816ff4e9d8-grafik.png

            Nimm Nodepad+++ oder einen anderen Texteditor dann in .txt und nicht als PDF hier hochladen .
            Dann kann man auch dein Blockly testen .

            HumidorH Online
            HumidorH Online
            Humidor
            schrieb am zuletzt editiert von Humidor
            #5

            @glasfaser ich habe Block für Block gelöscht und einen identifiziert, bei dem es den Fehler ausgibt.


            <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id=",O^?q8[r;sS~lqG[?][)" x="-887" y="3900">
            <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="E%y=!oF0A/7`$Gj@m#e">
            <field name="oid">0_userdata.0.AMISFronius.170</field>
            </shadow>
            </value>
            <value name="OID1">
            <shadow type="field_oid" id="$=oKGqb2Z%/hhV0QiB~5">
            <field name="oid">0_userdata.0.AMISFronius.270</field>
            </shadow>
            </value>
            <value name="OID2">
            <shadow type="field_oid" id="@u~kM4h)6xkxSq[7E;R$">
            <field name="oid">0_userdata.0.AMISFronius.PowerFronius</field>
            </shadow>
            </value>
            <statement name="STATEMENT">
            <block type="timeouts_cleartimeout" id="V5uKiSi1I3cx4o}A#D[m">
            <field name="NAME">timeout</field>
            <next>
            <block type="timeouts_settimeout" id="igKnM-7I*~dQhYw:S=-
            ">
            <field name="NAME">timeout</field>
            <field name="DELAY">60</field>
            <field name="UNIT">sec</field>
            <statement name="STATEMENT">
            <block type="controls_if" id=",fBow#RKbw],/SFuS=#j">
            <value name="IF0">
            <block type="logic_operation" id="+T0=PB}iPPXj9(8JN9Q">
            <field name="OP">AND</field>
            <value name="A">
            <block type="get_value" id="Egz64],m.4SgYAhH0V;">
            <field name="ATTR">val</field>
            <field name="OID">kecontact.0.enableUser</field>
            </block>
            </value>
            <value name="B">
            <block type="logic_negate" id="P-La63{jbQ{L83.-4i83">
            <value name="BOOL">
            <block type="get_value" id="E,pyHu3$kKG_Ap{Per7.">
            <field name="ATTR">val</field>
            <field name="OID">javascript.0.Zoe.EmergencyStop</field>
            </block>
            </value>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO0">
            <block type="update" id="?4%}LCai[Fd/v:Z^%Q2~">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">kecontact.0.currentUser</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="math_arithmetic" id="76hvC-Xgl%C#pq`{h,Jt">
            <field name="OP">MULTIPLY</field>
            <value name="A">
            <shadow type="math_number">
            <field name="NUM">1</field>
            </shadow>
            <block type="get_value" id="R?$%`Pvaj11:oI8}MFl=">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.Zoe.ZoeMinCurrent</field>
            </block>
            </value>
            <value name="B">
            <shadow type="math_number" id="Pp0T%i{SE5}5#Vk10SAG">
            <field name="NUM">1000</field>
            </shadow>
            </value>
            </block>
            </value>
            <next>
            <block type="control" id="O3qSF-%]20R:R^p]O/v)">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">kecontact.0.enableUser</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="gP~SygEfp6=mlzaD7pwh">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            <next>
            <block type="control" id="ZK[$bTNWC.^^q6,~Q5Hh">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">javascript.0.Zoe.PVRegelungAktiv</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="b{;B=6[a;asi2Hwd/J[:">
            <field name="BOOL">FALSE</field>
            </block>
            </value>
            <next>
            <block type="control" id="
            [h]RG5]Vh~uZ_J8;:IG">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">javascript.0.Zoe.EmergencyStop</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id="F$u4heNG`TznlH[W98k+">
            <field name="BOOL">TRUE</field>
            </block>
            </value>
            <next>
            <block type="schedule_clear" id="~TQs#@hMiY#QM8d/;(]?">
            <field name="NAME">Regelzyklus</field>
            <next>
            <block type="debug" id="t#|`eoP0N[pJwM4v}PyY">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text" id="q#a{hMQ8bIj!.uDqi$f}">
            <field name="TEXT">PV - GRID ÜBERWACHUNG !! Emergency Stop.</field>
            </shadow>
            </value>
            <next>
            <block type="telegram" id="rjdDovIQY9An^DH[#)OT">
            <field name="INSTANCE">.0</field>
            <field name="LOG">log</field>
            <field name="SILENT">FALSE</field>
            <field name="PARSEMODE">default</field>
            <value name="MESSAGE">
            <shadow type="text" id=";H4[Q+V
            DfMfo3orlZMB">
            <field name="TEXT">PV - GRID ÜBERWACHUNG !! Emergency Stop.</field>
            </shadow>
            </value>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            </block>
            </statement>
            <next>
            <block type="comment" id="Eb,2V$G-X4Mxmv|`L`Z+">
            <field name="COMMENT">Emergency Stop aufheben</field>
            <next>
            <block type="controls_if" id="#i5J$xK_,,@Bt[_cVVC|">
            <value name="IF0">
            <block type="logic_operation" id="M~Y]Bm[pCxO+A+sTA6o+">
            <field name="OP">AND</field>
            <value name="A">
            <block type="get_value" id="~O.(};:y?x4`e2Pg4bEr">
            <field name="ATTR">val</field>
            <field name="OID">fronius.0.info.connection</field>
            </block>
            </value>
            <value name="B">
            <block type="get_value" id="./j?9vXsJ[vq?iOaFa">
            <field name="ATTR">val</field>
            <field name="OID">javascript.0.Zoe.EmergencyStop</field>
            </block>
            </value>
            </block>
            </value>
            <statement name="DO0">
            <block type="control" id="aB1@2{t=6om4,WK,Rs[:">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">javascript.0.Zoe.EmergencyStop</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
            <block type="logic_boolean" id=".=`1d/%iQhHAHRQ51-4!">
            <field name="BOOL">TRUE</field>
            </block>
            </value>
            <next>
            <block type="debug" id="P-?@Ghxoz)6js?b54GOT">
            <field name="Severity">log</field>
            <value name="TEXT">
            <shadow type="text" id="X-[LGcbvj3v3`%TTDU`#">
            <field name="TEXT">PV -Emergency Stop deaktiviert.</field>
            </shadow>
            </value>
            </block>
            </next>
            </block>
            </statement>
            </block>
            </next>
            </block>
            </next>
            </block>
            </next>
            </block>
            </statement>
            </block>

            Bildschirmfoto 2021-05-23 um 07.31.25.png

            wenn ich diesen Block in einem neuen Script importieren möchte, kommt dieser Fehler:

            TypeError: text.replace is not a function
            
            <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id=",O^?q8[r;sS~lqG[?][)" disabled="true" x="-512" y="4389">
              <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="E%y=!oF0A/_7`$Gj@m#e">
                  <field name="oid">0_userdata.0.AMISFronius.170</field>
                </shadow>
              </value>
              <value name="OID1">
                <shadow type="field_oid" id="$=oKGqb2Z%/hhV0QiB~5">
                  <field name="oid">0_userdata.0.AMISFronius.270</field>
                </shadow>
              </value>
              <value name="OID2">
                <shadow type="field_oid" id="@u~kM4h)6xkxSq[7E;R$">
                  <field name="oid">0_userdata.0.AMISFronius.PowerFronius</field>
                </shadow>
              </value>
            </block>
            

            Bildschirmfoto 2021-05-23 um 07.55.18.png

            der 2. Trigger (270)
            Bildschirmfoto 2021-05-23 um 07.56.55.png
            lässt sich auch wieder nicht auswählen mit OK.

            lasse ich den Wert weg, fkt. das Blockly wieder ohne Fehler.
            Bildschirmfoto 2021-05-23 um 08.00.27.png

            <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id=",O^?q8[r;sS~lqG[?][)" disabled="true" x="-512" y="4389">
              <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="E%y=!oF0A/_7`$Gj@m#e">
                  <field name="oid">0_userdata.0.AMISFronius.170</field>
                </shadow>
              </value>
              <value name="OID1">
                <shadow type="field_oid" id="$=oKGqb2Z%/hhV0QiB~5">
                  <field name="oid">0_userdata.0.AMISFronius.270</field>
                </shadow>
              </value>
              <value name="OID2">
                <shadow type="field_oid" id="@u~kM4h)6xkxSq[7E;R$">
                  <field name="oid">0_userdata.0.AMISFronius.PowerFronius</field>
                </shadow>
              </value>
            </block>
            

            BG

            HumidorH 1 Antwort Letzte Antwort
            0
            • HumidorH Humidor

              @glasfaser ich habe Block für Block gelöscht und einen identifiziert, bei dem es den Fehler ausgibt.


              <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id=",O^?q8[r;sS~lqG[?][)" x="-887" y="3900">
              <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="E%y=!oF0A/7`$Gj@m#e">
              <field name="oid">0_userdata.0.AMISFronius.170</field>
              </shadow>
              </value>
              <value name="OID1">
              <shadow type="field_oid" id="$=oKGqb2Z%/hhV0QiB~5">
              <field name="oid">0_userdata.0.AMISFronius.270</field>
              </shadow>
              </value>
              <value name="OID2">
              <shadow type="field_oid" id="@u~kM4h)6xkxSq[7E;R$">
              <field name="oid">0_userdata.0.AMISFronius.PowerFronius</field>
              </shadow>
              </value>
              <statement name="STATEMENT">
              <block type="timeouts_cleartimeout" id="V5uKiSi1I3cx4o}A#D[m">
              <field name="NAME">timeout</field>
              <next>
              <block type="timeouts_settimeout" id="igKnM-7I*~dQhYw:S=-
              ">
              <field name="NAME">timeout</field>
              <field name="DELAY">60</field>
              <field name="UNIT">sec</field>
              <statement name="STATEMENT">
              <block type="controls_if" id=",fBow#RKbw],/SFuS=#j">
              <value name="IF0">
              <block type="logic_operation" id="+T0=PB}iPPXj9(8JN9Q">
              <field name="OP">AND</field>
              <value name="A">
              <block type="get_value" id="Egz64],m.4SgYAhH0V;">
              <field name="ATTR">val</field>
              <field name="OID">kecontact.0.enableUser</field>
              </block>
              </value>
              <value name="B">
              <block type="logic_negate" id="P-La63{jbQ{L83.-4i83">
              <value name="BOOL">
              <block type="get_value" id="E,pyHu3$kKG_Ap{Per7.">
              <field name="ATTR">val</field>
              <field name="OID">javascript.0.Zoe.EmergencyStop</field>
              </block>
              </value>
              </block>
              </value>
              </block>
              </value>
              <statement name="DO0">
              <block type="update" id="?4%}LCai[Fd/v:Z^%Q2~">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">kecontact.0.currentUser</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
              <block type="math_arithmetic" id="76hvC-Xgl%C#pq`{h,Jt">
              <field name="OP">MULTIPLY</field>
              <value name="A">
              <shadow type="math_number">
              <field name="NUM">1</field>
              </shadow>
              <block type="get_value" id="R?$%`Pvaj11:oI8}MFl=">
              <field name="ATTR">val</field>
              <field name="OID">0_userdata.0.Zoe.ZoeMinCurrent</field>
              </block>
              </value>
              <value name="B">
              <shadow type="math_number" id="Pp0T%i{SE5}5#Vk10SAG">
              <field name="NUM">1000</field>
              </shadow>
              </value>
              </block>
              </value>
              <next>
              <block type="control" id="O3qSF-%]20R:R^p]O/v)">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">kecontact.0.enableUser</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
              <block type="logic_boolean" id="gP~SygEfp6=mlzaD7pwh">
              <field name="BOOL">FALSE</field>
              </block>
              </value>
              <next>
              <block type="control" id="ZK[$bTNWC.^^q6,~Q5Hh">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">javascript.0.Zoe.PVRegelungAktiv</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
              <block type="logic_boolean" id="b{;B=6[a;asi2Hwd/J[:">
              <field name="BOOL">FALSE</field>
              </block>
              </value>
              <next>
              <block type="control" id="
              [h]RG5]Vh~uZ_J8;:IG">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">javascript.0.Zoe.EmergencyStop</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
              <block type="logic_boolean" id="F$u4heNG`TznlH[W98k+">
              <field name="BOOL">TRUE</field>
              </block>
              </value>
              <next>
              <block type="schedule_clear" id="~TQs#@hMiY#QM8d/;(]?">
              <field name="NAME">Regelzyklus</field>
              <next>
              <block type="debug" id="t#|`eoP0N[pJwM4v}PyY">
              <field name="Severity">log</field>
              <value name="TEXT">
              <shadow type="text" id="q#a{hMQ8bIj!.uDqi$f}">
              <field name="TEXT">PV - GRID ÜBERWACHUNG !! Emergency Stop.</field>
              </shadow>
              </value>
              <next>
              <block type="telegram" id="rjdDovIQY9An^DH[#)OT">
              <field name="INSTANCE">.0</field>
              <field name="LOG">log</field>
              <field name="SILENT">FALSE</field>
              <field name="PARSEMODE">default</field>
              <value name="MESSAGE">
              <shadow type="text" id=";H4[Q+V
              DfMfo3orlZMB">
              <field name="TEXT">PV - GRID ÜBERWACHUNG !! Emergency Stop.</field>
              </shadow>
              </value>
              </block>
              </next>
              </block>
              </next>
              </block>
              </next>
              </block>
              </next>
              </block>
              </next>
              </block>
              </next>
              </block>
              </statement>
              </block>
              </statement>
              <next>
              <block type="comment" id="Eb,2V$G-X4Mxmv|`L`Z+">
              <field name="COMMENT">Emergency Stop aufheben</field>
              <next>
              <block type="controls_if" id="#i5J$xK_,,@Bt[_cVVC|">
              <value name="IF0">
              <block type="logic_operation" id="M~Y]Bm[pCxO+A+sTA6o+">
              <field name="OP">AND</field>
              <value name="A">
              <block type="get_value" id="~O.(};:y?x4`e2Pg4bEr">
              <field name="ATTR">val</field>
              <field name="OID">fronius.0.info.connection</field>
              </block>
              </value>
              <value name="B">
              <block type="get_value" id="./j?9vXsJ[vq?iOaFa">
              <field name="ATTR">val</field>
              <field name="OID">javascript.0.Zoe.EmergencyStop</field>
              </block>
              </value>
              </block>
              </value>
              <statement name="DO0">
              <block type="control" id="aB1@2{t=6om4,WK,Rs[:">
              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
              <field name="OID">javascript.0.Zoe.EmergencyStop</field>
              <field name="WITH_DELAY">FALSE</field>
              <value name="VALUE">
              <block type="logic_boolean" id=".=`1d/%iQhHAHRQ51-4!">
              <field name="BOOL">TRUE</field>
              </block>
              </value>
              <next>
              <block type="debug" id="P-?@Ghxoz)6js?b54GOT">
              <field name="Severity">log</field>
              <value name="TEXT">
              <shadow type="text" id="X-[LGcbvj3v3`%TTDU`#">
              <field name="TEXT">PV -Emergency Stop deaktiviert.</field>
              </shadow>
              </value>
              </block>
              </next>
              </block>
              </statement>
              </block>
              </next>
              </block>
              </next>
              </block>
              </next>
              </block>
              </statement>
              </block>

              Bildschirmfoto 2021-05-23 um 07.31.25.png

              wenn ich diesen Block in einem neuen Script importieren möchte, kommt dieser Fehler:

              TypeError: text.replace is not a function
              
              <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id=",O^?q8[r;sS~lqG[?][)" disabled="true" x="-512" y="4389">
                <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="E%y=!oF0A/_7`$Gj@m#e">
                    <field name="oid">0_userdata.0.AMISFronius.170</field>
                  </shadow>
                </value>
                <value name="OID1">
                  <shadow type="field_oid" id="$=oKGqb2Z%/hhV0QiB~5">
                    <field name="oid">0_userdata.0.AMISFronius.270</field>
                  </shadow>
                </value>
                <value name="OID2">
                  <shadow type="field_oid" id="@u~kM4h)6xkxSq[7E;R$">
                    <field name="oid">0_userdata.0.AMISFronius.PowerFronius</field>
                  </shadow>
                </value>
              </block>
              

              Bildschirmfoto 2021-05-23 um 07.55.18.png

              der 2. Trigger (270)
              Bildschirmfoto 2021-05-23 um 07.56.55.png
              lässt sich auch wieder nicht auswählen mit OK.

              lasse ich den Wert weg, fkt. das Blockly wieder ohne Fehler.
              Bildschirmfoto 2021-05-23 um 08.00.27.png

              <block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id=",O^?q8[r;sS~lqG[?][)" disabled="true" x="-512" y="4389">
                <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="E%y=!oF0A/_7`$Gj@m#e">
                    <field name="oid">0_userdata.0.AMISFronius.170</field>
                  </shadow>
                </value>
                <value name="OID1">
                  <shadow type="field_oid" id="$=oKGqb2Z%/hhV0QiB~5">
                    <field name="oid">0_userdata.0.AMISFronius.270</field>
                  </shadow>
                </value>
                <value name="OID2">
                  <shadow type="field_oid" id="@u~kM4h)6xkxSq[7E;R$">
                    <field name="oid">0_userdata.0.AMISFronius.PowerFronius</field>
                  </shadow>
                </value>
              </block>
              
              HumidorH Online
              HumidorH Online
              Humidor
              schrieb am zuletzt editiert von Humidor
              #6

              auch in einem anderen Blockly war diese Tatsache nun drin.
              die Objekte (270) wurden manuell unter Objekte angelegt.
              (gab immer wieder Probleme damit, auch mit 170 wie bekannt....)

              ich habe den 270 in den Objekten gelöscht und per Blockly Script angelegt und siehe da, der Fehler ist weg.
              vorher war bei 270 "0_userdata..." drin, jetzt steht 2.7.0 in der Objekt ID.

              Für Common beim Datenpunkt erzeugen, habe ich den Code aus dem Objekt RAW entnommen, bin mir nicht sicher, dass ob das passt.
              Bildschirmfoto 2021-05-23 um 08.17.41.png

              Bildschirmfoto 2021-05-23 um 08.13.08.png

              <xml xmlns="https://developers.google.com/blockly/xml">
                <block type="create" id="J;IaDKF*{`j]J,vTY}(o" x="-12" y="-188">
                  <field name="NAME">0_userdata.0.AMISFronius.270</field>
                  <value name="VALUE">
                    <block type="text" id="KHaoj{M$`^{I+:GA8*TR">
                      <field name="TEXT">0</field>
                    </block>
                  </value>
                  <value name="COMMON">
                    <block type="text" id="w}X}bl$nftPtXr7_O/w1">
                      <field name="TEXT">{"name": "2.7.0","role": "","type": "number","desc": "Blockly erzeugt","unit": "W","min": 0,"max": 99999,"def": 0,"read": true,"write": true}</field>
                    </block>
                  </value>
                </block>
                <block type="on_ext" id="%YLMms;v)}v6ngzEMqQ#" x="-13" y="-13">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                  <field name="CONDITION">any</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="Zt-ts[8?L7z#P+%]lT:d">
                      <field name="oid">mqtt.0.AMIS.Fronius</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="update" id="N;~AdQb_gJ.n2@|.U)At">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">0_userdata.0.AMISFronius.PowerFronius</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="math_arithmetic" id="jpt1B?zXj:DC55DA([4:">
                          <field name="OP">MINUS</field>
                          <value name="A">
                            <shadow type="math_number" id="5k0Ioo7QW0ya.aP(LTcH">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="get_value" id="|ew*tGO%,[i0#+Mc}^JI">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.AMISFronius.170</field>
                            </block>
                          </value>
                          <value name="B">
                            <shadow type="math_number" id="y7z4B(h?b5yZfFV9Q|@z">
                              <field name="NUM">1</field>
                            </shadow>
                            <block type="get_value" id="e:(R]$ee![8^%4eu.5W0">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.AMISFronius.270</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </xml>
              

              ich vermute erneut den Zusammenhang mit dem "Namen" des Objekts, das nur aus Zahlen bestand "270" jetzt "2.7.0" (Zahl -> String).

              damit eigentlich dieselbe Ursache und dasselbe Ergebnis wie schon in einem früheren Thread.

              Ich kann daran nichts ändern, damit für mich erl.
              Ev. möchte das jemand an die Entwicklung weitergeben.

              BG

              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

              520

              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