Weiter zum Inhalt
  • Home
  • Aktuell
  • 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. ioBroker Allgemein
  4. (gelöst)(fritz-dect) Logeintrag ?

NEWS

  • Monatsrückblick Juli / August 2026 ist online!
    BluefoxB
    Bluefox
    9
    1
    314

  • Der neue Monatsrückblick für Mai und Juni 2026 ist online!
    BluefoxB
    Bluefox
    8
    1
    1.3k

  • wichtiges UPDATE für controller 7.2.2 im stable
    HomoranH
    Homoran
    10
    1
    3.8k

(gelöst)(fritz-dect) Logeintrag ?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
6 Beiträge 2 Kommentatoren 218 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 Offline
    HumidorH Offline
    Humidor
    schrieb am zuletzt editiert von Humidor
    #1

    Hallo 👍

    hab ein Script und verwende den Schaltkontakt von einem Dect Gerät.
    beim Start von ioBroker bekomme ich diese Meldung

    2021-03-31 08:07:49.357 - warn: javascript.0 (24546) You are assigning a undefined to the state "fritzdect.0.DECT_116300118701.state" which expects a boolean. Please fix your code to use a boolean or change the state type to undefined. This warning might become an error in future versions.
    2021-03-31 08:07:49.374 - warn: javascript.0 (24546) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1422:20)
    2021-03-31 08:07:49.375 - warn: javascript.0 (24546) at Object. (script.js.common.Powerbank:23:5)
    2021-03-31 08:07:49.375 - warn: javascript.0 (24546) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
    2021-03-31 08:07:49.376 - warn: javascript.0 (24546) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
    2021-03-31 08:07:49.376 - warn: javascript.0 (24546) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5555:41)
    2021-03-31 08:07:49.377 - warn: javascript.0 (24546) at processImmediate (internal/timers.js:461:21)
    2021-03-31 08:07:49.377 - warn: javascript.0 (24546) You are assigning a undefined to the state "fritzdect.0.DECT_087610456373.state" which expects a boolean. Please fix your code to use a boolean or change the state type to undefined. This warning might become an error in future versions.
    2021-03-31 08:07:49.379 - warn: javascript.0 (24546) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1422:20)
    2021-03-31 08:07:49.379 - warn: javascript.0 (24546) at Object. (script.js.common.Powerbank:24:5)
    2021-03-31 08:07:49.380 - warn: javascript.0 (24546) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
    2021-03-31 08:07:49.380 - warn: javascript.0 (24546) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
    2021-03-31 08:07:49.380 - warn: javascript.0 (24546) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5555:41)
    2021-03-31 08:07:49.381 - warn: javascript.0 (24546) at processImmediate (internal/timers.js:461:21)
    

    das ist ein bool - state
    Bildschirmfoto 2021-03-31 um 08.18.23.png

    muss ich noch eine Konvertierung einfügen??


    <xml xmlns="https://developers.google.com/blockly/xml">
    <variables>
    <variable id="Wyc]h}Ht6huC^-:6SaQ">LADUNG</variable>
    <variable id="fz3-}yUJ6Z
    H57v_hwl">msg</variable>
    <variable id="=Qw
    /?oX/c9:]kYVO+LT">minOFF</variable>
    <variable id="#av^b]?,?S^.0@Ql^E3">minON</variable>
    <variable type="timeout" id="minOFF">minOFF</variable>
    <variable type="timeout" id="minON">minON</variable>
    </variables>
    <block type="on_ext" id="88i|Y7,;03^~-?v^6gfW" x="-363" y="221">
    <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="][;tlYCvhJq1A~~AdFu"> <field name="oid">0_userdata.0.AMIS.Power</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="xd=LRkdUn!n+x_YNOk.x"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="^I,ANSYMPY_B3hV7CpLS"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="g(zD2GVs478rKy+mHs2h"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMIS.PVÜberschuss</field> </block> </value> <value name="B"> <block type="math_number" id="cEk!KETW=f)8j;oU.$fP"> <field name="NUM">1000</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="C96(ZSFX8O:c~KYQZEyf"> <value name="IF0"> <block type="logic_negate" id="!Ji@hL03JT?05/xl~(|J"> <value name="BOOL"> <block type="variables_get" id="kgQ-WXETdMYuriB?OV5="> <field name="VAR" id="=Qw*/?oX/c9:]kYVO+LT">minOFF</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="Hjqkazc*-NQy$re4yopf"> <field name="VAR" id="Wy*c]h}Ht6huC^-:6SaQ">LADUNG</field> <value name="VALUE"> <block type="logic_boolean" id="=FAkrl07,9#EklvQDg2r"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="Am^HOENjQ?/m)1M^SOsP"> <field name="VAR" id="fz3-}yUJ6Z*H57v_hw*l">msg</field> <value name="VALUE"> <block type="text" id="4N|F^E9XSEOmmye]6IcP"> <field name="TEXT">Powerbank - Ladung begonnen</field> </block> </value> <next> <block type="timeouts_settimeout" id="@cx_zFy!SAeA27m9L~$d"> <field name="NAME">minON</field> <field name="DELAY">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="variables_set" id="olUlQ#{Z{}D!z9sldla">
    <field name="VAR" id="#av^b]?,?S^.0@Ql^E3">minON</field>
    <value name="VALUE">
    <block type="logic_null" id="4XmxrdzU6XK#KW15U7ZO"></block>
    </value>
    </block>
    </statement>
    </block>
    </next>
    </block>
    </next>
    </block>
    </statement>
    </block>
    </statement>
    <value name="IF1">
    <block type="logic_operation" id="(r}Hp|dOI705FR^mE(hF">
    <field name="OP">AND</field>
    <value name="A">
    <block type="logic_negate" id="/$og_j)Kkr{oaMM;T9=Z">
    <value name="BOOL">
    <block type="variables_get" id="OcOLi4miAjfWxrzF3Z;m">
    <field name="VAR" id="#av^b]?,?S^.0@Ql^E3">minON</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_compare" id="bPnR
    NGD=9w[[cA^9^X[">
    <field name="OP">GT</field>
    <value name="A">
    <block type="get_value" id="_hhkyNx~18v~?)(!**)o">
    <field name="ATTR">val</field>
    <field name="OID">0_userdata.0.AMIS.Power</field>
    </block>
    </value>
    <value name="B">
    <block type="math_number" id="5MRY5UoiDEY8)T.1WuV8">
    <field name="NUM">0</field>
    </block>
    </value>
    </block>
    </value>
    </block>
    </value>
    <statement name="DO1">
    <block type="variables_set" id="^97%tEk!(DpYK2J2">
    <field name="VAR" id="Wy
    c]h}Ht6huC^-:6SaQ">LADUNG</field>
    <value name="VALUE">
    <block type="logic_boolean" id="}slPZ{#?q5/vpfD_POnW">
    <field name="BOOL">FALSE</field>
    </block>
    </value>
    <next>
    <block type="variables_set" id="R6(LcY)|i,.6iYjsOgC/">
    <field name="VAR" id="fz3-}yUJ6Z
    H57v_hwl">msg</field>
    <value name="VALUE">
    <block type="text" id="tRIbIKQEFa.^gHlJ#2@/">
    <field name="TEXT">Powerbank - Ladung beendet</field>
    </block>
    </value>
    <next>
    <block type="timeouts_settimeout" id="n:EaIT02P6efn{E|q^nV">
    <field name="NAME">minOFF</field>
    <field name="DELAY">10</field>
    <field name="UNIT">min</field>
    <statement name="STATEMENT">
    <block type="variables_set" id="Il9B
    ga%0nAaSG~NLBM]">
    <field name="VAR" id="=Qw*/?oX/c9:]kYVO+LT">minOFF</field>
    <value name="VALUE">
    <block type="logic_null" id="C67`7q0~hj8D~Gb)|,pw"></block>
    </value>
    </block>
    </statement>
    </block>
    </next>
    </block>
    </next>
    </block>
    </statement>
    <next>
    <block type="controls_if" id="@#**0c5{ATvB$6Uj7y^">
    <value name="IF0">
    <block type="logic_compare" id="?Tz?ZRu%A[#1ewH0F]+8">
    <field name="OP">NEQ</field>
    <value name="A">
    <block type="variables_get" id="ycHFiqs^D7BVjGjv6u@:">
    <field name="VAR" id="Wy
    c]h}Ht6huC^-:6SaQ">LADUNG</field>
    </block>
    </value>
    <value name="B">
    <block type="get_value" id="zzmaJ{OMGtScEPB$wlzY">
    <field name="ATTR">val</field>
    <field name="OID">fritzdect.0.DECT_116300118701.state</field>
    </block>
    </value>
    </block>
    </value>
    <statement name="DO0">
    <block type="control" id="=ngJ9/h@m~vM8G:~|$@t">
    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
    <field name="OID">fritzdect.0.DECT_116300118701.state</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="variables_get" id="GgGBwA|hAHG!qX:@L8P-">
    <field name="VAR" id="Wyc]h}Ht6huC^-:6SaQ">LADUNG</field>
    </block>
    </value>
    <next>
    <block type="control" id="C0zbKHh,L-b43tc=PbD3">
    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
    <field name="OID">fritzdect.0.DECT_087610456373.state</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="variables_get" id="a,T=8{p{TXZ80^4U{[I4">
    <field name="VAR" id="Wy
    c]h}Ht6huC^-:6SaQ">LADUNG</field>
    </block>
    </value>
    <next>
    <block type="debug" id="2__pQR[2.EFS9/Ii|jve">
    <field name="Severity">log</field>
    <value name="TEXT">
    <shadow type="text" id="5c~V%FA97r.wxKWEY/Ua">
    <field name="TEXT">test</field>
    </shadow>
    <block type="variables_get" id="-DW:i8~+q2xA^$l]80H">
    <field name="VAR" id="fz3-}yUJ6Z
    H57v_hw*l">msg</field>
    </block>
    </value>
    </block>
    </next>
    </block>
    </next>
    </block>
    </statement>
    </block>
    </next>
    </block>
    </statement>
    </block>
    </xml>

    Bildschirmfoto 2021-03-31 um 08.19.44.png

    BG

    liv-in-skyL 1 Antwort Letzte Antwort
    0
    • HumidorH Humidor

      Hallo 👍

      hab ein Script und verwende den Schaltkontakt von einem Dect Gerät.
      beim Start von ioBroker bekomme ich diese Meldung

      2021-03-31 08:07:49.357 - warn: javascript.0 (24546) You are assigning a undefined to the state "fritzdect.0.DECT_116300118701.state" which expects a boolean. Please fix your code to use a boolean or change the state type to undefined. This warning might become an error in future versions.
      2021-03-31 08:07:49.374 - warn: javascript.0 (24546) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1422:20)
      2021-03-31 08:07:49.375 - warn: javascript.0 (24546) at Object. (script.js.common.Powerbank:23:5)
      2021-03-31 08:07:49.375 - warn: javascript.0 (24546) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
      2021-03-31 08:07:49.376 - warn: javascript.0 (24546) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
      2021-03-31 08:07:49.376 - warn: javascript.0 (24546) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5555:41)
      2021-03-31 08:07:49.377 - warn: javascript.0 (24546) at processImmediate (internal/timers.js:461:21)
      2021-03-31 08:07:49.377 - warn: javascript.0 (24546) You are assigning a undefined to the state "fritzdect.0.DECT_087610456373.state" which expects a boolean. Please fix your code to use a boolean or change the state type to undefined. This warning might become an error in future versions.
      2021-03-31 08:07:49.379 - warn: javascript.0 (24546) at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1422:20)
      2021-03-31 08:07:49.379 - warn: javascript.0 (24546) at Object. (script.js.common.Powerbank:24:5)
      2021-03-31 08:07:49.380 - warn: javascript.0 (24546) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38)
      2021-03-31 08:07:49.380 - warn: javascript.0 (24546) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29)
      2021-03-31 08:07:49.380 - warn: javascript.0 (24546) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5555:41)
      2021-03-31 08:07:49.381 - warn: javascript.0 (24546) at processImmediate (internal/timers.js:461:21)
      

      das ist ein bool - state
      Bildschirmfoto 2021-03-31 um 08.18.23.png

      muss ich noch eine Konvertierung einfügen??


      <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
      <variable id="Wyc]h}Ht6huC^-:6SaQ">LADUNG</variable>
      <variable id="fz3-}yUJ6Z
      H57v_hwl">msg</variable>
      <variable id="=Qw
      /?oX/c9:]kYVO+LT">minOFF</variable>
      <variable id="#av^b]?,?S^.0@Ql^E3">minON</variable>
      <variable type="timeout" id="minOFF">minOFF</variable>
      <variable type="timeout" id="minON">minON</variable>
      </variables>
      <block type="on_ext" id="88i|Y7,;03^~-?v^6gfW" x="-363" y="221">
      <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="][;tlYCvhJq1A~~AdFu"> <field name="oid">0_userdata.0.AMIS.Power</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="xd=LRkdUn!n+x_YNOk.x"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="^I,ANSYMPY_B3hV7CpLS"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="g(zD2GVs478rKy+mHs2h"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.AMIS.PVÜberschuss</field> </block> </value> <value name="B"> <block type="math_number" id="cEk!KETW=f)8j;oU.$fP"> <field name="NUM">1000</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="C96(ZSFX8O:c~KYQZEyf"> <value name="IF0"> <block type="logic_negate" id="!Ji@hL03JT?05/xl~(|J"> <value name="BOOL"> <block type="variables_get" id="kgQ-WXETdMYuriB?OV5="> <field name="VAR" id="=Qw*/?oX/c9:]kYVO+LT">minOFF</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="Hjqkazc*-NQy$re4yopf"> <field name="VAR" id="Wy*c]h}Ht6huC^-:6SaQ">LADUNG</field> <value name="VALUE"> <block type="logic_boolean" id="=FAkrl07,9#EklvQDg2r"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="Am^HOENjQ?/m)1M^SOsP"> <field name="VAR" id="fz3-}yUJ6Z*H57v_hw*l">msg</field> <value name="VALUE"> <block type="text" id="4N|F^E9XSEOmmye]6IcP"> <field name="TEXT">Powerbank - Ladung begonnen</field> </block> </value> <next> <block type="timeouts_settimeout" id="@cx_zFy!SAeA27m9L~$d"> <field name="NAME">minON</field> <field name="DELAY">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="variables_set" id="olUlQ#{Z{}D!z9sldla">
      <field name="VAR" id="#av^b]?,?S^.0@Ql^E3">minON</field>
      <value name="VALUE">
      <block type="logic_null" id="4XmxrdzU6XK#KW15U7ZO"></block>
      </value>
      </block>
      </statement>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </statement>
      <value name="IF1">
      <block type="logic_operation" id="(r}Hp|dOI705FR^mE(hF">
      <field name="OP">AND</field>
      <value name="A">
      <block type="logic_negate" id="/$og_j)Kkr{oaMM;T9=Z">
      <value name="BOOL">
      <block type="variables_get" id="OcOLi4miAjfWxrzF3Z;m">
      <field name="VAR" id="#av^b]?,?S^.0@Ql^E3">minON</field>
      </block>
      </value>
      </block>
      </value>
      <value name="B">
      <block type="logic_compare" id="bPnR
      NGD=9w[[cA^9^X[">
      <field name="OP">GT</field>
      <value name="A">
      <block type="get_value" id="_hhkyNx~18v~?)(!**)o">
      <field name="ATTR">val</field>
      <field name="OID">0_userdata.0.AMIS.Power</field>
      </block>
      </value>
      <value name="B">
      <block type="math_number" id="5MRY5UoiDEY8)T.1WuV8">
      <field name="NUM">0</field>
      </block>
      </value>
      </block>
      </value>
      </block>
      </value>
      <statement name="DO1">
      <block type="variables_set" id="^97%tEk!(DpYK2J2">
      <field name="VAR" id="Wy
      c]h}Ht6huC^-:6SaQ">LADUNG</field>
      <value name="VALUE">
      <block type="logic_boolean" id="}slPZ{#?q5/vpfD_POnW">
      <field name="BOOL">FALSE</field>
      </block>
      </value>
      <next>
      <block type="variables_set" id="R6(LcY)|i,.6iYjsOgC/">
      <field name="VAR" id="fz3-}yUJ6Z
      H57v_hwl">msg</field>
      <value name="VALUE">
      <block type="text" id="tRIbIKQEFa.^gHlJ#2@/">
      <field name="TEXT">Powerbank - Ladung beendet</field>
      </block>
      </value>
      <next>
      <block type="timeouts_settimeout" id="n:EaIT02P6efn{E|q^nV">
      <field name="NAME">minOFF</field>
      <field name="DELAY">10</field>
      <field name="UNIT">min</field>
      <statement name="STATEMENT">
      <block type="variables_set" id="Il9B
      ga%0nAaSG~NLBM]">
      <field name="VAR" id="=Qw*/?oX/c9:]kYVO+LT">minOFF</field>
      <value name="VALUE">
      <block type="logic_null" id="C67`7q0~hj8D~Gb)|,pw"></block>
      </value>
      </block>
      </statement>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      <next>
      <block type="controls_if" id="@#**0c5{ATvB$6Uj7y^">
      <value name="IF0">
      <block type="logic_compare" id="?Tz?ZRu%A[#1ewH0F]+8">
      <field name="OP">NEQ</field>
      <value name="A">
      <block type="variables_get" id="ycHFiqs^D7BVjGjv6u@:">
      <field name="VAR" id="Wy
      c]h}Ht6huC^-:6SaQ">LADUNG</field>
      </block>
      </value>
      <value name="B">
      <block type="get_value" id="zzmaJ{OMGtScEPB$wlzY">
      <field name="ATTR">val</field>
      <field name="OID">fritzdect.0.DECT_116300118701.state</field>
      </block>
      </value>
      </block>
      </value>
      <statement name="DO0">
      <block type="control" id="=ngJ9/h@m~vM8G:~|$@t">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">fritzdect.0.DECT_116300118701.state</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="variables_get" id="GgGBwA|hAHG!qX:@L8P-">
      <field name="VAR" id="Wyc]h}Ht6huC^-:6SaQ">LADUNG</field>
      </block>
      </value>
      <next>
      <block type="control" id="C0zbKHh,L-b43tc=PbD3">
      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
      <field name="OID">fritzdect.0.DECT_087610456373.state</field>
      <field name="WITH_DELAY">FALSE</field>
      <value name="VALUE">
      <block type="variables_get" id="a,T=8{p{TXZ80^4U{[I4">
      <field name="VAR" id="Wy
      c]h}Ht6huC^-:6SaQ">LADUNG</field>
      </block>
      </value>
      <next>
      <block type="debug" id="2__pQR[2.EFS9/Ii|jve">
      <field name="Severity">log</field>
      <value name="TEXT">
      <shadow type="text" id="5c~V%FA97r.wxKWEY/Ua">
      <field name="TEXT">test</field>
      </shadow>
      <block type="variables_get" id="-DW:i8~+q2xA^$l]80H">
      <field name="VAR" id="fz3-}yUJ6Z
      H57v_hw*l">msg</field>
      </block>
      </value>
      </block>
      </next>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </next>
      </block>
      </statement>
      </block>
      </xml>

      Bildschirmfoto 2021-03-31 um 08.19.44.png

      liv-in-skyL Offline
      liv-in-skyL Offline
      liv-in-sky
      schrieb am zuletzt editiert von liv-in-sky
      #2

      @humidor

      der wert ladung scheint nicht definiert zu sein - beim scriptstart ?

      es geht nicht um konvertierung, sondern um undefined - du musst LADUNG "setzen" beim scriptstart - außerhalb eines triggers

      hier ein beispiel - außerhalb des schedule triggers werden die beiden variablen gesetzt

      Image 1.png

      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

      HumidorH 1 Antwort Letzte Antwort
      0
      • liv-in-skyL liv-in-sky

        @humidor

        der wert ladung scheint nicht definiert zu sein - beim scriptstart ?

        es geht nicht um konvertierung, sondern um undefined - du musst LADUNG "setzen" beim scriptstart - außerhalb eines triggers

        hier ein beispiel - außerhalb des schedule triggers werden die beiden variablen gesetzt

        Image 1.png

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

        @liv-in-sky interessant, dh der Adapter läuft noch nicht und das Objekt ist nicht definiert.
        wie kann ich ein Objekt setzen ?
        könnte ich nicht die Java Abarbeitung bis der Adapter läuft zurückhalten?

        BG

        liv-in-skyL 2 Antworten Letzte Antwort
        0
        • HumidorH Humidor

          @liv-in-sky interessant, dh der Adapter läuft noch nicht und das Objekt ist nicht definiert.
          wie kann ich ein Objekt setzen ?
          könnte ich nicht die Java Abarbeitung bis der Adapter läuft zurückhalten?

          liv-in-skyL Offline
          liv-in-skyL Offline
          liv-in-sky
          schrieb am zuletzt editiert von liv-in-sky
          #4

          @humidor anders herum - die variable LADUNG ist noch nicht definiert und du schreibst die schon in einen datenpunkt

          You are assigning a undefined to the state "fritzdect.0.DECT_087610456373.state" which expects a boolean. Please fix your code to use a boolean or change the state type to undefined. This warning might become an error in future versions.
          

          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

          1 Antwort Letzte Antwort
          0
          • HumidorH Humidor

            @liv-in-sky interessant, dh der Adapter läuft noch nicht und das Objekt ist nicht definiert.
            wie kann ich ein Objekt setzen ?
            könnte ich nicht die Java Abarbeitung bis der Adapter läuft zurückhalten?

            liv-in-skyL Offline
            liv-in-skyL Offline
            liv-in-sky
            schrieb am zuletzt editiert von
            #5

            @humidor

            evtl kannst du das hier (außerhalb eines triggers) einfügen - damit ist beim scriptstart der selbe wert definiert, wie ihn der adapter momentan hat - kommt auf den rest des scripte an

            Image 2.png

            nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

            HumidorH 1 Antwort Letzte Antwort
            1
            • liv-in-skyL liv-in-sky

              @humidor

              evtl kannst du das hier (außerhalb eines triggers) einfügen - damit ist beim scriptstart der selbe wert definiert, wie ihn der adapter momentan hat - kommt auf den rest des scripte an

              Image 2.png

              HumidorH Offline
              HumidorH Offline
              Humidor
              schrieb am zuletzt editiert von
              #6

              @liv-in-sky ach so, verstanden, falsch gedacht
              gemacht, mal sehen, denke damit ist es gelöst, danke!

              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
              FAQ Cloud / IOT
              HowTo: Node.js-Update
              HowTo: Backup/Restore
              Downloads
              BLOG

              429

              Online

              33.0k

              Benutzende

              83.7k

              Themen

              1.3m

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

              • Du hast noch kein Konto? Registrieren

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