Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • 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. Script Hilfe licht über Xiaomi Switch anschalten.

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.7k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.1k

Script Hilfe licht über Xiaomi Switch anschalten.

Geplant Angeheftet Gesperrt Verschoben Blockly
blocklymonitoringcommunication
40 Beiträge 3 Kommentatoren 3.1k Aufrufe 1 Watching
  • Ä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.
  • iomountainI iomountain

    mach mal einen Export von deinem Code

    Nito33N Offline
    Nito33N Offline
    Nito33
    schrieb am zuletzt editiert von
    #15

    @iomountain <xml xmlns="http://www.w3.org/1999/xhtml">
    <block type="comment" id="@cY?z8Mo[rp~6xjYRB9" x="88" y="-462">
    <field name="COMMENT">Taster XIAOMI Nr. 3</field>
    <next>
    <block type="on_ext" id="PB-24CkO9W+A,wx(U/~p">
    <mutation items="6"></mutation>
    <field name="CONDITION">gt</field>
    <field name="ACK_CONDITION">true</field>
    <value name="OID0">
    <shadow type="field_oid" id=")Qi
    F{:XZIsphth0IP^H">
    <field name="oid">default</field>
    </shadow>
    <block type="field_oid" id="rgjNSi2xzP32iFTE[Zr"> <field name="oid">mihome.0.devices.switch_158d0001e5c139.click</field> </block> </value> <value name="OID1"> <shadow type="field_oid" id="iaF=)P=-;PAAd,)/4%vi"> <field name="oid">default</field> </shadow> <block type="field_oid" id="ea3t6_MlYEPR}*?yzCqA"> <field name="oid">zigbee.0.00158d0002b02f86.double_click</field> </block> </value> <value name="OID2"> <shadow type="field_oid" id="^US+uZxi^vOuQI|KuALq"> <field name="oid">default</field> </shadow> <block type="field_oid" id="Ro15Nv;8Sl9+.0nGHq^%"> <field name="oid">zigbee.0.00158d0002b02f86.triple_click</field> </block> </value> <value name="OID3"> <shadow type="field_oid" id="R2Lb}B~M^5V1#^vXl,xw"> <field name="oid">default</field> </shadow> <block type="field_oid" id="=?EUmg0.O3+z.RryC=xB"> <field name="oid">zigbee.0.00158d0002b02f86.quad_click</field> </block> </value> <value name="OID4"> <shadow type="field_oid" id="9i}=7+CVZh@d7@#)C3;}"> <field name="oid">default</field> </shadow> <block type="field_oid" id="?ojg03%rW]}Gl-_0!1x">
    <field name="oid">zigbee.0.00158d0002b02f86.many_click</field>
    </block>
    </value>
    <value name="OID5">
    <shadow type="field_oid" id="?EarP}N#oxmuZYcD#w?A">
    <field name="oid">default</field>
    </shadow>
    <block type="field_oid" id="Qn6/h8f3[DPd@i5_M8">
    <field name="oid">zigbee.0.00158d0002b02f86.long_click</field>
    </block>
    </value>
    <statement name="STATEMENT">
    <block type="debug" id="r/YqCq!4BPo^D%562f@H">
    <field name="Severity">log</field>
    <value name="TEXT">
    <shadow type="text" id="5hv99z~G)/zHUNWPf~">
    <field name="TEXT">es wurde geklickt</field>
    </shadow>
    </value>
    <next>
    <block type="controls_if" id="^%rfwf,9(7^?Gd1W(2rH">
    <mutation elseif="5"></mutation>
    <value name="IF0">
    <block type="logic_compare" id="B7oHd]+ob+83AYT#!UOR">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="%l[Ebz+^3abG+/nZ_|%6">
    <field name="ATTR">val</field>
    <field name="OID">zigbee.0.00158d0002b02f86.click</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="ciW[o-HOq!fpNWr0GQx">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <statement name="DO0">
    <block type="debug" id="77)Pc:(kqD!l@AdFktg"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="?D:soVS]Ik_MSh,2sepk"> <field name="TEXT">click</field> </shadow> </value> <next> <block type="comment" id="i*jra%1wLggjCGzi/q{W"> <field name="COMMENT">je nach click</field> <next> <block type="controls_if" id="EG3ol;@J!t^@8umkneD">
    <mutation else="1"></mutation>
    <value name="IF0">
    <block type="logic_operation" id="K{W%]KSw7P4gp:O[UgD">
    <field name="OP">OR</field>
    <value name="A">
    <block type="logic_compare" id="h^93g38,nk?n5B7-T|-2">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="{LHVnt1Z}O9p}y;p9yW)">
    <field name="ATTR">val</field>
    <field name="OID">sonoff.0.Licht.POWER</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="i]3e]XF.PqOq6jySU-7A">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <value name="B">
    <block type="logic_compare" id="Q_d6K+s7Xy3z=yM8JKI"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="N:?5:-:R9O-Gf(9;Y4*4"> <field name="ATTR">val</field> <field name="OID">sonoff.0.Licht.POWER</field> </block> </value> <value name="B"> <block type="logic_boolean" id="[2d@d1(/KA:U_9qBxzt|"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="5{]Wn0u@#w@rdTXb)SiY"> <field name="COMMENT">Wenn eine Lampe an dann alle aus</field> <next> <block type="debug" id="D1jJ!hg8?416.fo8A]Ig"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="EQV5T+^(Oc^%jddr?Ed/"> <field name="TEXT">ausschalten</field> </shadow> </value> <next> <block type="control" id="QyX=!8$VR$)D=UhC1sa1"> <mutation delay_input="false"></mutation> <field name="OID">sonoff.0.Licht.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="V2End:lo3Xwl#Gp^:9ne"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="comment" id=":x2uA2sM^Tb!]7~%Y@3."> <field name="COMMENT">Objekt schalten, bitte anpassen</field> <next> <block type="control" id="79;%-wMLM(l4pnH}_Ug?"> <mutation delay_input="false"></mutation> <field name="OID">sonoff.0.Licht.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="OqQ-6Zdl=qm``H}c+r1">
    <field name="BOOL">FALSE</field>
    </block>
    </value>
    <next>
    <block type="comment" id="L?|+,b8)F9%Bpv]ZlSK/">
    <field name="COMMENT">Sonst lampe an</field>
    <next>
    <block type="debug" id="[7.r]dibVzq:nExle;C"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="AjqibEkM(*AUc-I[Fh.">
    <field name="TEXT">einschalten</field>
    </shadow>
    </value>
    <next>
    <block type="comment" id="khXz:g:a01UL0NVB(/0A">
    <field name="COMMENT">Objekt schalten, bitte anpassen</field>
    <next>
    <block type="control" id="i4iv,I2$L
    g=Y3hXGM">
    <mutation delay_input="false"></mutation>
    <field name="OID">sonoff.0.Licht.POWER</field>
    <field name="WITH_DELAY">FALSE</field>
    <value name="VALUE">
    <block type="logic_boolean" id="$7ncThkUUTn~-05X$uEg">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </next>
    </block>
    </next>
    </block>
    </next>
    </block>
    </next>
    </block>
    </next>
    </block>
    </statement>
    </block>
    </next>
    </block>
    </next>
    </block>
    </statement>
    <value name="IF1">
    <block type="logic_compare" id="{RB1T]6_|We%X^x8y,e3">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="]JqpodS[1k}8wvU%ljY"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0002b02f86.double_click</field> </block> </value> <value name="B"> <block type="logic_boolean" id="D({5v+n5fghCkGs68}ch"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO1"> <block type="debug" id="]OGemcpFY;b;lh4Z[aK/"> <field name="Severity">log</field> <value name="TEXT"> <shadow type="text" id="fO(2D5-!_m|U:zj[5fsa"> <field name="TEXT">double click</field> </shadow> </value> <next> <block type="comment" id="B7Y#DekBTX23lCB-|,L]"> <field name="COMMENT">je nach click</field> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_compare" id="Awyl1ugjhBcRcUAJOL+l"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="l4xIsUAecIpJqodgO-4">
    <field name="ATTR">val</field>
    <field name="OID">zigbee.0.00158d0002b02f86.triple_click</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="g]#YKK0GlZp
    2U(E|G|(">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <statement name="DO2">
    <block type="debug" id="gr9O^S~?R+-0b:S-sb!L">
    <field name="Severity">log</field>
    <value name="TEXT">
    <shadow type="text" id="1[hmvn+t^pr2j.fEi2rb">
    <field name="TEXT">tripple click</field>
    </shadow>
    </value>
    <next>
    <block type="comment" id="0,;Y]y4[u[]+Bs1s=Epw">
    <field name="COMMENT">je nach click</field>
    </block>
    </next>
    </block>
    </statement>
    <value name="IF3">
    <block type="logic_compare" id="5Ultno,QEkbPOIz4+x="> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="^,!TJk?QHXNhp0f24SIM"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0002b02f86.quad_click</field> </block> </value> <value name="B"> <block type="logic_boolean" id="^0tE{Uw^Aw9]{aM4v%#,"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO3"> <block type="debug" id="uM,~ogj7YUW+_9GH@qK">
    <field name="Severity">log</field>
    <value name="TEXT">
    <shadow type="text" id="vf-TRBU!EW^99MhKz-^D">
    <field name="TEXT">vierfach click</field>
    </shadow>
    </value>
    <next>
    <block type="comment" id="b)rKt;?q#O/WQ!S8W">
    <field name="COMMENT">je nach click</field>
    </block>
    </next>
    </block>
    </statement>
    <value name="IF4">
    <block type="logic_compare" id="5P6jpTQ+SQg)Z-ZWuBCK">
    <field name="OP">EQ</field>
    <value name="A">
    <block type="get_value" id="LPfGX2rys@=v3mC2^-73">
    <field name="ATTR">val</field>
    <field name="OID">zigbee.0.00158d0002b02f86.many_click</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="ris=X#TgK=1+0COq?uuC">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <statement name="DO4">
    <block type="debug" id="Br~kIi5^8x!xr.94.PB:">
    <field name="Severity">log</field>
    <value name="TEXT">
    <shadow type="text" id="ZrcdR6T{YcUD=]O;S+-"> <field name="TEXT">viele click</field> </shadow> </value> <next> <block type="comment" id="@d7VxOC1QmAoaKcahHk3"> <field name="COMMENT">je nach click</field> </block> </next> </block> </statement> <value name="IF5"> <block type="logic_compare" id="Gt2b(|.gt?d1z,%g%99I"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="4[vb;-7^8ow]IE0ZF~[">
    <field name="ATTR">val</field>
    <field name="OID">zigbee.0.00158d0002b02f86.long_click</field>
    </block>
    </value>
    <value name="B">
    <block type="logic_boolean" id="ay}{%b(r.^GlnijvJuN^">
    <field name="BOOL">TRUE</field>
    </block>
    </value>
    </block>
    </value>
    <statement name="DO5">
    <block type="debug" id="OU:gQT3@u=HQrMl8Hq+%">
    <field name="Severity">log</field>
    <value name="TEXT">
    <shadow type="text" id="M(F:?:]%Jg?msY]k^F)n">
    <field name="TEXT">lang click</field>
    </shadow>
    </value>
    <next>
    <block type="comment" id="8R^HYo2yE!:l@set
    :4i">
    <field name="COMMENT">je nach click </field>
    </block>
    </next>
    </block>
    </statement>
    </block>
    </next>
    </block>
    </statement>
    </block>
    </next>
    </block>
    </xml>

    1 Antwort Letzte Antwort
    0
    • iomountainI iomountain

      mach mal einen Export von deinem Code

      Nito33N Offline
      Nito33N Offline
      Nito33
      schrieb am zuletzt editiert von
      #16

      @iomountain Wie mache ich das denn eigentlich in so nem Kasten :D ?

      iomountainI 1 Antwort Letzte Antwort
      0
      • Nito33N Nito33

        @iomountain Wie mache ich das denn eigentlich in so nem Kasten :D ?

        iomountainI Offline
        iomountainI Offline
        iomountain
        schrieb am zuletzt editiert von
        #17

        @Noé1237
        erst auf Spoiler drücken, dann auf Code, dann einfügen

        hab's mal ein wenig gekürzt und aufgeräumt

        <xml xmlns="http://www.w3.org/1999/xhtml">
         <block type="comment" id="@cY?z8Mo[rp~6xjYRB9" x="788" y="-837">
           <field name="COMMENT">Taster XIAOMI Nr. 3</field>
           <next>
             <block type="on_ext" id="IM=K$r`vCMSq5Ry?s:~7">
               <mutation items="3"></mutation>
               <field name="CONDITION">ne</field>
               <field name="ACK_CONDITION"></field>
               <value name="OID0">
                 <shadow type="field_oid" id=")QiF{:XZIsphth0IP^H">
                   <field name="oid">default</field>
                 </shadow>
                 <block type="field_oid" id="^ipDGr0w*ura!}49qCL#">
                   <field name="oid">mihome.0.devices.switch_158d0001e5c139.click</field>
                 </block>
               </value>
               <value name="OID1">
                 <shadow type="field_oid" id="iaF=)P=-;PAAd,)/4%vi">
                   <field name="oid">default</field>
                 </shadow>
                 <block type="field_oid" id="fJwFo$^m7N2ojv]3p/QM">
                   <field name="oid">zigbee.0.00158d0002b02f86.double_click</field>
                 </block>
               </value>
               <value name="OID2">
                 <shadow type="field_oid" id="^US+uZxi^vOuQI|KuALq">
                   <field name="oid">default</field>
                 </shadow>
                 <block type="field_oid" id="Qh2HV$lcJ,ank8t8VYl|">
                   <field name="oid">zigbee.0.00158d0002b02f86.long_click</field>
                 </block>
               </value>
               <statement name="STATEMENT">
                 <block type="debug" id="eMyo{0+~BA^+F_j)nF!q">
                   <field name="Severity">log</field>
                   <value name="TEXT">
                     <shadow type="text" id="aEIbF.mX|@FSE)x~u`Pc">
                       <field name="TEXT">es wurde geklickt</field>
                     </shadow>
                   </value>
                   <next>
                     <block type="controls_if" id="LwYwYyELzNmNsP12(PJ9">
                       <mutation elseif="2"></mutation>
                       <value name="IF0">
                         <block type="logic_compare" id="oY/OwE$,$:B-LaqyH+uG">
                           <field name="OP">EQ</field>
                           <value name="A">
                             <block type="get_value" id="Y]Shb09a[-~$9jg9CvFp">
                               <field name="ATTR">val</field>
                               <field name="OID">zigbee.0.00158d0002b02f86.click</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_boolean" id="!Nsd[-FkW{f-Tafh(di?">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="debug" id="`L|)(C=-?JEKZQ=/y_p3">
                           <field name="Severity">log</field>
                           <value name="TEXT">
                             <shadow type="text" id="{9ywGmI{lky~86n;CK;M">
                               <field name="TEXT">simple click</field>
                             </shadow>
                           </value>
                           <next>
                             <block type="comment" id="84wWuU*|2E#eVDJ[;xSq">
                               <field name="COMMENT">je nach click</field>
                               <next>
                                 <block type="controls_if" id="cI_ZQ:;t@XJ.sKY,duG{">
                                   <mutation else="1"></mutation>
                                   <value name="IF0">
                                     <block type="logic_compare" id="447cil7dkU}qdikEWF{o">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="get_value" id="j}kI`?]x)Voq(g2^Deg`">
                                           <field name="ATTR">val</field>
                                           <field name="OID">sonoff.0.Licht.POWER</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="logic_boolean" id="+]Ky-zdx$#O7G75!3nmC">
                                           <field name="BOOL">TRUE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="comment" id="Ui*|-IIZkk~5qp]Sh{iC">
                                       <field name="COMMENT">Wenn eine Lampe an dann alle aus</field>
                                       <next>
                                         <block type="debug" id="MYATXbE=nd]`P]]#|cWS">
                                           <field name="Severity">log</field>
                                           <value name="TEXT">
                                             <shadow type="text" id="-jjSMw/F|x(P^.`}y_+8">
                                               <field name="TEXT">ausschalten</field>
                                             </shadow>
                                           </value>
                                           <next>
                                             <block type="control" id="s^37|2Q;*n^+1Su)jr2z">
                                               <mutation delay_input="false"></mutation>
                                               <field name="OID">sonoff.0.Licht.POWER</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="X6hC`)c~pbK95M;IEo8w">
                                                   <field name="BOOL">FALSE</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                   <statement name="ELSE">
                                     <block type="comment" id="3XBp0.uai|Z,MxtnS79B">
                                       <field name="COMMENT">Sonst lampe an</field>
                                       <next>
                                         <block type="debug" id="~88$c[[;d*mtS/?zDuZ}">
                                           <field name="Severity">log</field>
                                           <value name="TEXT">
                                             <shadow type="text" id="KFK}kt7RygKz6PX7(H+a">
                                               <field name="TEXT">einschalten</field>
                                             </shadow>
                                           </value>
                                           <next>
                                             <block type="comment" id="#w=#88#QYefI9D=uW$12">
                                               <field name="COMMENT">Objekt schalten, bitte anpassen</field>
                                               <next>
                                                 <block type="control" id=".bhIw.73p9H[$2iZ,pil">
                                                   <mutation delay_input="false"></mutation>
                                                   <field name="OID">sonoff.0.Licht.POWER</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="atYDubn5(IL[[E?W[=.f">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                       <value name="IF1">
                         <block type="logic_compare" id="?y[}1Aa[MJMYV]rNUt6B">
                           <field name="OP">EQ</field>
                           <value name="A">
                             <block type="get_value" id="RW~%WAZEGn:M5I=~{nRf">
                               <field name="ATTR">val</field>
                               <field name="OID">zigbee.0.00158d0002b02f86.double_click</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_boolean" id="v4yf~+u+*SQ(Bnr^0dWO">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO1">
                         <block type="debug" id="FKC@ddUdUG._U.3*PW%u">
                           <field name="Severity">log</field>
                           <value name="TEXT">
                             <shadow type="text" id="QIHNuvl;%2Ko|N^xigHb">
                               <field name="TEXT">double click</field>
                             </shadow>
                           </value>
                           <next>
                             <block type="comment" id="-Gm=B3%WG4-0.ShL9sC8">
                               <field name="COMMENT">je nach click</field>
                             </block>
                           </next>
                         </block>
                       </statement>
                       <value name="IF2">
                         <block type="logic_compare" id="q_b/zN!56q)s0J8+Yjos">
                           <field name="OP">EQ</field>
                           <value name="A">
                             <block type="get_value" id="/K{7E}+T7K$})pS6=2md">
                               <field name="ATTR">val</field>
                               <field name="OID">zigbee.0.00158d0002b02f86.long_click</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="logic_boolean" id="EG?~N7wx*d-optI47WLe">
                               <field name="BOOL">TRUE</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO2">
                         <block type="debug" id="t1[K}FImd-EU6r@$-Ok*">
                           <field name="Severity">log</field>
                           <value name="TEXT">
                             <shadow type="text" id="p:D!*b]*bXZ`-i%bu/H=">
                               <field name="TEXT">lang click</field>
                             </shadow>
                           </value>
                           <next>
                             <block type="comment" id="%zhWT=pM5@yWuU2aBQ)#">
                               <field name="COMMENT">je nach click</field>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
               </statement>
             </block>
           </next>
         </block>
        </xml>
        

        Nito33N iomountainI 2 Antworten Letzte Antwort
        0
        • iomountainI iomountain

          @Noé1237
          erst auf Spoiler drücken, dann auf Code, dann einfügen

          hab's mal ein wenig gekürzt und aufgeräumt

          <xml xmlns="http://www.w3.org/1999/xhtml">
           <block type="comment" id="@cY?z8Mo[rp~6xjYRB9" x="788" y="-837">
             <field name="COMMENT">Taster XIAOMI Nr. 3</field>
             <next>
               <block type="on_ext" id="IM=K$r`vCMSq5Ry?s:~7">
                 <mutation items="3"></mutation>
                 <field name="CONDITION">ne</field>
                 <field name="ACK_CONDITION"></field>
                 <value name="OID0">
                   <shadow type="field_oid" id=")QiF{:XZIsphth0IP^H">
                     <field name="oid">default</field>
                   </shadow>
                   <block type="field_oid" id="^ipDGr0w*ura!}49qCL#">
                     <field name="oid">mihome.0.devices.switch_158d0001e5c139.click</field>
                   </block>
                 </value>
                 <value name="OID1">
                   <shadow type="field_oid" id="iaF=)P=-;PAAd,)/4%vi">
                     <field name="oid">default</field>
                   </shadow>
                   <block type="field_oid" id="fJwFo$^m7N2ojv]3p/QM">
                     <field name="oid">zigbee.0.00158d0002b02f86.double_click</field>
                   </block>
                 </value>
                 <value name="OID2">
                   <shadow type="field_oid" id="^US+uZxi^vOuQI|KuALq">
                     <field name="oid">default</field>
                   </shadow>
                   <block type="field_oid" id="Qh2HV$lcJ,ank8t8VYl|">
                     <field name="oid">zigbee.0.00158d0002b02f86.long_click</field>
                   </block>
                 </value>
                 <statement name="STATEMENT">
                   <block type="debug" id="eMyo{0+~BA^+F_j)nF!q">
                     <field name="Severity">log</field>
                     <value name="TEXT">
                       <shadow type="text" id="aEIbF.mX|@FSE)x~u`Pc">
                         <field name="TEXT">es wurde geklickt</field>
                       </shadow>
                     </value>
                     <next>
                       <block type="controls_if" id="LwYwYyELzNmNsP12(PJ9">
                         <mutation elseif="2"></mutation>
                         <value name="IF0">
                           <block type="logic_compare" id="oY/OwE$,$:B-LaqyH+uG">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="Y]Shb09a[-~$9jg9CvFp">
                                 <field name="ATTR">val</field>
                                 <field name="OID">zigbee.0.00158d0002b02f86.click</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_boolean" id="!Nsd[-FkW{f-Tafh(di?">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="debug" id="`L|)(C=-?JEKZQ=/y_p3">
                             <field name="Severity">log</field>
                             <value name="TEXT">
                               <shadow type="text" id="{9ywGmI{lky~86n;CK;M">
                                 <field name="TEXT">simple click</field>
                               </shadow>
                             </value>
                             <next>
                               <block type="comment" id="84wWuU*|2E#eVDJ[;xSq">
                                 <field name="COMMENT">je nach click</field>
                                 <next>
                                   <block type="controls_if" id="cI_ZQ:;t@XJ.sKY,duG{">
                                     <mutation else="1"></mutation>
                                     <value name="IF0">
                                       <block type="logic_compare" id="447cil7dkU}qdikEWF{o">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="get_value" id="j}kI`?]x)Voq(g2^Deg`">
                                             <field name="ATTR">val</field>
                                             <field name="OID">sonoff.0.Licht.POWER</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_boolean" id="+]Ky-zdx$#O7G75!3nmC">
                                             <field name="BOOL">TRUE</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="comment" id="Ui*|-IIZkk~5qp]Sh{iC">
                                         <field name="COMMENT">Wenn eine Lampe an dann alle aus</field>
                                         <next>
                                           <block type="debug" id="MYATXbE=nd]`P]]#|cWS">
                                             <field name="Severity">log</field>
                                             <value name="TEXT">
                                               <shadow type="text" id="-jjSMw/F|x(P^.`}y_+8">
                                                 <field name="TEXT">ausschalten</field>
                                               </shadow>
                                             </value>
                                             <next>
                                               <block type="control" id="s^37|2Q;*n^+1Su)jr2z">
                                                 <mutation delay_input="false"></mutation>
                                                 <field name="OID">sonoff.0.Licht.POWER</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="X6hC`)c~pbK95M;IEo8w">
                                                     <field name="BOOL">FALSE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                     <statement name="ELSE">
                                       <block type="comment" id="3XBp0.uai|Z,MxtnS79B">
                                         <field name="COMMENT">Sonst lampe an</field>
                                         <next>
                                           <block type="debug" id="~88$c[[;d*mtS/?zDuZ}">
                                             <field name="Severity">log</field>
                                             <value name="TEXT">
                                               <shadow type="text" id="KFK}kt7RygKz6PX7(H+a">
                                                 <field name="TEXT">einschalten</field>
                                               </shadow>
                                             </value>
                                             <next>
                                               <block type="comment" id="#w=#88#QYefI9D=uW$12">
                                                 <field name="COMMENT">Objekt schalten, bitte anpassen</field>
                                                 <next>
                                                   <block type="control" id=".bhIw.73p9H[$2iZ,pil">
                                                     <mutation delay_input="false"></mutation>
                                                     <field name="OID">sonoff.0.Licht.POWER</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="logic_boolean" id="atYDubn5(IL[[E?W[=.f">
                                                         <field name="BOOL">TRUE</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </statement>
                         <value name="IF1">
                           <block type="logic_compare" id="?y[}1Aa[MJMYV]rNUt6B">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="RW~%WAZEGn:M5I=~{nRf">
                                 <field name="ATTR">val</field>
                                 <field name="OID">zigbee.0.00158d0002b02f86.double_click</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_boolean" id="v4yf~+u+*SQ(Bnr^0dWO">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO1">
                           <block type="debug" id="FKC@ddUdUG._U.3*PW%u">
                             <field name="Severity">log</field>
                             <value name="TEXT">
                               <shadow type="text" id="QIHNuvl;%2Ko|N^xigHb">
                                 <field name="TEXT">double click</field>
                               </shadow>
                             </value>
                             <next>
                               <block type="comment" id="-Gm=B3%WG4-0.ShL9sC8">
                                 <field name="COMMENT">je nach click</field>
                               </block>
                             </next>
                           </block>
                         </statement>
                         <value name="IF2">
                           <block type="logic_compare" id="q_b/zN!56q)s0J8+Yjos">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="/K{7E}+T7K$})pS6=2md">
                                 <field name="ATTR">val</field>
                                 <field name="OID">zigbee.0.00158d0002b02f86.long_click</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="logic_boolean" id="EG?~N7wx*d-optI47WLe">
                                 <field name="BOOL">TRUE</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO2">
                           <block type="debug" id="t1[K}FImd-EU6r@$-Ok*">
                             <field name="Severity">log</field>
                             <value name="TEXT">
                               <shadow type="text" id="p:D!*b]*bXZ`-i%bu/H=">
                                 <field name="TEXT">lang click</field>
                               </shadow>
                             </value>
                             <next>
                               <block type="comment" id="%zhWT=pM5@yWuU2aBQ)#">
                                 <field name="COMMENT">je nach click</field>
                               </block>
                             </next>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
          </xml>
          

          Nito33N Offline
          Nito33N Offline
          Nito33
          schrieb am zuletzt editiert von
          #18

          @iomountain achso okey, danke. Weißt du woran es liegt?

          iomountainI 1 Antwort Letzte Antwort
          0
          • Nito33N Nito33

            @iomountain achso okey, danke. Weißt du woran es liegt?

            iomountainI Offline
            iomountainI Offline
            iomountain
            schrieb am zuletzt editiert von
            #19

            @Noé1237 sagte in Script Hilfe licht über Xiaomi Switch anschalten.:

            Weißt du woran es liegt?

            was?
            funktioniert dein "simple click"

            Nito33N 1 Antwort Letzte Antwort
            0
            • iomountainI iomountain

              @Noé1237 sagte in Script Hilfe licht über Xiaomi Switch anschalten.:

              Weißt du woran es liegt?

              was?
              funktioniert dein "simple click"

              Nito33N Offline
              Nito33N Offline
              Nito33
              schrieb am zuletzt editiert von
              #20

              @iomountain Ne ich frage ja ob du weißt wieso es nicht funktioniert. Aktuell passiert gar nichts wenn ich drücke.

              1 Antwort Letzte Antwort
              0
              • iomountainI Offline
                iomountainI Offline
                iomountain
                schrieb am zuletzt editiert von
                #21

                3e618248-c626-4f48-8126-70458b717fa7-image.png
                so ist das Script gestoppt.
                was sagt das Log?
                Das was in den Debug Baustein steht müsste im LOG auftauchen.

                Nito33N 1 Antwort Letzte Antwort
                0
                • iomountainI iomountain

                  3e618248-c626-4f48-8126-70458b717fa7-image.png
                  so ist das Script gestoppt.
                  was sagt das Log?
                  Das was in den Debug Baustein steht müsste im LOG auftauchen.

                  Nito33N Offline
                  Nito33N Offline
                  Nito33
                  schrieb am zuletzt editiert von
                  #22

                  @iomountain Script ist an. Opera Momentaufnahme_2019-07-11_134121_192.168.178.93.png
                  so sieht mein log aus

                  1 Antwort Letzte Antwort
                  0
                  • iomountainI Offline
                    iomountainI Offline
                    iomountain
                    schrieb am zuletzt editiert von
                    #23

                    das letzte Script, das gekürzte und aufgeräumte, und was kommt im Log wenn du bei diesem einen Click machst?

                    Nito33N 2 Antworten Letzte Antwort
                    0
                    • iomountainI iomountain

                      das letzte Script, das gekürzte und aufgeräumte, und was kommt im Log wenn du bei diesem einen Click machst?

                      Nito33N Offline
                      Nito33N Offline
                      Nito33
                      schrieb am zuletzt editiert von Nito33
                      #24
                      2019-07-11 14:31:17.380  - info: radar2.0 Adapter disconnected and stopped with dostop(false) and callback(true)
                      2019-07-11 14:31:17.733  - info: radar2.0 found '@abandonware/noble'
                      2019-07-11 14:31:17.742  - warn: radar2.0 node-bluetooth not found!
                      2019-07-11 14:31:17.743  - info: radar2.0 radar2 set to flag items away if they are not seen for 6 minutes
                      2019-07-11 14:31:17.745  - info: radar2.0 use known BT list: [ '01:12:23:34:45:56' ]
                      2019-07-11 14:31:17.746  - info: radar2.0 use known IP list: [ '1.1.1.1' ]
                      2019-07-11 14:31:17.747  - info: radar2.0 Remove name end for host names: .fritz.box
                      2019-07-11 14:31:17.750  - info: radar2.0 arp-scan will use the following interfaces: [ 'eth0' ]
                      2019-07-11 14:31:17.751  - info: radar2.0 radar2 set to scan every 30 seconds and printers every 720 minutes.
                      2019-07-11 14:31:17.833  - error: Caught by controller[0]: { Error: bind EACCES 0.0.0.0:67
                      2019-07-11 14:31:17.834  - error: Caught by controller[0]:     at _handle.lookup (dgram.js:266:18)
                      2019-07-11 14:31:17.834  - error: Caught by controller[0]:     at _combinedTickCallback (internal/process/next_tick.js:142:11)
                      2019-07-11 14:31:17.834  - error: Caught by controller[0]:     at process._tickCallback (internal/process/next_tick.js:181:9)
                      2019-07-11 14:31:17.834  - error: Caught by controller[0]:   errno: 'EACCES',
                      2019-07-11 14:31:17.834  - error: Caught by controller[0]:   code: 'EACCES',
                      2019-07-11 14:31:17.834  - error: Caught by controller[0]:   syscall: 'bind',
                      2019-07-11 14:31:17.834  - error: Caught by controller[0]:   address: '0.0.0.0',
                      2019-07-11 14:31:17.834  - error: Caught by controller[0]:   port: 67 }
                      2019-07-11 14:31:17.835  - error: host.ioBroker-Pi instance system.adapter.radar2.0 terminated with code 0 (OK)
                      2019-07-11 14:31:17.835  - info: host.ioBroker-Pi Restart adapter system.adapter.radar2.0 because enabled
                      2019-07-11 14:31:20.651  - error: rpi2.0 No Value found for cpu_frequency
                      2019-07-11 14:31:20.961  - info: javascript.0 script.js.Schalter_Tür_und_Bett: es wurde geklickt
                      2019-07-11 14:31:20.962  - warn: javascript.0 getState "zigbee.0.00158d0002b02f86.click" not found (3)
                      2019-07-11 14:31:20.965  - warn: javascript.0     at Object.<anonymous> (script.js.Schalter_Tür_und_Bett:4:7)
                      2019-07-11 14:31:20.965  - warn: javascript.0     at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38)
                      2019-07-11 14:31:20.965  - warn: javascript.0     at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
                      2019-07-11 14:31:20.965  - warn: javascript.0     at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
                      2019-07-11 14:31:20.965  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
                      2019-07-11 14:31:20.966  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.966  - warn: javascript.0     at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
                      2019-07-11 14:31:20.966  - warn: javascript.0     at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
                      2019-07-11 14:31:20.966  - warn: javascript.0     at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.966  - warn: javascript.0     at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.966  - warn: javascript.0     at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
                      2019-07-11 14:31:20.966  - warn: javascript.0     at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.966  - warn: javascript.0     at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                      2019-07-11 14:31:20.967  - warn: javascript.0     at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                      2019-07-11 14:31:20.967  - warn: javascript.0     at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                      2019-07-11 14:31:20.967  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.967  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.967  - warn: javascript.0     at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                      2019-07-11 14:31:20.967  - warn: javascript.0     at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                      2019-07-11 14:31:20.967  - warn: javascript.0     at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.967  - warn: javascript.0     at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                      2019-07-11 14:31:20.967  - warn: javascript.0     at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
                      2019-07-11 14:31:20.968  - warn: javascript.0     at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
                      2019-07-11 14:31:20.968  - warn: javascript.0     at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
                      2019-07-11 14:31:20.968  - warn: javascript.0     at emitTwo (events.js:126:13)
                      2019-07-11 14:31:20.968  - warn: javascript.0     at WebSocket.emit (events.js:214:7)
                      2019-07-11 14:31:20.968  - warn: javascript.0     at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
                      2019-07-11 14:31:20.968  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
                      2019-07-11 14:31:20.968  - warn: javascript.0     at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
                      2019-07-11 14:31:20.968  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
                      2019-07-11 14:31:20.968  - warn: javascript.0     at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
                      2019-07-11 14:31:20.969  - warn: javascript.0     at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
                      2019-07-11 14:31:20.969  - warn: javascript.0     at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
                      2019-07-11 14:31:20.969  - warn: javascript.0     at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
                      2019-07-11 14:31:20.969  - warn: javascript.0     at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
                      2019-07-11 14:31:20.969  - warn: javascript.0     at emitOne (events.js:116:13)
                      2019-07-11 14:31:20.969  - warn: javascript.0     at Socket.emit (events.js:211:7)
                      2019-07-11 14:31:20.969  - warn: javascript.0     at addChunk (_stream_readable.js:263:12)
                      2019-07-11 14:31:20.969  - warn: javascript.0     at readableAddChunk (_stream_readable.js:250:11)
                      2019-07-11 14:31:20.969  - warn: javascript.0     at Socket.Readable.push (_stream_readable.js:208:10)
                      2019-07-11 14:31:20.970  - warn: javascript.0     at TCP.onread (net.js:601:20)
                      2019-07-11 14:31:20.970  - warn: javascript.0 getState "zigbee.0.00158d0002b02f86.double_click" not found (3)
                      2019-07-11 14:31:20.973  - warn: javascript.0     at Object.<anonymous> (script.js.Schalter_Tür_und_Bett:19:14)
                      2019-07-11 14:31:20.973  - warn: javascript.0     at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38)
                      2019-07-11 14:31:20.973  - warn: javascript.0     at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
                      2019-07-11 14:31:20.974  - warn: javascript.0     at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
                      2019-07-11 14:31:20.974  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
                      2019-07-11 14:31:20.974  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.974  - warn: javascript.0     at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
                      2019-07-11 14:31:20.974  - warn: javascript.0     at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
                      2019-07-11 14:31:20.974  - warn: javascript.0     at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.974  - warn: javascript.0     at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.974  - warn: javascript.0     at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
                      2019-07-11 14:31:20.974  - warn: javascript.0     at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.975  - warn: javascript.0     at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                      2019-07-11 14:31:20.975  - warn: javascript.0     at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                      2019-07-11 14:31:20.975  - warn: javascript.0     at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                      2019-07-11 14:31:20.975  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.975  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.975  - warn: javascript.0     at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                      2019-07-11 14:31:20.975  - warn: javascript.0     at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                      2019-07-11 14:31:20.975  - warn: javascript.0     at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.975  - warn: javascript.0     at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                      2019-07-11 14:31:20.976  - warn: javascript.0     at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
                      2019-07-11 14:31:20.976  - warn: javascript.0     at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
                      2019-07-11 14:31:20.976  - warn: javascript.0     at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
                      2019-07-11 14:31:20.976  - warn: javascript.0     at emitTwo (events.js:126:13)
                      2019-07-11 14:31:20.976  - warn: javascript.0     at WebSocket.emit (events.js:214:7)
                      2019-07-11 14:31:20.976  - warn: javascript.0     at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
                      2019-07-11 14:31:20.976  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
                      2019-07-11 14:31:20.976  - warn: javascript.0     at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
                      2019-07-11 14:31:20.977  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
                      2019-07-11 14:31:20.977  - warn: javascript.0     at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
                      2019-07-11 14:31:20.977  - warn: javascript.0     at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
                      2019-07-11 14:31:20.977  - warn: javascript.0     at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
                      2019-07-11 14:31:20.977  - warn: javascript.0     at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
                      2019-07-11 14:31:20.977  - warn: javascript.0     at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
                      2019-07-11 14:31:20.977  - warn: javascript.0     at emitOne (events.js:116:13)
                      2019-07-11 14:31:20.977  - warn: javascript.0     at Socket.emit (events.js:211:7)
                      2019-07-11 14:31:20.977  - warn: javascript.0     at addChunk (_stream_readable.js:263:12)
                      2019-07-11 14:31:20.978  - warn: javascript.0     at readableAddChunk (_stream_readable.js:250:11)
                      2019-07-11 14:31:20.978  - warn: javascript.0     at Socket.Readable.push (_stream_readable.js:208:10)
                      2019-07-11 14:31:20.978  - warn: javascript.0     at TCP.onread (net.js:601:20)
                      2019-07-11 14:31:20.978  - warn: javascript.0 getState "zigbee.0.00158d0002b02f86.triple_click" not found (3)
                      2019-07-11 14:31:20.981  - warn: javascript.0     at Object.<anonymous> (script.js.Schalter_Tür_und_Bett:22:14)
                      2019-07-11 14:31:20.981  - warn: javascript.0     at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38)
                      2019-07-11 14:31:20.981  - warn: javascript.0     at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
                      2019-07-11 14:31:20.982  - warn: javascript.0     at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
                      2019-07-11 14:31:20.982  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
                      2019-07-11 14:31:20.982  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.982  - warn: javascript.0     at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
                      2019-07-11 14:31:20.982  - warn: javascript.0     at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
                      2019-07-11 14:31:20.982  - warn: javascript.0     at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.982  - warn: javascript.0     at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.982  - warn: javascript.0     at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
                      2019-07-11 14:31:20.982  - warn: javascript.0     at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.983  - warn: javascript.0     at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                      2019-07-11 14:31:20.983  - warn: javascript.0     at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                      2019-07-11 14:31:20.983  - warn: javascript.0     at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                      2019-07-11 14:31:20.983  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.983  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.988  - warn: javascript.0     at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                      2019-07-11 14:31:20.988  - warn: javascript.0     at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                      2019-07-11 14:31:20.988  - warn: javascript.0     at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.988  - warn: javascript.0     at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                      2019-07-11 14:31:20.988  - warn: javascript.0     at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
                      2019-07-11 14:31:20.988  - warn: javascript.0     at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
                      2019-07-11 14:31:20.988  - warn: javascript.0     at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
                      2019-07-11 14:31:20.989  - warn: javascript.0     at emitTwo (events.js:126:13)
                      2019-07-11 14:31:20.989  - warn: javascript.0     at WebSocket.emit (events.js:214:7)
                      2019-07-11 14:31:20.989  - warn: javascript.0     at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
                      2019-07-11 14:31:20.989  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
                      2019-07-11 14:31:20.989  - warn: javascript.0     at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
                      2019-07-11 14:31:20.989  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
                      2019-07-11 14:31:20.989  - warn: javascript.0     at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
                      2019-07-11 14:31:20.989  - warn: javascript.0     at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
                      2019-07-11 14:31:20.989  - warn: javascript.0     at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
                      2019-07-11 14:31:20.990  - warn: javascript.0     at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
                      2019-07-11 14:31:20.990  - warn: javascript.0     at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
                      2019-07-11 14:31:20.990  - warn: javascript.0     at emitOne (events.js:116:13)
                      2019-07-11 14:31:20.990  - warn: javascript.0     at Socket.emit (events.js:211:7)
                      2019-07-11 14:31:20.990  - warn: javascript.0     at addChunk (_stream_readable.js:263:12)
                      2019-07-11 14:31:20.990  - warn: javascript.0     at readableAddChunk (_stream_readable.js:250:11)
                      2019-07-11 14:31:20.990  - warn: javascript.0     at Socket.Readable.push (_stream_readable.js:208:10)
                      2019-07-11 14:31:20.990  - warn: javascript.0     at TCP.onread (net.js:601:20)
                      2019-07-11 14:31:20.991  - warn: javascript.0 getState "zigbee.0.00158d0002b02f86.quad_click" not found (3)
                      2019-07-11 14:31:20.994  - warn: javascript.0     at Object.<anonymous> (script.js.Schalter_Tür_und_Bett:25:14)
                      2019-07-11 14:31:20.994  - warn: javascript.0     at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38)
                      2019-07-11 14:31:20.994  - warn: javascript.0     at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
                      2019-07-11 14:31:20.994  - warn: javascript.0     at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
                      2019-07-11 14:31:20.994  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
                      2019-07-11 14:31:20.994  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.995  - warn: javascript.0     at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
                      2019-07-11 14:31:20.995  - warn: javascript.0     at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
                      2019-07-11 14:31:20.995  - warn: javascript.0     at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.995  - warn: javascript.0     at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.995  - warn: javascript.0     at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
                      2019-07-11 14:31:20.995  - warn: javascript.0     at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.995  - warn: javascript.0     at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                      2019-07-11 14:31:20.995  - warn: javascript.0     at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                      2019-07-11 14:31:20.995  - warn: javascript.0     at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                      2019-07-11 14:31:20.996  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:20.996  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.996  - warn: javascript.0     at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                      2019-07-11 14:31:20.996  - warn: javascript.0     at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                      2019-07-11 14:31:20.996  - warn: javascript.0     at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:20.996  - warn: javascript.0     at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                      2019-07-11 14:31:20.996  - warn: javascript.0     at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
                      2019-07-11 14:31:20.996  - warn: javascript.0     at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
                      2019-07-11 14:31:20.997  - warn: javascript.0     at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
                      2019-07-11 14:31:20.997  - warn: javascript.0     at emitTwo (events.js:126:13)
                      2019-07-11 14:31:20.997  - warn: javascript.0     at WebSocket.emit (events.js:214:7)
                      2019-07-11 14:31:20.997  - warn: javascript.0     at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
                      2019-07-11 14:31:20.997  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
                      2019-07-11 14:31:20.997  - warn: javascript.0     at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
                      2019-07-11 14:31:20.997  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
                      2019-07-11 14:31:20.997  - warn: javascript.0     at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
                      2019-07-11 14:31:20.997  - warn: javascript.0     at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
                      2019-07-11 14:31:20.998  - warn: javascript.0     at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
                      2019-07-11 14:31:20.998  - warn: javascript.0     at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
                      2019-07-11 14:31:20.998  - warn: javascript.0     at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
                      2019-07-11 14:31:20.998  - warn: javascript.0     at emitOne (events.js:116:13)
                      2019-07-11 14:31:20.998  - warn: javascript.0     at Socket.emit (events.js:211:7)
                      2019-07-11 14:31:20.998  - warn: javascript.0     at addChunk (_stream_readable.js:263:12)
                      2019-07-11 14:31:20.998  - warn: javascript.0     at readableAddChunk (_stream_readable.js:250:11)
                      2019-07-11 14:31:20.998  - warn: javascript.0     at Socket.Readable.push (_stream_readable.js:208:10)
                      2019-07-11 14:31:20.998  - warn: javascript.0     at TCP.onread (net.js:601:20)
                      2019-07-11 14:31:20.999  - warn: javascript.0 getState "zigbee.0.00158d0002b02f86.many_click" not found (3)
                      2019-07-11 14:31:21.002  - warn: javascript.0     at Object.<anonymous> (script.js.Schalter_Tür_und_Bett:28:14)
                      2019-07-11 14:31:21.002  - warn: javascript.0     at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38)
                      2019-07-11 14:31:21.002  - warn: javascript.0     at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
                      2019-07-11 14:31:21.002  - warn: javascript.0     at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
                      2019-07-11 14:31:21.002  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
                      2019-07-11 14:31:21.002  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:21.003  - warn: javascript.0     at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
                      2019-07-11 14:31:21.003  - warn: javascript.0     at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
                      2019-07-11 14:31:21.003  - warn: javascript.0     at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:21.003  - warn: javascript.0     at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:21.003  - warn: javascript.0     at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
                      2019-07-11 14:31:21.003  - warn: javascript.0     at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:21.003  - warn: javascript.0     at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                      2019-07-11 14:31:21.003  - warn: javascript.0     at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                      2019-07-11 14:31:21.003  - warn: javascript.0     at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                      2019-07-11 14:31:21.004  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:21.004  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:21.004  - warn: javascript.0     at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                      2019-07-11 14:31:21.004  - warn: javascript.0     at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                      2019-07-11 14:31:21.004  - warn: javascript.0     at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:21.004  - warn: javascript.0     at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                      2019-07-11 14:31:21.004  - warn: javascript.0     at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
                      2019-07-11 14:31:21.004  - warn: javascript.0     at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
                      2019-07-11 14:31:21.004  - warn: javascript.0     at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
                      2019-07-11 14:31:21.005  - warn: javascript.0     at emitTwo (events.js:126:13)
                      2019-07-11 14:31:21.005  - warn: javascript.0     at WebSocket.emit (events.js:214:7)
                      2019-07-11 14:31:21.005  - warn: javascript.0     at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
                      2019-07-11 14:31:21.005  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
                      2019-07-11 14:31:21.005  - warn: javascript.0     at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
                      2019-07-11 14:31:21.005  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
                      2019-07-11 14:31:21.005  - warn: javascript.0     at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
                      2019-07-11 14:31:21.005  - warn: javascript.0     at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
                      2019-07-11 14:31:21.005  - warn: javascript.0     at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
                      2019-07-11 14:31:21.006  - warn: javascript.0     at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
                      2019-07-11 14:31:21.006  - warn: javascript.0     at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
                      2019-07-11 14:31:21.006  - warn: javascript.0     at emitOne (events.js:116:13)
                      2019-07-11 14:31:21.006  - warn: javascript.0     at Socket.emit (events.js:211:7)
                      2019-07-11 14:31:21.006  - warn: javascript.0     at addChunk (_stream_readable.js:263:12)
                      2019-07-11 14:31:21.006  - warn: javascript.0     at readableAddChunk (_stream_readable.js:250:11)
                      2019-07-11 14:31:21.006  - warn: javascript.0     at Socket.Readable.push (_stream_readable.js:208:10)
                      2019-07-11 14:31:21.006  - warn: javascript.0     at TCP.onread (net.js:601:20)
                      2019-07-11 14:31:21.007  - warn: javascript.0 getState "zigbee.0.00158d0002b02f86.long_click" not found (3)
                      2019-07-11 14:31:21.010  - warn: javascript.0     at Object.<anonymous> (script.js.Schalter_Tür_und_Bett:31:14)
                      2019-07-11 14:31:21.010  - warn: javascript.0     at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38)
                      2019-07-11 14:31:21.010  - warn: javascript.0     at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
                      2019-07-11 14:31:21.010  - warn: javascript.0     at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
                      2019-07-11 14:31:21.010  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
                      2019-07-11 14:31:21.010  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:21.011  - warn: javascript.0     at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
                      2019-07-11 14:31:21.011  - warn: javascript.0     at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
                      2019-07-11 14:31:21.011  - warn: javascript.0     at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:21.011  - warn: javascript.0     at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:21.011  - warn: javascript.0     at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
                      2019-07-11 14:31:21.011  - warn: javascript.0     at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:21.011  - warn: javascript.0     at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                      2019-07-11 14:31:21.011  - warn: javascript.0     at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                      2019-07-11 14:31:21.011  - warn: javascript.0     at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                      2019-07-11 14:31:21.012  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      2019-07-11 14:31:21.012  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:21.012  - warn: javascript.0     at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                      2019-07-11 14:31:21.012  - warn: javascript.0     at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                      2019-07-11 14:31:21.012  - warn: javascript.0     at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                      2019-07-11 14:31:21.012  - warn: javascript.0     at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                      2019-07-11 14:31:21.012  - warn: javascript.0     at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
                      2019-07-11 14:31:21.012  - warn: javascript.0     at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
                      2019-07-11 14:31:21.012  - warn: javascript.0     at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
                      2019-07-11 14:31:21.013  - warn: javascript.0     at emitTwo (events.js:126:13)
                      2019-07-11 14:31:21.013  - warn: javascript.0     at WebSocket.emit (events.js:214:7)
                      2019-07-11 14:31:21.013  - warn: javascript.0     at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
                      2019-07-11 14:31:21.013  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
                      2019-07-11 14:31:21.013  - warn: javascript.0     at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
                      2019-07-11 14:31:21.013  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
                      2019-07-11 14:31:21.013  - warn: javascript.0     at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
                      2019-07-11 14:31:21.013  - warn: javascript.0     at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
                      2019-07-11 14:31:21.013  - warn: javascript.0     at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
                      2019-07-11 14:31:21.014  - warn: javascript.0     at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
                      2019-07-11 14:31:21.014  - warn: javascript.0     at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
                      2019-07-11 14:31:21.014  - warn: javascript.0     at emitOne (events.js:116:13)
                      2019-07-11 14:31:21.014  - warn: javascript.0     at Socket.emit (events.js:211:7)
                      2019-07-11 14:31:21.014  - warn: javascript.0     at addChunk (_stream_readable.js:263:12)
                      2019-07-11 14:31:21.014  - warn: javascript.0     at readableAddChunk (_stream_readable.js:250:11)
                      2019-07-11 14:31:21.014  - warn: javascript.0     at Socket.Readable.push (_stream_readable.js:208:10)
                      2019-07-11 14:31:21.014  - warn: javascript.0     at TCP.onread (net.js:601:20)
                      2019-07-11 14:31:47.879  - info: host.ioBroker-Pi instance system.adapter.radar2.0 started with pid 26629
                      

                      Das kommt im log bei einem Klick

                      1 Antwort Letzte Antwort
                      0
                      • iomountainI iomountain

                        das letzte Script, das gekürzte und aufgeräumte, und was kommt im Log wenn du bei diesem einen Click machst?

                        Nito33N Offline
                        Nito33N Offline
                        Nito33
                        schrieb am zuletzt editiert von
                        #25

                        @iomountain ahh jetzt. hatte oben den Klick noch nicht ausgewählt. Also Licht an und aus funktioniert schon mal über einen einzelnen Klick. Super :D

                        1 Antwort Letzte Antwort
                        0
                        • iomountainI iomountain

                          @Noé1237
                          erst auf Spoiler drücken, dann auf Code, dann einfügen

                          hab's mal ein wenig gekürzt und aufgeräumt

                          <xml xmlns="http://www.w3.org/1999/xhtml">
                           <block type="comment" id="@cY?z8Mo[rp~6xjYRB9" x="788" y="-837">
                             <field name="COMMENT">Taster XIAOMI Nr. 3</field>
                             <next>
                               <block type="on_ext" id="IM=K$r`vCMSq5Ry?s:~7">
                                 <mutation items="3"></mutation>
                                 <field name="CONDITION">ne</field>
                                 <field name="ACK_CONDITION"></field>
                                 <value name="OID0">
                                   <shadow type="field_oid" id=")QiF{:XZIsphth0IP^H">
                                     <field name="oid">default</field>
                                   </shadow>
                                   <block type="field_oid" id="^ipDGr0w*ura!}49qCL#">
                                     <field name="oid">mihome.0.devices.switch_158d0001e5c139.click</field>
                                   </block>
                                 </value>
                                 <value name="OID1">
                                   <shadow type="field_oid" id="iaF=)P=-;PAAd,)/4%vi">
                                     <field name="oid">default</field>
                                   </shadow>
                                   <block type="field_oid" id="fJwFo$^m7N2ojv]3p/QM">
                                     <field name="oid">zigbee.0.00158d0002b02f86.double_click</field>
                                   </block>
                                 </value>
                                 <value name="OID2">
                                   <shadow type="field_oid" id="^US+uZxi^vOuQI|KuALq">
                                     <field name="oid">default</field>
                                   </shadow>
                                   <block type="field_oid" id="Qh2HV$lcJ,ank8t8VYl|">
                                     <field name="oid">zigbee.0.00158d0002b02f86.long_click</field>
                                   </block>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="debug" id="eMyo{0+~BA^+F_j)nF!q">
                                     <field name="Severity">log</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="aEIbF.mX|@FSE)x~u`Pc">
                                         <field name="TEXT">es wurde geklickt</field>
                                       </shadow>
                                     </value>
                                     <next>
                                       <block type="controls_if" id="LwYwYyELzNmNsP12(PJ9">
                                         <mutation elseif="2"></mutation>
                                         <value name="IF0">
                                           <block type="logic_compare" id="oY/OwE$,$:B-LaqyH+uG">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="Y]Shb09a[-~$9jg9CvFp">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">zigbee.0.00158d0002b02f86.click</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="!Nsd[-FkW{f-Tafh(di?">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="debug" id="`L|)(C=-?JEKZQ=/y_p3">
                                             <field name="Severity">log</field>
                                             <value name="TEXT">
                                               <shadow type="text" id="{9ywGmI{lky~86n;CK;M">
                                                 <field name="TEXT">simple click</field>
                                               </shadow>
                                             </value>
                                             <next>
                                               <block type="comment" id="84wWuU*|2E#eVDJ[;xSq">
                                                 <field name="COMMENT">je nach click</field>
                                                 <next>
                                                   <block type="controls_if" id="cI_ZQ:;t@XJ.sKY,duG{">
                                                     <mutation else="1"></mutation>
                                                     <value name="IF0">
                                                       <block type="logic_compare" id="447cil7dkU}qdikEWF{o">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="get_value" id="j}kI`?]x)Voq(g2^Deg`">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">sonoff.0.Licht.POWER</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_boolean" id="+]Ky-zdx$#O7G75!3nmC">
                                                             <field name="BOOL">TRUE</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="comment" id="Ui*|-IIZkk~5qp]Sh{iC">
                                                         <field name="COMMENT">Wenn eine Lampe an dann alle aus</field>
                                                         <next>
                                                           <block type="debug" id="MYATXbE=nd]`P]]#|cWS">
                                                             <field name="Severity">log</field>
                                                             <value name="TEXT">
                                                               <shadow type="text" id="-jjSMw/F|x(P^.`}y_+8">
                                                                 <field name="TEXT">ausschalten</field>
                                                               </shadow>
                                                             </value>
                                                             <next>
                                                               <block type="control" id="s^37|2Q;*n^+1Su)jr2z">
                                                                 <mutation delay_input="false"></mutation>
                                                                 <field name="OID">sonoff.0.Licht.POWER</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="logic_boolean" id="X6hC`)c~pbK95M;IEo8w">
                                                                     <field name="BOOL">FALSE</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                     <statement name="ELSE">
                                                       <block type="comment" id="3XBp0.uai|Z,MxtnS79B">
                                                         <field name="COMMENT">Sonst lampe an</field>
                                                         <next>
                                                           <block type="debug" id="~88$c[[;d*mtS/?zDuZ}">
                                                             <field name="Severity">log</field>
                                                             <value name="TEXT">
                                                               <shadow type="text" id="KFK}kt7RygKz6PX7(H+a">
                                                                 <field name="TEXT">einschalten</field>
                                                               </shadow>
                                                             </value>
                                                             <next>
                                                               <block type="comment" id="#w=#88#QYefI9D=uW$12">
                                                                 <field name="COMMENT">Objekt schalten, bitte anpassen</field>
                                                                 <next>
                                                                   <block type="control" id=".bhIw.73p9H[$2iZ,pil">
                                                                     <mutation delay_input="false"></mutation>
                                                                     <field name="OID">sonoff.0.Licht.POWER</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="logic_boolean" id="atYDubn5(IL[[E?W[=.f">
                                                                         <field name="BOOL">TRUE</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                         <value name="IF1">
                                           <block type="logic_compare" id="?y[}1Aa[MJMYV]rNUt6B">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="RW~%WAZEGn:M5I=~{nRf">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">zigbee.0.00158d0002b02f86.double_click</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="v4yf~+u+*SQ(Bnr^0dWO">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO1">
                                           <block type="debug" id="FKC@ddUdUG._U.3*PW%u">
                                             <field name="Severity">log</field>
                                             <value name="TEXT">
                                               <shadow type="text" id="QIHNuvl;%2Ko|N^xigHb">
                                                 <field name="TEXT">double click</field>
                                               </shadow>
                                             </value>
                                             <next>
                                               <block type="comment" id="-Gm=B3%WG4-0.ShL9sC8">
                                                 <field name="COMMENT">je nach click</field>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                         <value name="IF2">
                                           <block type="logic_compare" id="q_b/zN!56q)s0J8+Yjos">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="get_value" id="/K{7E}+T7K$})pS6=2md">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">zigbee.0.00158d0002b02f86.long_click</field>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_boolean" id="EG?~N7wx*d-optI47WLe">
                                                 <field name="BOOL">TRUE</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO2">
                                           <block type="debug" id="t1[K}FImd-EU6r@$-Ok*">
                                             <field name="Severity">log</field>
                                             <value name="TEXT">
                                               <shadow type="text" id="p:D!*b]*bXZ`-i%bu/H=">
                                                 <field name="TEXT">lang click</field>
                                               </shadow>
                                             </value>
                                             <next>
                                               <block type="comment" id="%zhWT=pM5@yWuU2aBQ)#">
                                                 <field name="COMMENT">je nach click</field>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                          </xml>
                          

                          iomountainI Offline
                          iomountainI Offline
                          iomountain
                          schrieb am zuletzt editiert von
                          #26

                          auch verstanden? dann das gleiche bei double click und long click

                          Nito33N 2 Antworten Letzte Antwort
                          0
                          • iomountainI iomountain

                            auch verstanden? dann das gleiche bei double click und long click

                            Nito33N Offline
                            Nito33N Offline
                            Nito33
                            schrieb am zuletzt editiert von
                            #27

                            @iomountain mehr oder weniger ja. Das muss ich ja dann nur noch unten einfügen richtig? Setzt mich später noch mal ran und probiere alles einzusetzen. Das gleiche mache ich dann noch mal in einem anderen Script für den anderen Schalter oder?
                            Noch eine kurze frage, du hast ja den Zigbee Stick. Ich nutze aktuell das Xiaomi gateway welche vorteile hat der Stick denn? Habe nämlich auch einen hier liegen aber es gibt doch keine Unterschiede oder?

                            1 Antwort Letzte Antwort
                            0
                            • iomountainI iomountain

                              auch verstanden? dann das gleiche bei double click und long click

                              Nito33N Offline
                              Nito33N Offline
                              Nito33
                              schrieb am zuletzt editiert von
                              #28

                              @iomountain Wie muss das ganze denn für eine Szene von dem Harmony hub aussehen? Dort gibt es 0,1,2,3 und nicht nur wahr und falsch. 1=Schaltet gerade an, 2=an, 3=Schaltet gerade aus und 0=aus. Möchte mit dem Long Klick ein und aus schalten.

                              iomountainI 1 Antwort Letzte Antwort
                              0
                              • iomountainI Offline
                                iomountainI Offline
                                iomountain
                                schrieb am zuletzt editiert von
                                #29

                                @Noé1237
                                das was jetzt in der "Klammer" falls steht muss so ähnlich bei den "sonst falls" stehen.
                                Anderer Schalter neues Script, muss nicht aber macht es übersichtlicher.
                                Zigbee Stick oder Xiaomi gateway. Zigbee war günstiger und funktioniert ohne App und nachause telefonieren.
                                Würde aber jetzt keine Glaubensfrage daraus machen. Kenne das Xiaomi gateway nicht, musst mal das Forum durchsuchen.
                                Glückwunsch zu deinem ersten Script, viel Spaß noch.
                                Bei Fragen: dafür ist das Forum da.

                                1 Antwort Letzte Antwort
                                0
                                • Nito33N Nito33

                                  @iomountain Wie muss das ganze denn für eine Szene von dem Harmony hub aussehen? Dort gibt es 0,1,2,3 und nicht nur wahr und falsch. 1=Schaltet gerade an, 2=an, 3=Schaltet gerade aus und 0=aus. Möchte mit dem Long Klick ein und aus schalten.

                                  iomountainI Offline
                                  iomountainI Offline
                                  iomountain
                                  schrieb am zuletzt editiert von
                                  #30

                                  @Noé1237 sagte in Script Hilfe licht über Xiaomi Switch anschalten.:

                                  @iomountain Wie muss das ganze denn für eine Szene von dem Harmony hub aussehen? Dort gibt es 0,1,2,3 und nicht nur wahr und falsch. 1=Schaltet gerade an, 2=an, 3=Schaltet gerade aus und 0=aus. Möchte mit dem Long Klick ein und aus schalten.

                                  Harmony hub kenn ich nicht, aber anstatt wahr und falsch kannst du auch Zahlen übergeben:
                                  e8394485-473d-4d17-91db-ee39ff39edd8-image.png
                                  immer viele Debug Bausteine reinmachen dann siehst du im Log was passiert :)

                                  Nito33N 2 Antworten Letzte Antwort
                                  0
                                  • iomountainI iomountain

                                    @Noé1237 sagte in Script Hilfe licht über Xiaomi Switch anschalten.:

                                    @iomountain Wie muss das ganze denn für eine Szene von dem Harmony hub aussehen? Dort gibt es 0,1,2,3 und nicht nur wahr und falsch. 1=Schaltet gerade an, 2=an, 3=Schaltet gerade aus und 0=aus. Möchte mit dem Long Klick ein und aus schalten.

                                    Harmony hub kenn ich nicht, aber anstatt wahr und falsch kannst du auch Zahlen übergeben:
                                    e8394485-473d-4d17-91db-ee39ff39edd8-image.png
                                    immer viele Debug Bausteine reinmachen dann siehst du im Log was passiert :)

                                    Nito33N Offline
                                    Nito33N Offline
                                    Nito33
                                    schrieb am zuletzt editiert von
                                    #31

                                    @iomountain Opera Momentaufnahme_2019-07-11_162015_192.168.178.93.png

                                    So habe ich es jetzt aktuell aber da funktioniert nichts...wie mache ich denn jetzt oben die abfrage? Im prinzip müsste er doch abfragen ob der Status auf o=aus oder auf 2=an ist oder?

                                    1 Antwort Letzte Antwort
                                    0
                                    • iomountainI iomountain

                                      @Noé1237 sagte in Script Hilfe licht über Xiaomi Switch anschalten.:

                                      @iomountain Wie muss das ganze denn für eine Szene von dem Harmony hub aussehen? Dort gibt es 0,1,2,3 und nicht nur wahr und falsch. 1=Schaltet gerade an, 2=an, 3=Schaltet gerade aus und 0=aus. Möchte mit dem Long Klick ein und aus schalten.

                                      Harmony hub kenn ich nicht, aber anstatt wahr und falsch kannst du auch Zahlen übergeben:
                                      e8394485-473d-4d17-91db-ee39ff39edd8-image.png
                                      immer viele Debug Bausteine reinmachen dann siehst du im Log was passiert :)

                                      Nito33N Offline
                                      Nito33N Offline
                                      Nito33
                                      schrieb am zuletzt editiert von
                                      #32

                                      @iomountain

                                      2019-07-11 16:28:54.745  - warn: javascript.0 Wrong type of harmony.0.Harmony_Hub.activities.Fire_TV_sehen: "boolean". Please fix, while deprecated and will not work in next versions.
                                      2019-07-11 16:28:54.748  - warn: javascript.0     at setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1258:20)
                                      2019-07-11 16:28:54.749  - warn: javascript.0     at Object.<anonymous> (script.js.Schalter_Bett:46:7)
                                      2019-07-11 16:28:54.749  - warn: javascript.0     at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:963:38)
                                      2019-07-11 16:28:54.749  - warn: javascript.0     at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:364:25)
                                      2019-07-11 16:28:54.749  - warn: javascript.0     at Object.change (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3705:37)
                                      2019-07-11 16:28:54.749  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/states/statesInMemClient.js:52:30)
                                      2019-07-11 16:28:54.749  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                                      2019-07-11 16:28:54.750  - warn: javascript.0     at Socket.onevent (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:270:10)
                                      2019-07-11 16:28:54.750  - warn: javascript.0     at Socket.onpacket (/opt/iobroker/node_modules/socket.io-client/lib/socket.js:228:12)
                                      2019-07-11 16:28:54.750  - warn: javascript.0     at Manager.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                      2019-07-11 16:28:54.750  - warn: javascript.0     at Manager.Emitter.emit (/opt/iobroker/node_modules/socket.io-client/node_modules/component-emitter/index.js:133:20)
                                      2019-07-11 16:28:54.750  - warn: javascript.0     at Manager.ondecoded (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:332:8)
                                      2019-07-11 16:28:54.750  - warn: javascript.0     at Decoder.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                      2019-07-11 16:28:54.750  - warn: javascript.0     at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                                      2019-07-11 16:28:54.750  - warn: javascript.0     at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                                      2019-07-11 16:28:54.751  - warn: javascript.0     at Manager.ondata (/opt/iobroker/node_modules/socket.io-client/lib/manager.js:322:16)
                                      2019-07-11 16:28:54.751  - warn: javascript.0     at Socket.<anonymous> (/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                      2019-07-11 16:28:54.751  - warn: javascript.0     at Socket.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                                      2019-07-11 16:28:54.751  - warn: javascript.0     at Socket.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:451:14)
                                      2019-07-11 16:28:54.751  - warn: javascript.0     at WS.<anonymous> (/opt/iobroker/node_modules/engine.io-client/lib/socket.js:268:10)
                                      2019-07-11 16:28:54.751  - warn: javascript.0     at WS.Emitter.emit (/opt/iobroker/node_modules/engine.io-client/node_modules/component-emitter/index.js:133:20)
                                      2019-07-11 16:28:54.751  - warn: javascript.0     at WS.Transport.onPacket (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:145:8)
                                      2019-07-11 16:28:54.751  - warn: javascript.0     at WS.Transport.onData (/opt/iobroker/node_modules/engine.io-client/lib/transport.js:137:8)
                                      2019-07-11 16:28:54.752  - warn: javascript.0     at WebSocket.ws.onmessage (/opt/iobroker/node_modules/engine.io-client/lib/transports/websocket.js:146:10)
                                      2019-07-11 16:28:54.752  - warn: javascript.0     at WebSocket.onMessage (/opt/iobroker/node_modules/ws/lib/WebSocket.js:442:14)
                                      2019-07-11 16:28:54.752  - warn: javascript.0     at emitTwo (events.js:126:13)
                                      2019-07-11 16:28:54.752  - warn: javascript.0     at WebSocket.emit (events.js:214:7)
                                      2019-07-11 16:28:54.752  - warn: javascript.0     at Receiver.ontext (/opt/iobroker/node_modules/ws/lib/WebSocket.js:841:10)
                                      2019-07-11 16:28:54.752  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:536:18
                                      2019-07-11 16:28:54.752  - warn: javascript.0     at Receiver.applyExtensions (/opt/iobroker/node_modules/ws/lib/Receiver.js:371:5)
                                      2019-07-11 16:28:54.752  - warn: javascript.0     at /opt/iobroker/node_modules/ws/lib/Receiver.js:508:14
                                      2019-07-11 16:28:54.753  - warn: javascript.0     at Receiver.flush (/opt/iobroker/node_modules/ws/lib/Receiver.js:347:3)
                                      2019-07-11 16:28:54.753  - warn: javascript.0     at Receiver.finish (/opt/iobroker/node_modules/ws/lib/Receiver.js:541:12)
                                      2019-07-11 16:28:54.753  - warn: javascript.0     at Receiver.expectHandler (/opt/iobroker/node_modules/ws/lib/Receiver.js:499:31)
                                      2019-07-11 16:28:54.753  - warn: javascript.0     at Receiver.add (/opt/iobroker/node_modules/ws/lib/Receiver.js:103:24)
                                      2019-07-11 16:28:54.753  - warn: javascript.0     at Socket.realHandler (/opt/iobroker/node_modules/ws/lib/WebSocket.js:825:20)
                                      2019-07-11 16:28:54.753  - warn: javascript.0     at emitOne (events.js:116:13)
                                      2019-07-11 16:28:54.753  - warn: javascript.0     at Socket.emit (events.js:211:7)
                                      2019-07-11 16:28:54.754  - warn: javascript.0     at addChunk (_stream_readable.js:263:12)
                                      2019-07-11 16:28:54.754  - warn: javascript.0     at readableAddChunk (_stream_readable.js:250:11)
                                      2019-07-11 16:28:54.754  - warn: javascript.0     at Socket.Readable.push (_stream_readable.js:208:10)
                                      2019-07-11 16:28:54.754  - warn: javascript.0     at TCP.onread (net.js:601:20)
                                      2019-07-11 16:29:00.030  - info: host.ioBroker-Pi instance system.adapter.yr.0 started with pid 6929
                                      2019-07-11 16:29:00.062  - info: host.ioBroker-Pi instance system.adapter.weatherunderground.0 started with pid 6934
                                      2019-07-11 16:29:01.686  - info: yr.0 starting. Version 2.0.3 in /opt/iobroker/node_modules/iobroker.yr, node: v8.16.0
                                      2019-07-11 16:29:02.093  - info: yr.0 got weather data from yr.no
                                      2019-07-11 16:29:02.112  - info: weatherunderground.0 starting. Version 3.0.12 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v8.16.0
                                      2019-07-11 16:29:03.341  - info: host.ioBroker-Pi instance system.adapter.radar2.0 started with pid 6957
                                      2019-07-11 16:29:05.178  - info: radar2.0 starting. Version 1.0.7 in /opt/iobroker/node_modules/iobroker.radar2, node: v8.16.0
                                      2019-07-11 16:29:05.432  - info: radar2.0 radar2 initialization started...
                                      2019-07-11 16:29:05.455  - info: radar2.0 net-ping not available! Will try to use normal ping!
                                      2019-07-11 16:29:05.693  - error: radar2.0 uncaught exception: bind EACCES 0.0.0.0:67
                                      2019-07-11 16:29:05.693  - error: radar2.0 Error: bind EACCES 0.0.0.0:67
                                          at _handle.lookup (dgram.js:266:18)
                                          at _combinedTickCallback (internal/process/next_tick.js:142:11)
                                          at process._tickCallback (internal/process/next_tick.js:181:9)
                                      2019-07-11 16:29:05.696  - info: radar2.0 Adapter disconnected and stopped with dostop(false) and callback(true)
                                      2019-07-11 16:29:05.948  - info: host.ioBroker-Pi instance system.adapter.weatherunderground.0 terminated with code 0 (OK)
                                      2019-07-11 16:29:06.138  - error: Caught by controller[0]: { Error: bind EACCES 0.0.0.0:67
                                      2019-07-11 16:29:06.139  - error: Caught by controller[0]:     at _handle.lookup (dgram.js:266:18)
                                      2019-07-11 16:29:06.139  - error: Caught by controller[0]:     at _combinedTickCallback (internal/process/next_tick.js:142:11)
                                      2019-07-11 16:29:06.139  - error: Caught by controller[0]:     at process._tickCallback (internal/process/next_tick.js:181:9)
                                      2019-07-11 16:29:06.139  - error: Caught by controller[0]:   errno: 'EACCES',
                                      2019-07-11 16:29:06.139  - error: Caught by controller[0]:   code: 'EACCES',
                                      2019-07-11 16:29:06.139  - error: Caught by controller[0]:   syscall: 'bind',
                                      2019-07-11 16:29:06.139  - error: Caught by controller[0]:   address: '0.0.0.0',
                                      2019-07-11 16:29:06.139  - error: Caught by controller[0]:   port: 67 }
                                      2019-07-11 16:29:06.139  - error: host.ioBroker-Pi instance system.adapter.radar2.0 terminated with code 0 (OK)
                                      2019-07-11 16:29:06.140  - info: host.ioBroker-Pi Restart adapter system.adapter.radar2.0 because enabled
                                      2019-07-11 16:29:07.627  - error: rpi2.0 No Value found for cpu_frequency
                                      2019-07-11 16:29:07.932  - info: host.ioBroker-Pi instance system.adapter.yr.0 terminated with code 0 (OK)
                                      

                                      das kommt dann wenn ich länger Drücke

                                      1 Antwort Letzte Antwort
                                      0
                                      • iomountainI Offline
                                        iomountainI Offline
                                        iomountain
                                        schrieb am zuletzt editiert von
                                        #33

                                        Ich glaube das script läuft gar nicht!

                                        3586f99c-d723-47aa-a38f-b40f716b969b-image.png

                                        Harmony hub kenn ich nicht aber entweder 2 oder auf wahr, kann mir nicht vorstellen das beides so kurz hintereinander richtig ist.
                                        Das gekürzte aufgeräumte Script willst du nicht nehmen um daran weiterzuarbeiten?

                                        Nito33N 2 Antworten Letzte Antwort
                                        0
                                        • iomountainI iomountain

                                          Ich glaube das script läuft gar nicht!

                                          3586f99c-d723-47aa-a38f-b40f716b969b-image.png

                                          Harmony hub kenn ich nicht aber entweder 2 oder auf wahr, kann mir nicht vorstellen das beides so kurz hintereinander richtig ist.
                                          Das gekürzte aufgeräumte Script willst du nicht nehmen um daran weiterzuarbeiten?

                                          Nito33N Offline
                                          Nito33N Offline
                                          Nito33
                                          schrieb am zuletzt editiert von
                                          #34

                                          @iomountain Script läuft. Der einzelne Klick und Doppel Klick funktioniert ja auch und es ist das gleiche Script. Das gekürze sit ja ziemlich das gleiche, das nutze ich dann später wenn ich etwas aufräume. Also wenn ich unten unter "Objekt schalten, bitte anpassen " mit 0 steuere geht er an und sofort aus. Wenn ich 2 nutze geht er nicht an. Ich glaube es muss dafür noch irgendwas eingefügt werden. Aber müsste es im prinzip nicht das gleiche wie wahr und falsch sein nur in zahlen? Also 0 für falsch und 2 für wahr?

                                          FredFF 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          751

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          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