Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Javascript "offline" bearbeiten? Cannot extract blockly Code

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    UNSOLVED Javascript "offline" bearbeiten? Cannot extract blockly Code

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      fastfoot @FredF last edited by fastfoot

      @FredF sagte in Javascript "offline" bearbeiten? Cannot extract blockly Code:

      Ok, here we go:

      Nur das Extract.xml zu posten wäre einfacher gewesen, dafür hatte ich es eingebaut! Ansonsten lässt es sich hier einwandfrei importieren
      hast du evtl. Sayit deinstalliert?
      EDIT: Sehe einen Zugriffsfehler, keine Ahnung wo er das hinspeichern will, bei mir ist es in /opt/iobroker/Extract.xml und funktioniert fehlerfrei. Evtl diesen Pfad im Skript mit angeben

      <xml xmlns="https://developers.google.com/blockly/xml">
       <variables>
         <variable type="timeout" id="timeout2">timeout2</variable>
         <variable id="$|!jl/IVPxPD7os{bUF0">On call states</variable>
         <variable id="R97@DNx5)1p-;DGYNA51">callerName</variable>
         <variable id="]B2S|~qR_@_DvmgT=A|`">caller</variable>
         <variable id="~umLzSCntoH{WDMF/Z^d">speak</variable>
         <variable type="interval" id="Intervall">Intervall</variable>
       </variables>
       <block type="on" id="h;7+(=CcPI7MSx+?g|*5" x="-287" y="-162">
         <field name="OID">tr-064.0.callmonitor.ringing</field>
         <field name="CONDITION">true</field>
         <field name="ACK_CONDITION"></field>
         <statement name="STATEMENT">
           <block type="controls_if" id="jz~%.(W!P/=?kTV_ku7]">
             <value name="IF0">
               <block type="logic_operation" id="p+Rv=XLyk[PpNmYm88(z" inline="false">
                 <field name="OP">AND</field>
                 <value name="A">
                   <block type="logic_compare" id="5]rou1/.eV:{uyoJ9WBi">
                     <field name="OP">EQ</field>
                     <value name="A">
                       <block type="get_value" id="J3ftE-m#-F!zV++dAb5_">
                         <field name="ATTR">val</field>
                         <field name="OID">tr-064.0.callmonitor.toPauseState</field>
                       </block>
                     </value>
                     <value name="B">
                       <block type="text" id="WOlt|:!)g--Ht(ne(RX1">
                         <field name="TEXT">ring</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <value name="B">
                   <block type="logic_operation" id="X;xkeQ39+D1j,wX,pXD6" inline="false">
                     <field name="OP">AND</field>
                     <value name="A">
                       <block type="logic_compare" id="q36Y[Ma1J.3Wn=mkqejY">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="6xifx8Ir8RqCE2eBVJ|B">
                             <field name="ATTR">val</field>
                             <field name="OID">tr-064.0.callmonitor.inbound.callee</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="[NuXwH3N,EOdED0aI(=J">
                             <field name="TEXT">63137</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="`UqI!:m_^^=^0TYkSO3t">
                         <field name="OP">NEQ</field>
                         <value name="A">
                           <block type="get_value" id="s17[[A.oW~Djtu7hZLUI">
                             <field name="ATTR">val</field>
                             <field name="OID">tr-064.0.callmonitor.toPauseState</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="D!deO.d!5`%@g5G~]z-;">
                             <field name="TEXT">connect</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
               </block>
             </value>
             <statement name="DO0">
               <block type="control" id="!!)wau^#;U[deu~=C=}9">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                 <field name="OID">alexa2.0.Echo-Devices.90F0081872120CJG.Commands.speak-volume</field>
                 <field name="WITH_DELAY">FALSE</field>
                 <value name="VALUE">
                   <block type="math_number" id=";REH!Thb9.7it+n2]8);">
                     <field name="NUM">30</field>
                   </block>
                 </value>
                 <next>
                   <block type="control" id="4x^|j5L+~zKjclUh|yOX">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                     <field name="OID">alexa2.0.Echo-Devices.G090LF1072370HP0.Commands.speak-volume</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="math_number" id=".-%.T_Au!3IGNY(QB,yv">
                         <field name="NUM">40</field>
                       </block>
                     </value>
                     <next>
                       <block type="control" id="Nyh7Me~]~-V].8u/G1fS" disabled="true">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">sonos.0.root.192_168_10_32.volume</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="math_number" id=":2H4_Q@f?-mO58@-|0TO">
                             <field name="NUM">20</field>
                           </block>
                         </value>
                         <next>
                           <block type="timeouts_settimeout" id="0m=,:GR8{?L9Avi*a4HL">
                             <field name="NAME">timeout2</field>
                             <field name="DELAY">1000</field>
                             <field name="UNIT">ms</field>
                             <statement name="STATEMENT">
                               <block type="variables_set" id="%Ycmv?OF4|eO*QfNJN8u">
                                 <field name="VAR" id="$|!jl/IVPxPD7os{bUF0">On call states</field>
                                 <value name="VALUE">
                                   <block type="get_value" id="AyC{YRMU{])q?~ypw3y[">
                                     <field name="ATTR">val</field>
                                     <field name="OID">tr-064.0.callmonitor.toPauseState</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="xB6cV72gaYVd}tJ|F/F~">
                                     <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                     <value name="VALUE">
                                       <block type="get_value" id="@;dhLD{-*)CBugUX1[m,">
                                         <field name="ATTR">val</field>
                                         <field name="OID">tr-064.0.callmonitor.inbound.callerName</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="variables_set" id="/L3R.Y}[XtLEpMkf.gZq">
                                         <field name="VAR" id="]B2S|~qR_@_DvmgT=A|`">caller</field>
                                         <value name="VALUE">
                                           <block type="get_value" id="kE7M[g57URvf%%O3C]%T">
                                             <field name="ATTR">val</field>
                                             <field name="OID">tr-064.0.callmonitor.inbound.caller</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="pEY@ZP|b*bR3rpdEUfG:">
                                             <field name="VAR" id="~umLzSCntoH{WDMF/Z^d">speak</field>
                                             <value name="VALUE">
                                               <block type="get_value" id="2c;4UMfU4.ij*hm}?Btn">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">alexa2.0.Echo-Devices.G090LF1072370HP0.Commands.speak</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="controls_if" id="qWhnWk.9%-W7`Ll-9Oia">
                                                 <mutation elseif="2"></mutation>
                                                 <value name="IF0">
                                                   <block type="logic_operation" id="2R93jg?p}dgZfWDQu(=N">
                                                     <field name="OP">AND</field>
                                                     <value name="A">
                                                       <block type="logic_compare" id="w?Y@t3ad/lfjM.AEPJ9|">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="variables_get" id="`S-*DoS|%=MTavNbqu3N">
                                                             <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="text" id="l6GW=4LEvh:Uhk/=-WI/">
                                                             <field name="TEXT"></field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="logic_compare" id="3{6|M/I`cRN#o6ew4o]P">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="variables_get" id="w,Vj)e0MR#;:IH6x`j7r">
                                                             <field name="VAR" id="]B2S|~qR_@_DvmgT=A|`">caller</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="text" id=")2-LlV1(xiY??#tVSG-%">
                                                             <field name="TEXT"></field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="control" id="c)g3y.{=8ObMYgm0sFq}">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090LF1072370HP0.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="text" id="_Pf|e@+:q+tMM?+PMXUH">
                                                         <field name="TEXT">Ein Anruf von Unbekannt</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="yf=@uOr35im3,j6EF/nU">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">alexa2.0.Echo-Devices.90F0081872120CJG.Commands.speak</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="text" id="6QapUL?XG/|xh}Q+[4_c">
                                                             <field name="TEXT">Ein Anruf von Unbekannt</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="comment" id="UrdqdI-69lV,.SmkkRYN">
                                                             <field name="COMMENT">Küche</field>
                                                             <next>
                                                               <block type="sayit" id="pDRa,2=^=DjSJ-B!vhGc" disabled="true">
                                                                 <field name="INSTANCE">.0</field>
                                                                 <field name="LANGUAGE">de</field>
                                                                 <field name="LOG"></field>
                                                                 <value name="MESSAGE">
                                                                   <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="d+a.M*t0?;9IS-RK[51_">
                                                                     <field name="TEXT">text</field>
                                                                   </shadow>
                                                                   <block type="text" id="ASp+ukZh@YR4,#.5r~}x">
                                                                     <field name="TEXT">Ein Anruf von Unbekannt</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                                 <value name="IF1">
                                                   <block type="logic_compare" id="Id8Pm4pTL~6rzUGpO[PQ">
                                                     <field name="OP">EQ</field>
                                                     <value name="A">
                                                       <block type="variables_get" id="U;u}p|tsVd5eMZQa3`]o">
                                                         <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="Wt#uS@Wsw.?FfZ32AYcr">
                                                         <field name="TEXT"></field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO1">
                                                   <block type="control" id="Wty@g,._hakP}soG,!BL" disabled="true">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090LF1072370HP0.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="text_join" id="QP{M%./pXqHK-KH6x1kZ" collapsed="true">
                                                         <mutation items="2"></mutation>
                                                         <value name="ADD0">
                                                           <block type="text" id="T5}o)6gK`w@bN3QK]3L_">
                                                             <field name="TEXT">Ein Anruf von </field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD1">
                                                           <block type="variables_get" id="_TuM|se4Lr6^68!bx{Du">
                                                             <field name="VAR" id="]B2S|~qR_@_DvmgT=A|`">caller</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="lLh)lAB{9=iYjH)_7qcg" disabled="true">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">alexa2.0.Echo-Devices.90F0081872120CJG.Commands.speak</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="text_join" id="%8:Z.IizcaK7fYD@KRX,">
                                                             <mutation items="2"></mutation>
                                                             <value name="ADD0">
                                                               <block type="text" id="}WJNgWJsh~;B3?LE(a=i">
                                                                 <field name="TEXT">Ein Anruf von </field>
                                                               </block>
                                                             </value>
                                                             <value name="ADD1">
                                                               <block type="variables_get" id="Ehb[j2iKz8wI.FIz4-c)">
                                                                 <field name="VAR" id="]B2S|~qR_@_DvmgT=A|`">caller</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="sayit" id="Ryo^71PvKcN,=Uq?*m;z" disabled="true">
                                                             <field name="INSTANCE">.0</field>
                                                             <field name="LANGUAGE">de</field>
                                                             <field name="LOG"></field>
                                                             <value name="MESSAGE">
                                                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="d+a.M*t0?;9IS-RK[51_">
                                                                 <field name="TEXT">text</field>
                                                               </shadow>
                                                               <block type="text_join" id="toKs:Lag)r-zFOx[T%Hn">
                                                                 <mutation items="2"></mutation>
                                                                 <value name="ADD0">
                                                                   <block type="text" id="s8%?fQdZZe.L.KYKLLW=">
                                                                     <field name="TEXT">Ein Anruf von </field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD1">
                                                                   <block type="variables_get" id="Z9r=HQ0).}).ddX/BD5Z">
                                                                     <field name="VAR" id="]B2S|~qR_@_DvmgT=A|`">caller</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                                 <value name="IF2">
                                                   <block type="logic_compare" id=".SPH-wnl,Ggyv^K(EB?5">
                                                     <field name="OP">NEQ</field>
                                                     <value name="A">
                                                       <block type="variables_get" id="FNC7Ui|N(XQL_r3vQ-~u">
                                                         <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="text" id="?7c}zrB02lQ@}_kYT01=">
                                                         <field name="TEXT"></field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO2">
                                                   <block type="control" id="dkpf|36YXjYE;I#=E{/j">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                     <field name="OID">alexa2.0.Echo-Devices.G090LF1072370HP0.Commands.speak</field>
                                                     <field name="WITH_DELAY">FALSE</field>
                                                     <value name="VALUE">
                                                       <block type="text_join" id="[J5,Xv05{NVoesX?X{)^">
                                                         <mutation items="2"></mutation>
                                                         <value name="ADD0">
                                                           <block type="text" id="TsxCXnXUiJWE5+hzN?W4">
                                                             <field name="TEXT">Ein Anruf von </field>
                                                           </block>
                                                         </value>
                                                         <value name="ADD1">
                                                           <block type="variables_get" id="JTv1,B#9IQ.6WXs~BiC^">
                                                             <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="control" id="#XM%i7{Q_%/]:xD){VLk">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">alexa2.0.Echo-Devices.90F0081872120CJG.Commands.speak</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="text_join" id="LG~ZTlNGtM)2geWXNN`E">
                                                             <mutation items="2"></mutation>
                                                             <value name="ADD0">
                                                               <block type="text" id="-]/9(^]VPg!dd9)dvvgq">
                                                                 <field name="TEXT">Ein Anruf von </field>
                                                               </block>
                                                             </value>
                                                             <value name="ADD1">
                                                               <block type="variables_get" id="@`6#eQQdK~LN+S%(:(`Z">
                                                                 <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="comment" id="HF8WEd|*:o=,l!jU^Eu,">
                                                             <field name="COMMENT">Küche Sonos</field>
                                                             <next>
                                                               <block type="sayit" id="K1cEeh|J9b{Eu]lIM0Np">
                                                                 <field name="INSTANCE">.0</field>
                                                                 <field name="LANGUAGE">de-DE_CLOUD_Female</field>
                                                                 <field name="LOG"></field>
                                                                 <value name="MESSAGE">
                                                                   <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="d+a.M*t0?;9IS-RK[51_">
                                                                     <field name="TEXT">text</field>
                                                                   </shadow>
                                                                   <block type="text_join" id="|mX.d9q.k/FWS:Lfc#x6">
                                                                     <mutation items="2"></mutation>
                                                                     <value name="ADD0">
                                                                       <block type="text" id="qYV::4F_apO!Y?yg6y!G">
                                                                         <field name="TEXT">Ein Anruf von </field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="ADD1">
                                                                       <block type="variables_get" id="g=UPvUX0RT9}K2ru_b=s">
                                                                         <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="comment" id="L-Fj#]P[bOELb^iDe+6F">
                                                                     <field name="COMMENT">Bad Sonos</field>
                                                                     <next>
                                                                       <block type="sayit" id="o5xj.B(oXVaFmfcO=dW}">
                                                                         <field name="INSTANCE">all</field>
                                                                         <field name="LANGUAGE">de-DE_CLOUD_Female</field>
                                                                         <field name="LOG"></field>
                                                                         <value name="MESSAGE">
                                                                           <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="d+a.M*t0?;9IS-RK[51_">
                                                                             <field name="TEXT">text</field>
                                                                           </shadow>
                                                                           <block type="text_join" id="q1RJpaqzR;|+/#s!(]kW">
                                                                             <mutation items="2"></mutation>
                                                                             <value name="ADD0">
                                                                               <block type="text" id="PAXaU?[CzJox75I}w-P,">
                                                                                 <field name="TEXT">Ein Anruf von </field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD1">
                                                                               <block type="variables_get" id="a(fBG^dm4o1hgce2aUDj">
                                                                                 <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </statement>
                                                 <next>
                                                   <block type="timeouts_setinterval" id="v_Bqgg{C;}*SlNxMx+{v">
                                                     <field name="NAME">Intervall</field>
                                                     <field name="INTERVAL">8000</field>
                                                     <field name="UNIT">ms</field>
                                                     <statement name="STATEMENT">
                                                       <block type="variables_set" id=":+L^L#%w}TaZ,oF%%Hee">
                                                         <field name="VAR" id="$|!jl/IVPxPD7os{bUF0">On call states</field>
                                                         <value name="VALUE">
                                                           <block type="get_value" id="/jrF]ty4e!p+AvASy8G)">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">tr-064.0.callmonitor.toPauseState</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="controls_if" id="j87.ZsAyGl(mU8^*6Tr;">
                                                             <mutation elseif="3"></mutation>
                                                             <value name="IF0">
                                                               <block type="logic_operation" id="*u%zOMGy%F@!-}CJQlsp">
                                                                 <field name="OP">OR</field>
                                                                 <value name="A">
                                                                   <block type="logic_compare" id="Ia?0)w*#[cTW9d%,3*^w">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="variables_get" id="^jM5pL6QJBLg%]o:C#PW">
                                                                         <field name="VAR" id="$|!jl/IVPxPD7os{bUF0">On call states</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="w5`CFx@zd-,jjjDnp0~`">
                                                                         <field name="TEXT">end</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="logic_compare" id="#M!]E7h3!{o=E*ekb|xy">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="variables_get" id=")3Ks~V`4HOPFyOMc`yLm">
                                                                         <field name="VAR" id="$|!jl/IVPxPD7os{bUF0">On call states</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="It4NApphzKDp+{e4ch!w">
                                                                         <field name="TEXT">connect</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="control" id="}R~N3@uq}FDl0Z62!^Vw">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">tr-064.0.callmonitor.inbound.callerName</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="F.Di%NWzTMz71Kg+])l,">
                                                                     <field name="TEXT"></field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="5yGux~{xs{gf=a+U0%,H">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">tr-064.0.callmonitor.inbound.caller</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="text" id="*T{w@^.{ju_Y,3467f2B">
                                                                         <field name="TEXT"></field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="timeouts_clearinterval" id="YV5b]tFF(N3}/Lm)NYs(">
                                                                         <field name="NAME">Intervall</field>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                             <value name="IF1">
                                                               <block type="logic_operation" id=")acAXba{I:?)mwY3FQ5M">
                                                                 <field name="OP">AND</field>
                                                                 <value name="A">
                                                                   <block type="logic_compare" id="TW9fh_{`g@VCF%A[XfCq">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="variables_get" id="E5o!zD)|PmZcj2Pd=]fi">
                                                                         <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="Ji[:io{=QH_Pjfl-[;eB">
                                                                         <field name="TEXT"></field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="logic_compare" id="1l.]F[voVkI.Ip:8:2[q">
                                                                     <field name="OP">EQ</field>
                                                                     <value name="A">
                                                                       <block type="variables_get" id="8#-f}ub^-tzPf#%Der3i">
                                                                         <field name="VAR" id="]B2S|~qR_@_DvmgT=A|`">caller</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <block type="text" id="OAqQ.JTGuNcQN-=!rb%U">
                                                                         <field name="TEXT"></field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO1">
                                                               <block type="control" id="LbBz312_Knw2Xj476tRZ">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">alexa2.0.Echo-Devices.G090LF1072370HP0.Commands.speak</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text" id="^nnmqzY2@8DeR/i*;C3k">
                                                                     <field name="TEXT">Ein Anruf von Unbekannt</field>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="@C|WnVNv=oZ#Pf9BbpaI">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.90F0081872120CJG.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="text" id="fV|jol88W=V,WIyt|G?]">
                                                                         <field name="TEXT">Ein Anruf von Unbekannt</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="comment" id="DWF:_:G@T)B8DZbriOz6">
                                                                         <field name="COMMENT">Küche Sonos</field>
                                                                         <next>
                                                                           <block type="sayit" id="fZr8(NqgI?_`PSk3a)uE">
                                                                             <field name="INSTANCE">.0</field>
                                                                             <field name="LANGUAGE">de-DE_CLOUD_Female</field>
                                                                             <field name="LOG"></field>
                                                                             <value name="MESSAGE">
                                                                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="d+a.M*t0?;9IS-RK[51_">
                                                                                 <field name="TEXT">text</field>
                                                                               </shadow>
                                                                               <block type="text" id="`Q#dsrJV`.+#D.U=xn@#">
                                                                                 <field name="TEXT">Ein Anruf von Unbekannt</field>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="comment" id="td|gaNKoSPc}UMIm@;PB">
                                                                                 <field name="COMMENT">Bad Sonos</field>
                                                                                 <next>
                                                                                   <block type="sayit" id="of83(_xca{L([7f({Zku">
                                                                                     <field name="INSTANCE">all</field>
                                                                                     <field name="LANGUAGE">de-DE_CLOUD_Female</field>
                                                                                     <field name="LOG"></field>
                                                                                     <value name="MESSAGE">
                                                                                       <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="d+a.M*t0?;9IS-RK[51_">
                                                                                         <field name="TEXT">text</field>
                                                                                       </shadow>
                                                                                       <block type="text" id="J2YA{1-EBa-41eE7+xyT">
                                                                                         <field name="TEXT">Ein Anruf von Unbekannt</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                             <value name="IF2">
                                                               <block type="logic_compare" id="}Ts:wbNat#zfS[n*z;b:">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="O0Dws_Q#Y)mm~xb(@A3X">
                                                                     <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="^!^KZ!ubH3AzTa+!-k;R">
                                                                     <field name="TEXT"></field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO2">
                                                               <block type="control" id="p)NNq0O@oTT4jzW=lnZh" disabled="true">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">alexa2.0.Echo-Devices.G090LF1072370HP0.Commands.speak</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text_join" id="4L[^B1XT(iq.U)/#nW=-">
                                                                     <mutation items="2"></mutation>
                                                                     <value name="ADD0">
                                                                       <block type="text" id="5Q(v^b5z~:5AlvO!Q=D~">
                                                                         <field name="TEXT">Ein Anruf von </field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="ADD1">
                                                                       <block type="variables_get" id="-:2Q7t4b%=.u6-Se~(g?">
                                                                         <field name="VAR" id="]B2S|~qR_@_DvmgT=A|`">caller</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="d5kHds=332rSU:dsHSxA" disabled="true">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.90F0081872120CJG.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="text_join" id="=7,3D3DQpKv^[?HDieRE">
                                                                         <mutation items="2"></mutation>
                                                                         <value name="ADD0">
                                                                           <block type="text" id="lQr1]#v[;WMglGLLH}u|">
                                                                             <field name="TEXT">Ein Anruf von </field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="ADD1">
                                                                           <block type="variables_get" id="yTCAE/J{(qcNr,1-@60f">
                                                                             <field name="VAR" id="]B2S|~qR_@_DvmgT=A|`">caller</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="sayit" id="hIbwKQ-FJ=EF{];ZGb^c" disabled="true">
                                                                         <field name="INSTANCE">.0</field>
                                                                         <field name="LANGUAGE">de</field>
                                                                         <field name="LOG"></field>
                                                                         <value name="MESSAGE">
                                                                           <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="d+a.M*t0?;9IS-RK[51_">
                                                                             <field name="TEXT">text</field>
                                                                           </shadow>
                                                                           <block type="text_join" id="fJO9O^^zWY?1ZEV}xf?_">
                                                                             <mutation items="2"></mutation>
                                                                             <value name="ADD0">
                                                                               <block type="text" id="D/N^Yd?LUW^^hDqmnt:{">
                                                                                 <field name="TEXT">Ein Anruf von </field>
                                                                               </block>
                                                                             </value>
                                                                             <value name="ADD1">
                                                                               <block type="variables_get" id="8Z5vd;2c}m^.F]{f}Y%Y">
                                                                                 <field name="VAR" id="]B2S|~qR_@_DvmgT=A|`">caller</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                             <value name="IF3">
                                                               <block type="logic_compare" id="B^(=1b~0d-~WUK.OMhk]">
                                                                 <field name="OP">NEQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="O0HAfh;q;n6j|g}u_(he">
                                                                     <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="text" id="q-/pp:e@(F6A)ETnVBYj">
                                                                     <field name="TEXT"></field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO3">
                                                               <block type="control" id="96y:F1wL.iTuSZz}J+m-">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">alexa2.0.Echo-Devices.G090LF1072370HP0.Commands.speak</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="text_join" id="xF3bryAsT6V^`U~lsIj]">
                                                                     <mutation items="2"></mutation>
                                                                     <value name="ADD0">
                                                                       <block type="text" id="-Rt9?+F[-Xv2f@i2YZ;@">
                                                                         <field name="TEXT">Ein Anruf von </field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="ADD1">
                                                                       <block type="variables_get" id="jHwoqHPN%dHtS7q9psKS">
                                                                         <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="control" id="Jj[nb3}W0SrqE7Ee`an#">
                                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                     <field name="OID">alexa2.0.Echo-Devices.90F0081872120CJG.Commands.speak</field>
                                                                     <field name="WITH_DELAY">FALSE</field>
                                                                     <value name="VALUE">
                                                                       <block type="text_join" id="weOJy~GbD1Z7c@8sZ.sK">
                                                                         <mutation items="2"></mutation>
                                                                         <value name="ADD0">
                                                                           <block type="text" id="rXEtId;g7m~M:01~-vfU">
                                                                             <field name="TEXT">Ein Anruf von </field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="ADD1">
                                                                           <block type="variables_get" id="nmUQ@aC-f6U#cFn#AAPT">
                                                                             <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="comment" id="_`k9^bY!!/VqAKA;%wE8">
                                                                         <field name="COMMENT">Küche Sonos</field>
                                                                         <next>
                                                                           <block type="sayit" id="P*PYT+x2xxMWm_yGg=*`">
                                                                             <field name="INSTANCE">.0</field>
                                                                             <field name="LANGUAGE">de-DE_CLOUD_Female</field>
                                                                             <field name="LOG"></field>
                                                                             <value name="MESSAGE">
                                                                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="d+a.M*t0?;9IS-RK[51_">
                                                                                 <field name="TEXT">text</field>
                                                                               </shadow>
                                                                               <block type="text_join" id="J`03Yo51oLkHFbWHROp1">
                                                                                 <mutation items="2"></mutation>
                                                                                 <value name="ADD0">
                                                                                   <block type="text" id="t6UU#CBM6RP;N=Qp8+tB">
                                                                                     <field name="TEXT">Ein Anruf von </field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="ADD1">
                                                                                   <block type="variables_get" id="Rxv,e/_-7U6/^YQ4IdQ-">
                                                                                     <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="comment" id="+E(o[l!wfHAhlk|Lv#p1">
                                                                                 <field name="COMMENT">Bad Sonos</field>
                                                                                 <next>
                                                                                   <block type="sayit" id="k+cUHV8N3}R|lR.g@,J2">
                                                                                     <field name="INSTANCE">all</field>
                                                                                     <field name="LANGUAGE">de-DE_CLOUD_Female</field>
                                                                                     <field name="LOG"></field>
                                                                                     <value name="MESSAGE">
                                                                                       <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="d+a.M*t0?;9IS-RK[51_">
                                                                                         <field name="TEXT">text</field>
                                                                                       </shadow>
                                                                                       <block type="text_join" id="aGZu6Bb?w$HO~4Ntz]yc">
                                                                                         <mutation items="2"></mutation>
                                                                                         <value name="ADD0">
                                                                                           <block type="text" id="U|N%.H1C7U6w`J?[Uqa1">
                                                                                             <field name="TEXT">Ein Anruf von </field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="ADD1">
                                                                                           <block type="variables_get" id="l1p`se=;Nt?3L#tM@lJt">
                                                                                             <field name="VAR" id="R97@DNx5)1p-;DGYNA51">callerName</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </statement>
           </block>
         </statement>
       </block>
      </xml>
      

      FredF 1 Reply Last reply Reply Quote 1
      • M
        M-A-X @fastfoot last edited by M-A-X

        @fastfoot
        Hey,
        Sorry, war mit dem Junior im Schwimmbad, sonst hätte ich mich früher gemeldet 🙂
        ALso ich blicke es leider auch nicht. Habe die Zeile 2 geändert in

        let id = 'script.js.Temperaturen.ZeitZuLüften';
        

        und es kommt beim zweiten "Speicher" Script der Fehler:

        javascript.0	2020-10-01 19:23:38.207	info	(14925) script.js.SkriptExtract: {'errno':-13,'code':'EACCES','syscall':'open','path':'Extract.js'}
        javascript.0	2020-10-01 19:23:38.206	info	(14925) script.js.SkriptExtract: {'errno':-13,'code':'EACCES','syscall':'open','path':'Extract.xml'}
        javascript.0	2020-10-01 19:23:38.203	info	(14925) script.js.SkriptExtract: registered 0 subscriptions and 0 schedules
        javascript.0	2020-10-01 19:23:38.202	info	(14925) script.js.SkriptExtract: <xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="NX%n(s|t2x3hUpzX)v}y">BitteLueften</variable><variable id="FN9@lS]H,(__FQq*$d!A">Aussen
        javascript.0	2020-10-01 19:23:38.141	info	(14925) Start javascript script.js.SkriptExtract
        

        Beim ersten Script kommt folgendes (kann nicht mehr kopieren, da hinten abgeschnitten wird...):

        <xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="NX%n(s|t2x3hUpzX)v}y">BitteLueften</variable><variable id="FN9@lS]H,(__FQq*$d!A">AussenImme
        

        Wie bekommt man es so schön hin, dass bei langen Zeilen im Log das untereinander steht 🙂 bei mir ist die Zeile so lang, dass ich die nächste mit kopieren muss und das Gefühl habe, dass er es trotzdem abschneidet...

        Wenn ich auf "log Herunterladen" drücke kommt folgendes:

        2020-10-01 19:23:38.141 - info: javascript.0 (14925) Start javascript script.js.SkriptExtract
        2020-10-01 19:23:38.202 - info: javascript.0 (14925) script.js.SkriptExtract: BitteLueftenAussenImmernochWaermertimeoutBitteLueftenFALSETriggernedefaultmihome.0.devices.weather_v1_158d00027347cf.temperaturelogtestTemperatur hat sich geändert, Script startet: GTvalzigbee.0.00158d00025efa37.temperaturevalmihome.0.devices.weather_v1_158d00027347cf.temperatureWenn der Innen > Außen für X MinutentimeoutFalls noch kein Timer läuftEQBitteLueftenFALSElogTimer startentimeout10minlogTimer StartTimer erstelltBitteLueftenTRUElogtestMeldung Telegram: Bitte Lüften, die Innentemperatur beträgt: valzigbee.0.00158d00025efa37.temperature\ndie Außentemperatur beträgt: valmihome.0.devices.weather_v1_158d00027347cf.temperatureAussenImmernochWaermerFALSEFALSEdefaulttextBitte Lüften, die Innentemperatur beträgt: valzigbee.0.00158d00025efa37.temperature\ndie Außentemperatur beträgt: valmihome.0.devices.weather_v1_158d00027347cf.temperaturelogtestTimer läuft schonEQAussenImmernochWaermerFALSEBitteLueftenFALSEFALSEdefaultAußen ist es jetzt wieder wärmer. Fenster zu.AussenImmernochWaermerTRUElogtestAußen ist es jetzt wieder wärmer. Fenster Zu!timeout
        2020-10-01 19:23:38.203 - info: javascript.0 (14925) script.js.SkriptExtract: registered 0 subscriptions and 0 schedules
        2020-10-01 19:23:38.206 - info: javascript.0 (14925) script.js.SkriptExtract: {'errno':-13,'code':'EACCES','syscall':'open','path':'Extract.xml'}
        2020-10-01 19:23:38.207 - info: javascript.0 (14925) script.js.SkriptExtract: {'errno':-13,'code':'EACCES','syscall':'open','path':'Extract.js'}
        
        F 1 Reply Last reply Reply Quote 0
        • FredF
          FredF Most Active Forum Testing @fastfoot last edited by

          @fastfoot sagte in Javascript "offline" bearbeiten? Cannot extract blockly Code:

          hast du evtl. Sayit deinstalliert?

          Jupp, das wars... schon länger und vergessen das dieses Script das nutzt. Danke dir.

          1 Reply Last reply Reply Quote 0
          • F
            fastfoot @M-A-X last edited by

            @M-A-X

            • Ändere im Skript zu /opt/iobroker/Extract.xml bzw. /opt/iobroker/Extract.js
            • Du musst aus dem LOG-Fenster des Skript-Editors kopieren, nicht aus dem LOG-TAB, falls das Speichern jetzt immer noch nicht klappt.
            M 1 Reply Last reply Reply Quote 0
            • M
              M-A-X @fastfoot last edited by

              @fastfoot
              Mein Iobroker läuft in einer virtuallen Umgebung. Bin mir gerade nicht sicher, wie ich die Dateien da raus bekomme^^ solange schonmal:

              Hier aus dem Log des ScriptEditors:

              19:35:11.862	info	javascript.0 (14925) Stop script script.js.SkriptExtract
              19:35:11.933	info	javascript.0 (14925) Start javascript script.js.SkriptExtract
              19:35:11.940	info	javascript.0 (14925) script.js.SkriptExtract: <xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="NX%n(s|t2x3hUpzX)v}y">BitteLueften</variable><variable id="FN9@lS]H,(__FQq*$d!A">AussenImmernochWaermer</variable><variable type="timeout" id="timeout">timeout</variable></variables><block type="variables_set" id=".tAJ.SM#4%C=e$}v!TGK" x="387" y="-213"><field name="VAR" id="NX%n(s|t2x3hUpzX)v}y">BitteLueften</field><value name="VALUE"><block type="logic_boolean" id=":?$IEB3U$WbG){,19P{2"><field name="BOOL">FALSE</field></block></value><next><block type="comment" id="~pbXrcpHb(rW0xJd$Lb]"><field name="COMMENT">Trigger</field><next><block type="on_ext" id="`QAQQ=;Mv-!s8Xisv`Q["><mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation><field name="CONDITION">ne</field><field name="ACK_CONDITION"></field><value name="OID0"><shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="x3Az;0]0yDfTN#aGm8{3"><field name="oid">default</field></shadow><block type="field_oid" id="fJE1{[S|hKT$]p%?%]p%"><field name="oid">mihome.0.devices.weather_v1_158d00027347cf.temperature</field></block></value><statement name="STATEMENT"><block type="debug" id="oT;n):)AnZ+:xI~rUI1f"><field name="Severity">log</field><value name="TEXT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="{bu.{n,(L}xf`/~P_54{"><field name="TEXT">test</field></shadow><block type="text" id="}^2MZ${H[EM,3r55F)*v"><field name="TEXT">Temperatur hat sich geändert, Script startet: </field></block></value><next><block type="controls_if" id="o~?pt_u4s*XtqU`Z69`2"><mutation else="1"></mutation><value name="IF0"><block type="logic_compare" id="!dz)#I7Tj(G/:pWOu#op"><field name="OP">GT</field><value name="A"><block type="get_value" id=";{,(+QkU2IA5ahLhC_BW"><field name="ATTR">val</field><field name="OID">zigbee.0.00158d00025efa37.temperature</field></block></value><value name="B"><block type="get_value" id=";KO!3;j?JeTL!mICB.}N"><field name="ATTR">val</field><field name="OID">mihome.0.devices.weather_v1_158d00027347cf.temperature</field></block></value></block></value><statement name="DO0"><block type="comment" id="bFw@l$0Fm!-qk}S{YQ03"><field name="COMMENT">Wenn der Innen &gt; Außen für X Minuten</field><next><block type="controls_if" id="{@9RQR`h3S{^4F,u)*cd"><mutation else="1"></mutation><value name="IF0"><block type="logic_negate" id="G2-k]hm)8`(hmpxVkVRi"><value name="BOOL"><block type="variables_get" id="|gX5jP?PSPld$)zpp5q:"><field name="VAR" id="timeout" variabletype="undefined">timeout</field></block></value></block></value><statement name="DO0"><block type="comment" id="bMz^T%zW)}k_)*jj4Ky1"><field name="COMMENT">Falls noch kein Timer läuft</field><next><block type="controls_if" id=",.@]!HNMEMI6=2/4D)!O"><value name="IF0"><block type="logic_compare" id="C#t.x4*`xL,4$`!sllp)"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="FAvf^;GU26(]G3w/H1Ve"><field name="VAR" id="NX%n(s|t2x3hUpzX)v}y">BitteLueften</field></block></value><value name="B"><block type="logic_boolean" id="3ui]rdh([_lUGBGrJU(e"><field name="BOOL">FALSE</field></block></value></block></value><statement name="DO0"><block type="debug" id="^z00JlMMNMqWC,Y9CEg0"><field name="Severity">log</field><value name="TEXT"><shadow type="text" id="o.hhPSwcRcS#WPV-lTJo"><field name="TEXT">Timer starten</field></shadow></value><next><block type="timeouts_settimeout" id="V5PJ*,eX}qP)$s%TheU~"><field name="NAME">timeout</field><field name="DELAY">10</field><field name="UNIT">min</field><statement name="STATEMENT"><block type="debug" id="WvB9$WY;fB=*qM(JGs8m"><field name="Severity">log</field><value name="TEXT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Tz~]w[#}$ZiSGnN0GA:*"><field name="TEXT">Timer Start</field></shadow><block type="text" id="`m+|3DX[$K6^LNnAay{u"><field name="TEXT">Timer erstellt</field></block></value><next><block type="variables_set" id="qBMEMk#9`MHVln^6NaiI"><field name="VAR" id="NX%n(s|t2x3hUpzX)v}y">BitteLueften</field><value name="VALUE"><block type="logic_boolean" id="A[_;W]rc/aqi6cD3HT9+"><field name="BOOL">TRUE</field></block></value><next><block type="debug" id="-]3.I`b6DG]%vWL6%QI="><field name="Severity">log</field><value name="TEXT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=",dG*QXcM[^)?4#s+Xl!0"><field name="TEXT">test</field></shadow><block type="text_join" id="2vp|$?WeVVMl:RoIN/;G"><mutation items="7"></mutation><value name="ADD0"><block type="text" id="zke^3|w`m5:$Xl1VCMQ)"><field name="TEXT">Meldung Telegram: </field></block></value><value name="ADD1"><block type="text" id="[^K3H1}u~7-8ddZpKJJ{"><field name="TEXT">Bitte Lüften, </field></block></value><value name="ADD2"><block type="text" id="!;cPz?icO035_RtA7KeH"><field name="TEXT">die Innentemperatur beträgt: </field></block></value><value name="ADD3"><block type="get_value" id="*dYKF)6Mf@UFO^]/=ieP"><field name="ATTR">val</field><field name="OID">zigbee.0.00158d00025efa37.temperature</field></block></value><value name="ADD4"><block type="text_newline" id="^#i`-=!y4c.6jSzcN-tk"><field name="Type">\n</field></block></value><value name="ADD5"><block type="text" id="E6r1Pae=c)]?:memjmd9"><field name="TEXT">die Außentemperatur beträgt: </field></block></value><value name="ADD6"><block type="get_value" id="*,r/Cf)KEkYBz;_*w6qn"><field name="ATTR">val</field><field name="OID">mihome.0.devices.weather_v1_158d00027347cf.temperature</field></block></value></block></value><next><block type="variables_set" id="9qI]ul~s2uRa|Z}nIK3z"><field name="VAR" id="FN9@lS]H,(__FQq*$d!A">AussenImmernochWaermer</field><value name="VALUE"><block type="logic_boolean" id="lfo*Enk*sy.AMLs8`y1i"><field name="BOOL">FALSE</field></block></value><next><block type="telegram" id="|/-TIZT/oIb_+as.0:V)"><field name="INSTANCE"></field><field name="LOG"></field><field name="SILENT">FALSE</field><field name="PARSEMODE">default</field><value name="MESSAGE"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="U@hA8(_QTSFaS!0ujq~b"><field name="TEXT">text</field></shadow><block type="text_join" id="S2~-%2clxm)/_Yw[QcN$"><mutation items="6"></mutation><value name="ADD0"><block type="text" id="Z)Mr42-m7vS#RUqYrE`#"><field name="TEXT">Bitte Lüften, </field></block></value><value name="ADD1"><block type="text" id="~XKNIBD9Mk0+1bue?!X#"><field name="TEXT">die Innentemperatur beträgt: </field></block></value><value name="ADD2"><block type="get_value" id="^Wm5yamavgzT,M:YKLzc"><field name="ATTR">val</field><field name="OID">zigbee.0.00158d00025efa37.temperature</field></block></value><value name="ADD3"><block type="text_newline" id="A6nOQUdLG-z^%B:v?{8="><field name="Type">\n</field></block></value><value name="ADD4"><block type="text" id="2K^?WURd@xn5g/D+?O@2"><field name="TEXT">die Außentemperatur beträgt: </field></block></value><value name="ADD5"><block type="get_value" id="warmXe8vM?w1/e`bDzWl"><field name="ATTR">val</field><field name="OID">mihome.0.devices.weather_v1_158d00027347cf.temperature</field></block></value></block></value></block></next></block></next></block></next></block></next></block></statement></block></next></block></statement></block></next></block></statement><statement name="ELSE"><block type="debug" id="7R0Athvq3vh|fA:#0~(L"><field name="Severity">log</field><value name="TEXT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=",dG*QXcM[^)?4#s+Xl!0"><field name="TEXT">test</field></shadow><block type="text" id="]j^f#+~[;yUk2{,B6Lv}"><field name="TEXT">Timer läuft schon</field></block></value></block></statement></block></next></block></statement><statement name="ELSE"><block type="controls_if" id="_Pd:hgi%}p$9{([(xH*V"><value name="IF0"><block type="logic_compare" id="1:4r$Xa:K!-K:{J5H-NH"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="b5j;N:}fX0h{HH5Lp#t4"><field name="VAR" id="FN9@lS]H,(__FQq*$d!A">AussenImmernochWaermer</field></block></value><value name="B"><block type="logic_boolean" id="T7R6LW*LC^T|j6]wh#H@"><field name="BOOL">FALSE</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="9lYuqps4Uhduuomv/fTU"><field name="VAR" id="NX%n(s|t2x3hUpzX)v}y">BitteLueften</field><value name="VALUE"><block type="logic_boolean" id="WCh]?BUKoRH=Nm%#}[E2"><field name="BOOL">FALSE</field></block></value><next><block type="telegram" id="9]E;$17Tl/7BT$KnLH.("><field name="INSTANCE"></field><field name="LOG"></field><field name="SILENT">FALSE</field><field name="PARSEMODE">default</field><value name="MESSAGE"><shadow type="text" id="Dr1^bIXGNm$#_RKq6`Ok"><field name="TEXT">Außen ist es jetzt wieder wärmer. Fenster zu.</field></shadow></value><next><block type="variables_set" id="4hL!d2h,CP%DAmJ1{wGU"><field name="VAR" id="FN9@lS]H,(__FQq*$d!A">AussenImmernochWaermer</field><value name="VALUE"><block type="logic_boolean" id="tlbz@++Nyihw2u(/m7BY"><field name="BOOL">TRUE</field></block></value><next><block type="debug" id="+?~TFH!VN=_6`-kDCfph"><field name="Severity">log</field><value name="TEXT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=",dG*QXcM[^)?4#s+Xl!0"><field name="TEXT">test</field></shadow><block type="text_join" id="z~mfjen-.E4R|v~Md5I}"><mutation items="1"></mutation><value name="ADD0"><block type="text" id="0sDKuV6Y7jnxq6bZZXK?"><field name="TEXT">Außen ist es jetzt wieder wärmer. Fenster Zu!</field></block></value></block></value><next><block type="timeouts_cleartimeout" id="|!MS6zf2yP.||Fu8sVm%"><field name="NAME">timeout</field></block></next></block></next></block></next></block></next></block></statement></block></statement></block></next></block></statement></block></next></block></next></block></xml>
              19:35:11.941	info	javascript.0 (14925) script.js.SkriptExtract: registered 0 subscriptions and 0 schedules
              
              F 1 Reply Last reply Reply Quote 0
              • F
                fastfoot @M-A-X last edited by

                @M-A-X Lässt sich einwandfrei importieren, hast du evtl. Telegram deinstalliert?

                F M 2 Replies Last reply Reply Quote 0
                • F
                  fastfoot @fastfoot last edited by

                  @fastfoot sagte in Javascript "offline" bearbeiten? Cannot extract blockly Code:

                  @M-A-X Lässt sich einwandfrei importieren, hast du evtl. Telegram deinstalliert?

                  Du schreibst oben dass du den mihome(??) nicht mehr hast, hast du den deinstalliert? Dann installieren, Skript abändern und wieder löschen

                  1 Reply Last reply Reply Quote 0
                  • M
                    M-A-X @fastfoot last edited by M-A-X

                    @fastfoot nein... Telegram läuft auch noch in anderen Scripten...
                    kann ich mein Script auch einfach neu importieren?

                    Ja... mihome komplett deinstalliert... sekunde 🙂
                    Nein. Mihome neu installiert (bleibt gelb, da ich das Hub nicht mehr habe). Keine Änderung leider 😞

                    EDIT3: Habe jetzt "einfach" in meinem eigenen "Code" von <XML.... bis zum letzten XML> alles kopiert und in ein neues Blockly kopiert. Dieses konnte ich bearbeiten und die mihome Verknüpfungen ändern.
                    Ich finde es seltsam, dass das so einfach geht, ich aber das identische Blockly nicht öffnen konnte 🙂 Kann man das irgendwie im Javascript Adapter ändern?
                    Danke @fastfoot für das "ExtractScript". Ich speicher mir das mal gut weg 🙂 Vielen vielen Dank für die schnelle kompetente Hilfe ❤

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      fastfoot @M-A-X last edited by

                      @M-A-X sagte in Javascript "offline" bearbeiten? Cannot extract blockly Code:

                      @fastfoot nein... Telegram läuft auch noch in anderen Scripten...
                      kann ich mein Script auch einfach neu importieren?

                      Ja... mihome komplett deinstalliert... sekunde 🙂
                      Nein. Mihome neu installiert (bleibt gelb, da ich das Hub nicht mehr habe). Keine Änderung leider 😞

                      Ja an den Adaptern liegt es nicht, irgendwie hat es deine Variablen zerschossen, umbenennen half da nichts. Ich habe neue erstellt, so sollte es jetzt funktionieren, musst meine Abkürzungen noch umbenennen 🙂 Die Variable timeout(jetzt TO) wird übrigens nirgends gesetzt aber du prüfst darauf!

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable id="v[|W}1#ivnSgGvN;6%-5">BL</variable>
                          <variable id="mp@d,(985+7`ga;e](x{">AINW</variable>
                          <variable id=")NxPFFKLAPM2~1hZ1/Q[">TO</variable>
                          <variable type="timeout" id="timeout">timeout</variable>
                        </variables>
                        <block type="variables_set" id=".tAJ.SM#4%C=e$}v!TGK" x="387" y="-213">
                          <field name="VAR" id="v[|W}1#ivnSgGvN;6%-5">BL</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id=":?$IEB3U$WbG){,19P{2">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="comment" id="~pbXrcpHb(rW0xJd$Lb]">
                              <field name="COMMENT">Trigger</field>
                              <next>
                                <block type="on_ext" id="`QAQQ=;Mv-!s8Xisv`Q[">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                  <field name="CONDITION">ne</field>
                                  <field name="ACK_CONDITION"></field>
                                  <value name="OID0">
                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="x3Az;0]0yDfTN#aGm8{3">
                                      <field name="oid">default</field>
                                    </shadow>
                                    <block type="field_oid" id="fJE1{[S|hKT$]p%?%]p%">
                                      <field name="oid">mihome.0.devices.weather_v1_158d00027347cf.temperature</field>
                                    </block>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="debug" id="oT;n):)AnZ+:xI~rUI1f">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="{bu.{n,(L}xf`/~P_54{">
                                          <field name="TEXT">test</field>
                                        </shadow>
                                        <block type="text" id="}^2MZ${H[EM,3r55F)*v">
                                          <field name="TEXT">Temperatur hat sich geändert, Script startet: </field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="controls_if" id="o~?pt_u4s*XtqU`Z69`2">
                                          <mutation else="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_compare" id="!dz)#I7Tj(G/:pWOu#op">
                                              <field name="OP">GT</field>
                                              <value name="A">
                                                <block type="get_value" id=";{,(+QkU2IA5ahLhC_BW">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">zigbee.0.00158d00025efa37.temperature</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="get_value" id=";KO!3;j?JeTL!mICB.}N">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">mihome.0.devices.weather_v1_158d00027347cf.temperature</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="comment" id="bFw@l$0Fm!-qk}S{YQ03">
                                              <field name="COMMENT">Wenn der Innen &gt; Außen für X Minuten</field>
                                              <next>
                                                <block type="controls_if" id="{@9RQR`h3S{^4F,u)*cd">
                                                  <mutation else="1"></mutation>
                                                  <value name="IF0">
                                                    <block type="logic_negate" id="G2-k]hm)8`(hmpxVkVRi">
                                                      <value name="BOOL">
                                                        <block type="variables_get" id="|gX5jP?PSPld$)zpp5q:">
                                                          <field name="VAR" id=")NxPFFKLAPM2~1hZ1/Q[">TO</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="comment" id="bMz^T%zW)}k_)*jj4Ky1">
                                                      <field name="COMMENT">Falls noch kein Timer läuft</field>
                                                      <next>
                                                        <block type="controls_if" id=",.@]!HNMEMI6=2/4D)!O">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="C#t.x4*`xL,4$`!sllp)">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="FAvf^;GU26(]G3w/H1Ve">
                                                                  <field name="VAR" id="v[|W}1#ivnSgGvN;6%-5">BL</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_boolean" id="3ui]rdh([_lUGBGrJU(e">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="debug" id="^z00JlMMNMqWC,Y9CEg0">
                                                              <field name="Severity">log</field>
                                                              <value name="TEXT">
                                                                <shadow type="text" id="o.hhPSwcRcS#WPV-lTJo">
                                                                  <field name="TEXT">Timer starten</field>
                                                                </shadow>
                                                              </value>
                                                              <next>
                                                                <block type="timeouts_settimeout" id="V5PJ*,eX}qP)$s%TheU~">
                                                                  <field name="NAME">timeout</field>
                                                                  <field name="DELAY">10</field>
                                                                  <field name="UNIT">min</field>
                                                                  <statement name="STATEMENT">
                                                                    <block type="debug" id="WvB9$WY;fB=*qM(JGs8m">
                                                                      <field name="Severity">log</field>
                                                                      <value name="TEXT">
                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="Tz~]w[#}$ZiSGnN0GA:*">
                                                                          <field name="TEXT">Timer Start</field>
                                                                        </shadow>
                                                                        <block type="text" id="`m+|3DX[$K6^LNnAay{u">
                                                                          <field name="TEXT">Timer erstellt</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="variables_set" id="qBMEMk#9`MHVln^6NaiI">
                                                                          <field name="VAR" id="v[|W}1#ivnSgGvN;6%-5">BL</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="A[_;W]rc/aqi6cD3HT9+">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="debug" id="-]3.I`b6DG]%vWL6%QI=">
                                                                              <field name="Severity">log</field>
                                                                              <value name="TEXT">
                                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=",dG*QXcM[^)?4#s+Xl!0">
                                                                                  <field name="TEXT">test</field>
                                                                                </shadow>
                                                                                <block type="text_join" id="2vp|$?WeVVMl:RoIN/;G">
                                                                                  <mutation items="7"></mutation>
                                                                                  <value name="ADD0">
                                                                                    <block type="text" id="zke^3|w`m5:$Xl1VCMQ)">
                                                                                      <field name="TEXT">Meldung Telegram: </field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD1">
                                                                                    <block type="text" id="[^K3H1}u~7-8ddZpKJJ{">
                                                                                      <field name="TEXT">Bitte Lüften, </field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD2">
                                                                                    <block type="text" id="!;cPz?icO035_RtA7KeH">
                                                                                      <field name="TEXT">die Innentemperatur beträgt: </field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD3">
                                                                                    <block type="get_value" id="*dYKF)6Mf@UFO^]/=ieP">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">zigbee.0.00158d00025efa37.temperature</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD4">
                                                                                    <block type="text_newline" id="^#i`-=!y4c.6jSzcN-tk">
                                                                                      <field name="Type">\n</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD5">
                                                                                    <block type="text" id="E6r1Pae=c)]?:memjmd9">
                                                                                      <field name="TEXT">die Außentemperatur beträgt: </field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD6">
                                                                                    <block type="get_value" id="*,r/Cf)KEkYBz;_*w6qn">
                                                                                      <field name="ATTR">val</field>
                                                                                      <field name="OID">mihome.0.devices.weather_v1_158d00027347cf.temperature</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="variables_set" id="9qI]ul~s2uRa|Z}nIK3z">
                                                                                  <field name="VAR" id="mp@d,(985+7`ga;e](x{">AINW</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="logic_boolean" id="lfo*Enk*sy.AMLs8`y1i">
                                                                                      <field name="BOOL">FALSE</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="telegram" id="|/-TIZT/oIb_+as.0:V)">
                                                                                      <field name="INSTANCE"></field>
                                                                                      <field name="LOG"></field>
                                                                                      <field name="SILENT">FALSE</field>
                                                                                      <field name="PARSEMODE">default</field>
                                                                                      <value name="MESSAGE">
                                                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="U@hA8(_QTSFaS!0ujq~b">
                                                                                          <field name="TEXT">text</field>
                                                                                        </shadow>
                                                                                        <block type="text_join" id="S2~-%2clxm)/_Yw[QcN$">
                                                                                          <mutation items="6"></mutation>
                                                                                          <value name="ADD0">
                                                                                            <block type="text" id="Z)Mr42-m7vS#RUqYrE`#">
                                                                                              <field name="TEXT">Bitte Lüften, </field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="ADD1">
                                                                                            <block type="text" id="~XKNIBD9Mk0+1bue?!X#">
                                                                                              <field name="TEXT">die Innentemperatur beträgt: </field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="ADD2">
                                                                                            <block type="get_value" id="^Wm5yamavgzT,M:YKLzc">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">zigbee.0.00158d00025efa37.temperature</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="ADD3">
                                                                                            <block type="text_newline" id="A6nOQUdLG-z^%B:v?{8=">
                                                                                              <field name="Type">\n</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="ADD4">
                                                                                            <block type="text" id="2K^?WURd@xn5g/D+?O@2">
                                                                                              <field name="TEXT">die Außentemperatur beträgt: </field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="ADD5">
                                                                                            <block type="get_value" id="warmXe8vM?w1/e`bDzWl">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">mihome.0.devices.weather_v1_158d00027347cf.temperature</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <statement name="ELSE">
                                                    <block type="debug" id="7R0Athvq3vh|fA:#0~(L">
                                                      <field name="Severity">log</field>
                                                      <value name="TEXT">
                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=",dG*QXcM[^)?4#s+Xl!0">
                                                          <field name="TEXT">test</field>
                                                        </shadow>
                                                        <block type="text" id="]j^f#+~[;yUk2{,B6Lv}">
                                                          <field name="TEXT">Timer läuft schon</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <statement name="ELSE">
                                            <block type="controls_if" id="_Pd:hgi%}p$9{([(xH*V">
                                              <value name="IF0">
                                                <block type="logic_compare" id="1:4r$Xa:K!-K:{J5H-NH">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="variables_get" id="b5j;N:}fX0h{HH5Lp#t4">
                                                      <field name="VAR" id="mp@d,(985+7`ga;e](x{">AINW</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_boolean" id="T7R6LW*LC^T|j6]wh#H@">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="variables_set" id="9lYuqps4Uhduuomv/fTU">
                                                  <field name="VAR" id="v[|W}1#ivnSgGvN;6%-5">BL</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="WCh]?BUKoRH=Nm%#}[E2">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="telegram" id="9]E;$17Tl/7BT$KnLH.(">
                                                      <field name="INSTANCE"></field>
                                                      <field name="LOG"></field>
                                                      <field name="SILENT">FALSE</field>
                                                      <field name="PARSEMODE">default</field>
                                                      <value name="MESSAGE">
                                                        <shadow type="text" id="Dr1^bIXGNm$#_RKq6`Ok">
                                                          <field name="TEXT">Außen ist es jetzt wieder wärmer. Fenster zu.</field>
                                                        </shadow>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="4hL!d2h,CP%DAmJ1{wGU">
                                                          <field name="VAR" id="mp@d,(985+7`ga;e](x{">AINW</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="tlbz@++Nyihw2u(/m7BY">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="debug" id="+?~TFH!VN=_6`-kDCfph">
                                                              <field name="Severity">log</field>
                                                              <value name="TEXT">
                                                                <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id=",dG*QXcM[^)?4#s+Xl!0">
                                                                  <field name="TEXT">test</field>
                                                                </shadow>
                                                                <block type="text_join" id="z~mfjen-.E4R|v~Md5I}">
                                                                  <mutation items="1"></mutation>
                                                                  <value name="ADD0">
                                                                    <block type="text" id="0sDKuV6Y7jnxq6bZZXK?">
                                                                      <field name="TEXT">Außen ist es jetzt wieder wärmer. Fenster Zu!</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="timeouts_cleartimeout" id="|!MS6zf2yP.||Fu8sVm%">
                                                                  <field name="NAME">timeout</field>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </xml>
                      

                      M paul53 2 Replies Last reply Reply Quote 0
                      • M
                        M-A-X @fastfoot last edited by M-A-X

                        @fastfoot

                        Wollte gerade schreiben^^ ich konnte es zwar importieren, aber neu laden brachte den selben Fehler. Mit deinem geht es.. Seltsam, dass meine Variablen so kryptische Zeichen haben im DropDown... daran lag es?
                        Danke fürs fixen

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          fastfoot @M-A-X last edited by

                          @M-A-X sagte in Javascript "offline" bearbeiten? Cannot extract blockly Code:

                          @fastfoot

                          Wollte gerade schreiben^^ ich konnte es zwar importieren, aber neu laden brachte den selben Fehler. Mit deinem geht es.. Seltsam, dass meine Variablen so kryptische Zeichen haben im DropDown... daran lag es?
                          Danke fürs fixen

                          nein, nicht nur, ich hatte die kryptischen gelöscht aber immer noch den Fehler, deshalb alles neu. Denke du kannst die umbenannten jetzt wieder in die Originale umbenennen, durch das Neuerstellen haben sich die (internen) ID's jetzt geändert. Frag aber nicht wie das passieren konnte, darauf habe ich keine Antwort

                          1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @fastfoot last edited by paul53

                            @fastfoot sagte:

                            Die Variable timeout(jetzt TO) wird übrigens nirgends gesetzt aber du prüfst darauf!

                            Die Variable timeout wird mit "Ausführen timeout" gesetzt und mit "stop timeout" auf null zurück gesetzt.

                            M F 2 Replies Last reply Reply Quote 1
                            • M
                              M-A-X @paul53 last edited by M-A-X

                              @paul53 so sollte es sein. Ich muss ganz ehrlich sagen, dass ich es jetzt auch nicht verstehe, wie das gehen soll (habe das skript vor Monaten mit Hilfe hier im Forum erstellt)? Woher weiß die Variable "timeout" "TO" oder ähnlich, dass die Schleife sie betrifft? Weil sie ehemals genau gleich geschrieben war (timeout)?

                              EDIT: Ah, die Variable "timeout" wird automatisch erstellt, wenn man eine timeout "Schleife" einfügt, richtig^^?

                              paul53 F 2 Replies Last reply Reply Quote 0
                              • F
                                fastfoot @paul53 last edited by

                                @paul53 sagte in Javascript "offline" bearbeiten? Cannot extract blockly Code:

                                Die Variable timeout wird mit "Ausführen timeout" gesetzt und mit "stop timeout" auf null zurück gesetzt.

                                man lernt nie aus, Danke! 🙂

                                1 Reply Last reply Reply Quote 0
                                • paul53
                                  paul53 @M-A-X last edited by

                                  @M-A-X sagte:

                                  die Schleife sie betrifft? Weil sie ehemals genau gleich geschrieben war? "timeout"?

                                  Mit "Ausführen timeout" wird die Variable timeout erzeugt. Bitte in der Javascript-Ansicht checken, dass es nur eine Variable timeout gibt.

                                  M 1 Reply Last reply Reply Quote 0
                                  • F
                                    fastfoot @M-A-X last edited by

                                    @M-A-X sagte in Javascript "offline" bearbeiten? Cannot extract blockly Code:

                                    @paul53 so sollte es sein. Ich muss ganz ehrlich sagen, dass ich es jetzt auch nicht verstehe, wie das gehen soll (habe das skript vor Monaten mit Hilfe hier im Forum erstellt)? Woher weiß die Variable "Timeout" "TO" oder ähnlich, dass die Schleife sie betrifft? Weil sie ehemals genau gleich geschrieben war? "timeout"?

                                    Mein Fehler, ändere sie wieder ab in timeout(rechts der Pfeil), TO sollte sich dann beim Speichern löschen! Einmal in ein anderes Skript wechseln und dann prüfen...

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      M-A-X @paul53 last edited by M-A-X

                                      @paul53 Danke für die Erklärung 🙂 Habs gecheckt (erste Zeile) nur eine "var" namens timeout
                                      @fastfoot habs geändert. Läuft alles. Vielen Dank nochmals und abschließend. Habt mir den Abend gerettet 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      702
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      blockly error javascript adapter
                                      4
                                      25
                                      1059
                                      Loading More Posts
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      Community
                                      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                      The ioBroker Community 2014-2023
                                      logo