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] Script engine Fehler mit 4.6.13

NEWS

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

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

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

[gelöst] Script engine Fehler mit 4.6.13

Geplant Angeheftet Gesperrt Verschoben Blockly
javascriptblockly
4 Beiträge 2 Kommentatoren 370 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.
  • XxJooOX Offline
    XxJooOX Offline
    XxJooO
    schrieb am zuletzt editiert von XxJooO
    #1

    Hallo,

    wo liegt das Problem? Die DPs sind existent und vom Typ boolean:

    Das Log:

    javascript.0	2020-05-20 18:36:18.836	error	(18264) at processTicksAndRejections (internal/process/task_queues.js:97:5)
    javascript.0	2020-05-20 18:36:18.835	error	(18264) at runMicrotasks (<anonymous>)
    javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
    javascript.0	2020-05-20 18:36:18.835	error	(18264) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
    javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17
    javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1109:17
    javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1518:17
    javascript.0	2020-05-20 18:36:18.835	error	(18264) at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1465:37)
    javascript.0	2020-05-20 18:36:18.835	error	(18264) at compile (/opt/iobroker/node_modules/iobroker.javascript/main.js:1242:28)
    javascript.0	2020-05-20 18:36:18.834	error	(18264) at Object.createScript (vm.js:263:10)
    javascript.0	2020-05-20 18:36:18.834	error	(18264) at new Script (vm.js:88:7)
    javascript.0	2020-05-20 18:36:18.834	error	(18264) SyntaxError: Invalid or unexpected token
    javascript.0	2020-05-20 18:36:18.834	error	(18264) ^^^^^^^^^
    javascript.0	2020-05-20 18:36:18.834	error	(18264) on({id: new RegExp(getState\\("0_userdata\\.0\\.Anwesenheit\\.Hannah\\.Anwesenheit"\\)\\.val + "|" + getState\\("0_userdata\\.0\\.Anwesenheit\\.Aylin\\.Anwesenheit"\\)\\.val + "|" + getState\
    javascript.0	2020-05-20 18:36:18.834	error	at script.js.Anwesenheit.Anwesenheitskontrolle_ueber_radar2_Adapter_V2-0:1
    javascript.0	2020-05-20 18:36:18.834	error	(18264) script.js.Anwesenheit.Anwesenheitskontrolle_ueber_radar2_Adapter_V2-0 compile failed:
    javascript.0	2020-05-20 18:36:18.832	info	(18264) Start javascript script.js.Anwesenheit.Anwesenheitskontrolle_ueber_radar2_Adapter_V2-0
    

    Das Blockly:

    6abd1c68-c182-4cea-9b50-2cba00315638-image.png

    Der Code davon:


    <xml xmlns="https://developers.google.com/blockly/xml">
    <block type="on_ext" id="4]jRnbv.#;#dp2|(C;?" x="663" y="238">
    <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="=ZyVw=+6OM6G?_Tr6KMT">
    <field name="oid">default</field>
    </shadow>
    <block type="get_value" id="a#iW++(d+X#b^5v.pQ60">
    <field name="ATTR">val</field>
    <field name="OID">0_userdata.0.Anwesenheit.Hannah.Anwesenheit</field>
    </block>
    </value>
    <value name="OID1">
    <shadow type="field_oid" id="@%r]Xl^ozv){/s,OPO">
    <field name="oid">default</field>
    </shadow>
    <block type="get_value" id="pu=c|+B^H{0f_]VYjT3"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Aylin.Anwesenheit</field> </block> </value> <value name="OID2"> <shadow type="field_oid" id="S^;mRh!I2Tx}sK_dbg"> <field name="oid">default</field> </shadow> <block type="get_value" id="e~dj#){d,fjQYKrf]H
    ">
    <field name="ATTR">val</field>
    <field name="OID">0_userdata.0.Anwesenheit.Joachim.Anwesenheit</field>
    </block>
    </value>
    <statement name="STATEMENT">
    <block type="controls_if" id="3#gZ;JjN+q(2|1?O#=">
    <value name="IF0">
    <block type="logic_operation" id="a6s#T%83RlnCjKa;b-8" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="W1e;JiNieDdcKy/FeVPd"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Yn3RTJGwRz[hv]0@4QEg"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Aylin.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="#dH}a)(@yuV8JK|qLuO">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="luOLQgto.M}xJn)#gNfd" inline="false">
    <field name="OP">OR</field>
    <value name="A">
    <block type="logic_compare" id="v[u#)IC/QHYpU)WxQN6]">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="cl.,M8-0KuvXuh7M[[T">
    <field name="ATTR">val</field>
    <field name="OID">0_userdata.0.Anwesenheit.Hannah.Anwesenheit</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="2JM]Isr9k;nU,+A3E5^b">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_compare" id="2sY_Qlea/x!!A=1{MXR"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="gc-[u_J@UtM|Tg+,@6g#"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Joachim.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="^(~[cXCZn4LIiUgd~QBV"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="NczYDW9SN]sv{.QIV:B/"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Anwesenheit.Jemand_ist_zu_Hause</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="D1XOI2sA/8XL.4.:N16J"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="o8GD]0/M:B_m3)DU^p,6"> <value name="IF0"> <block type="logic_operation" id="u_e!4NExOj*iV4{YCa]6" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="~ob_W!FRn)!^/DGC6*2["> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="rSUMW=/;0W~DjJrc5%w_"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Aylin.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="yH3]PM=}e*Tf+9=Vu
    !">
    <field name="BOOL">FALSE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_operation" id="DPwJAwq:@8cu@(5,4x" inline="false">
    <field name="OP">AND</field>
    <value name="A">
    <block type="logic_compare" id="^pGfZC-nAJTKkhk%T8Z}">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="YPBjih(KbI/8NUtLdi1?">
    <field name="ATTR">val</field>
    <field name="OID">0_userdata.0.Anwesenheit.Hannah.Anwesenheit</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="+J:EKDft9o3_~C^
    $DD">
    <field name="BOOL">FALSE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_compare" id="Ogl9/D0$yU;4vN-xezR)">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="5ev,Id{,w587l=WSJ:F"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Joachim.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Md+CM0?+!c_9r%WO;Eq">
    <field name="BOOL">FALSE</field>
    </block>
    </value>
    </block>
    </value>
    </block>
    </value>
    </block>
    </value>
    <statement name="DO0">
    <block type="control" id="l[ufk29IeLm:UJ?#B52!">
    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
    <field name="OID">0_userdata.0.Anwesenheit.Jemand_ist_zu_Hause</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="logic_boolean" id="z8qUA)?S]*@=2%SIQoJl">
    <field name="BOOL">FALSE</field>
    </block>
    </value>
    </block>
    </statement>
    </block>
    </next>
    </block>
    </statement>
    </block>
    </xml>

    Danke für das rein sehen!

    ioBroker auf Intel NUC - Homematic CCU3/pivCCU auf Raspi 3B+

    dslraserD 2 Antworten Letzte Antwort
    0
    • XxJooOX XxJooO

      Hallo,

      wo liegt das Problem? Die DPs sind existent und vom Typ boolean:

      Das Log:

      javascript.0	2020-05-20 18:36:18.836	error	(18264) at processTicksAndRejections (internal/process/task_queues.js:97:5)
      javascript.0	2020-05-20 18:36:18.835	error	(18264) at runMicrotasks (<anonymous>)
      javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
      javascript.0	2020-05-20 18:36:18.835	error	(18264) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
      javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17
      javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1109:17
      javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1518:17
      javascript.0	2020-05-20 18:36:18.835	error	(18264) at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1465:37)
      javascript.0	2020-05-20 18:36:18.835	error	(18264) at compile (/opt/iobroker/node_modules/iobroker.javascript/main.js:1242:28)
      javascript.0	2020-05-20 18:36:18.834	error	(18264) at Object.createScript (vm.js:263:10)
      javascript.0	2020-05-20 18:36:18.834	error	(18264) at new Script (vm.js:88:7)
      javascript.0	2020-05-20 18:36:18.834	error	(18264) SyntaxError: Invalid or unexpected token
      javascript.0	2020-05-20 18:36:18.834	error	(18264) ^^^^^^^^^
      javascript.0	2020-05-20 18:36:18.834	error	(18264) on({id: new RegExp(getState\\("0_userdata\\.0\\.Anwesenheit\\.Hannah\\.Anwesenheit"\\)\\.val + "|" + getState\\("0_userdata\\.0\\.Anwesenheit\\.Aylin\\.Anwesenheit"\\)\\.val + "|" + getState\
      javascript.0	2020-05-20 18:36:18.834	error	at script.js.Anwesenheit.Anwesenheitskontrolle_ueber_radar2_Adapter_V2-0:1
      javascript.0	2020-05-20 18:36:18.834	error	(18264) script.js.Anwesenheit.Anwesenheitskontrolle_ueber_radar2_Adapter_V2-0 compile failed:
      javascript.0	2020-05-20 18:36:18.832	info	(18264) Start javascript script.js.Anwesenheit.Anwesenheitskontrolle_ueber_radar2_Adapter_V2-0
      

      Das Blockly:

      6abd1c68-c182-4cea-9b50-2cba00315638-image.png

      Der Code davon:


      <xml xmlns="https://developers.google.com/blockly/xml">
      <block type="on_ext" id="4]jRnbv.#;#dp2|(C;?" x="663" y="238">
      <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="=ZyVw=+6OM6G?_Tr6KMT">
      <field name="oid">default</field>
      </shadow>
      <block type="get_value" id="a#iW++(d+X#b^5v.pQ60">
      <field name="ATTR">val</field>
      <field name="OID">0_userdata.0.Anwesenheit.Hannah.Anwesenheit</field>
      </block>
      </value>
      <value name="OID1">
      <shadow type="field_oid" id="@%r]Xl^ozv){/s,OPO">
      <field name="oid">default</field>
      </shadow>
      <block type="get_value" id="pu=c|+B^H{0f_]VYjT3"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Aylin.Anwesenheit</field> </block> </value> <value name="OID2"> <shadow type="field_oid" id="S^;mRh!I2Tx}sK_dbg"> <field name="oid">default</field> </shadow> <block type="get_value" id="e~dj#){d,fjQYKrf]H
      ">
      <field name="ATTR">val</field>
      <field name="OID">0_userdata.0.Anwesenheit.Joachim.Anwesenheit</field>
      </block>
      </value>
      <statement name="STATEMENT">
      <block type="controls_if" id="3#gZ;JjN+q(2|1?O#=">
      <value name="IF0">
      <block type="logic_operation" id="a6s#T%83RlnCjKa;b-8" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="W1e;JiNieDdcKy/FeVPd"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Yn3RTJGwRz[hv]0@4QEg"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Aylin.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="#dH}a)(@yuV8JK|qLuO">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="luOLQgto.M}xJn)#gNfd" inline="false">
      <field name="OP">OR</field>
      <value name="A">
      <block type="logic_compare" id="v[u#)IC/QHYpU)WxQN6]">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="cl.,M8-0KuvXuh7M[[T">
      <field name="ATTR">val</field>
      <field name="OID">0_userdata.0.Anwesenheit.Hannah.Anwesenheit</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="2JM]Isr9k;nU,+A3E5^b">
      <field name="BOOL">TRUE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_compare" id="2sY_Qlea/x!!A=1{MXR"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="gc-[u_J@UtM|Tg+,@6g#"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Joachim.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="^(~[cXCZn4LIiUgd~QBV"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="NczYDW9SN]sv{.QIV:B/"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Anwesenheit.Jemand_ist_zu_Hause</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="D1XOI2sA/8XL.4.:N16J"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="o8GD]0/M:B_m3)DU^p,6"> <value name="IF0"> <block type="logic_operation" id="u_e!4NExOj*iV4{YCa]6" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="~ob_W!FRn)!^/DGC6*2["> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="rSUMW=/;0W~DjJrc5%w_"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Aylin.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="yH3]PM=}e*Tf+9=Vu
      !">
      <field name="BOOL">FALSE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_operation" id="DPwJAwq:@8cu@(5,4x" inline="false">
      <field name="OP">AND</field>
      <value name="A">
      <block type="logic_compare" id="^pGfZC-nAJTKkhk%T8Z}">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="YPBjih(KbI/8NUtLdi1?">
      <field name="ATTR">val</field>
      <field name="OID">0_userdata.0.Anwesenheit.Hannah.Anwesenheit</field>
      </block>
      </value>
      <value name="B">
      <block type="logic_boolean" id="+J:EKDft9o3_~C^
      $DD">
      <field name="BOOL">FALSE</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_compare" id="Ogl9/D0$yU;4vN-xezR)">
      <field name="OP">EQ</field>
      <value name="A">
      <block type="get_value" id="5ev,Id{,w587l=WSJ:F"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Joachim.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Md+CM0?+!c_9r%WO;Eq">
      <field name="BOOL">FALSE</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </value>
      </block>
      </value>
      <statement name="DO0">
      <block type="control" id="l[ufk29IeLm:UJ?#B52!">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">0_userdata.0.Anwesenheit.Jemand_ist_zu_Hause</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="logic_boolean" id="z8qUA)?S]*@=2%SIQoJl">
      <field name="BOOL">FALSE</field>
      </block>
      </value>
      </block>
      </statement>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </xml>

      Danke für das rein sehen!

      dslraserD Offline
      dslraserD Offline
      dslraser
      Forum Testing Most Active
      schrieb am zuletzt editiert von
      #2

      @XxJooO

      Du kannst nicht auf Wert vom Objekt ID triggern

      Bildschirmfoto 2020-05-20 um 18.52.57.png

      1 Antwort Letzte Antwort
      1
      • XxJooOX Offline
        XxJooOX Offline
        XxJooO
        schrieb am zuletzt editiert von
        #3

        Oh mein Gott... gestern Abend war es spät und heute Morgen sehr früh... peinlich das 😲 😳

        Danke!!!

        ioBroker auf Intel NUC - Homematic CCU3/pivCCU auf Raspi 3B+

        1 Antwort Letzte Antwort
        0
        • XxJooOX XxJooO

          Hallo,

          wo liegt das Problem? Die DPs sind existent und vom Typ boolean:

          Das Log:

          javascript.0	2020-05-20 18:36:18.836	error	(18264) at processTicksAndRejections (internal/process/task_queues.js:97:5)
          javascript.0	2020-05-20 18:36:18.835	error	(18264) at runMicrotasks (<anonymous>)
          javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/standard-as-callback/built/index.js:19:49
          javascript.0	2020-05-20 18:36:18.835	error	(18264) at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:11:23)
          javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInRedis.js:616:17
          javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1109:17
          javascript.0	2020-05-20 18:36:18.835	error	(18264) at /opt/iobroker/node_modules/iobroker.javascript/main.js:1518:17
          javascript.0	2020-05-20 18:36:18.835	error	(18264) at prepareScript (/opt/iobroker/node_modules/iobroker.javascript/main.js:1465:37)
          javascript.0	2020-05-20 18:36:18.835	error	(18264) at compile (/opt/iobroker/node_modules/iobroker.javascript/main.js:1242:28)
          javascript.0	2020-05-20 18:36:18.834	error	(18264) at Object.createScript (vm.js:263:10)
          javascript.0	2020-05-20 18:36:18.834	error	(18264) at new Script (vm.js:88:7)
          javascript.0	2020-05-20 18:36:18.834	error	(18264) SyntaxError: Invalid or unexpected token
          javascript.0	2020-05-20 18:36:18.834	error	(18264) ^^^^^^^^^
          javascript.0	2020-05-20 18:36:18.834	error	(18264) on({id: new RegExp(getState\\("0_userdata\\.0\\.Anwesenheit\\.Hannah\\.Anwesenheit"\\)\\.val + "|" + getState\\("0_userdata\\.0\\.Anwesenheit\\.Aylin\\.Anwesenheit"\\)\\.val + "|" + getState\
          javascript.0	2020-05-20 18:36:18.834	error	at script.js.Anwesenheit.Anwesenheitskontrolle_ueber_radar2_Adapter_V2-0:1
          javascript.0	2020-05-20 18:36:18.834	error	(18264) script.js.Anwesenheit.Anwesenheitskontrolle_ueber_radar2_Adapter_V2-0 compile failed:
          javascript.0	2020-05-20 18:36:18.832	info	(18264) Start javascript script.js.Anwesenheit.Anwesenheitskontrolle_ueber_radar2_Adapter_V2-0
          

          Das Blockly:

          6abd1c68-c182-4cea-9b50-2cba00315638-image.png

          Der Code davon:


          <xml xmlns="https://developers.google.com/blockly/xml">
          <block type="on_ext" id="4]jRnbv.#;#dp2|(C;?" x="663" y="238">
          <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="=ZyVw=+6OM6G?_Tr6KMT">
          <field name="oid">default</field>
          </shadow>
          <block type="get_value" id="a#iW++(d+X#b^5v.pQ60">
          <field name="ATTR">val</field>
          <field name="OID">0_userdata.0.Anwesenheit.Hannah.Anwesenheit</field>
          </block>
          </value>
          <value name="OID1">
          <shadow type="field_oid" id="@%r]Xl^ozv){/s,OPO">
          <field name="oid">default</field>
          </shadow>
          <block type="get_value" id="pu=c|+B^H{0f_]VYjT3"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Aylin.Anwesenheit</field> </block> </value> <value name="OID2"> <shadow type="field_oid" id="S^;mRh!I2Tx}sK_dbg"> <field name="oid">default</field> </shadow> <block type="get_value" id="e~dj#){d,fjQYKrf]H
          ">
          <field name="ATTR">val</field>
          <field name="OID">0_userdata.0.Anwesenheit.Joachim.Anwesenheit</field>
          </block>
          </value>
          <statement name="STATEMENT">
          <block type="controls_if" id="3#gZ;JjN+q(2|1?O#=">
          <value name="IF0">
          <block type="logic_operation" id="a6s#T%83RlnCjKa;b-8" inline="false"> <field name="OP">OR</field> <value name="A"> <block type="logic_compare" id="W1e;JiNieDdcKy/FeVPd"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Yn3RTJGwRz[hv]0@4QEg"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Aylin.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="#dH}a)(@yuV8JK|qLuO">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="luOLQgto.M}xJn)#gNfd" inline="false">
          <field name="OP">OR</field>
          <value name="A">
          <block type="logic_compare" id="v[u#)IC/QHYpU)WxQN6]">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="cl.,M8-0KuvXuh7M[[T">
          <field name="ATTR">val</field>
          <field name="OID">0_userdata.0.Anwesenheit.Hannah.Anwesenheit</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="2JM]Isr9k;nU,+A3E5^b">
          <field name="BOOL">TRUE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_compare" id="2sY_Qlea/x!!A=1{MXR"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="gc-[u_J@UtM|Tg+,@6g#"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Joachim.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="^(~[cXCZn4LIiUgd~QBV"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="NczYDW9SN]sv{.QIV:B/"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Anwesenheit.Jemand_ist_zu_Hause</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="D1XOI2sA/8XL.4.:N16J"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="o8GD]0/M:B_m3)DU^p,6"> <value name="IF0"> <block type="logic_operation" id="u_e!4NExOj*iV4{YCa]6" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="~ob_W!FRn)!^/DGC6*2["> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="rSUMW=/;0W~DjJrc5%w_"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Aylin.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="yH3]PM=}e*Tf+9=Vu
          !">
          <field name="BOOL">FALSE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_operation" id="DPwJAwq:@8cu@(5,4x" inline="false">
          <field name="OP">AND</field>
          <value name="A">
          <block type="logic_compare" id="^pGfZC-nAJTKkhk%T8Z}">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="YPBjih(KbI/8NUtLdi1?">
          <field name="ATTR">val</field>
          <field name="OID">0_userdata.0.Anwesenheit.Hannah.Anwesenheit</field>
          </block>
          </value>
          <value name="B">
          <block type="logic_boolean" id="+J:EKDft9o3_~C^
          $DD">
          <field name="BOOL">FALSE</field>
          </block>
          </value>
          </block>
          </value>
          <value name="B">
          <block type="logic_compare" id="Ogl9/D0$yU;4vN-xezR)">
          <field name="OP">EQ</field>
          <value name="A">
          <block type="get_value" id="5ev,Id{,w587l=WSJ:F"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Anwesenheit.Joachim.Anwesenheit</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Md+CM0?+!c_9r%WO;Eq">
          <field name="BOOL">FALSE</field>
          </block>
          </value>
          </block>
          </value>
          </block>
          </value>
          </block>
          </value>
          <statement name="DO0">
          <block type="control" id="l[ufk29IeLm:UJ?#B52!">
          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
          <field name="OID">0_userdata.0.Anwesenheit.Jemand_ist_zu_Hause</field>
          <field name="WITH_DELAY">FALSE</field>
          <value name="VALUE">
          <block type="logic_boolean" id="z8qUA)?S]*@=2%SIQoJl">
          <field name="BOOL">FALSE</field>
          </block>
          </value>
          </block>
          </statement>
          </block>
          </next>
          </block>
          </statement>
          </block>
          </xml>

          Danke für das rein sehen!

          dslraserD Offline
          dslraserD Offline
          dslraser
          Forum Testing Most Active
          schrieb am zuletzt editiert von dslraser
          #4

          @XxJooO
          entweder nimmst Du den

          Bildschirmfoto 2020-05-20 um 18.55.12.png

          oder Du klickst direkt in das Feld, also wenn Du die Bausteine raus nimmst.

          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

          500

          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