-
Notifications
You must be signed in to change notification settings - Fork 25
Adapter Monitor
Sebastian Bormann edited this page Feb 6, 2022
·
13 revisions
!This is deprecated, because since v2.0 the Adpater-Monitor-Function is directly built in to iQontrol. Have a look at lists- and counters - default-lists!
- Just copy this code and import it to a new Blockly-Script "Adapter-Monitor" (i grouped it into a folder Device-Counter where i have more of scripts like this)
- The clear text is written in german, maybe you need to adjust that
- The script will create some datapoints under javascript.0.Device-Counter.Adapter-Monitor (maybe you have to restart, once you started it the first time)
Blockly-Export of original Script: (klick to open)
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="-{zM=0_+GJ6MkP+l32kU">id</variable>
<variable id="rc_S@-_z*ycDwy=MptjW">selectors</variable>
<variable id=":#pAmn)J+4y@j-f:MShr">adapterList</variable>
<variable id="bH}#vV3I%:T!,NTk32vg">alive</variable>
<variable type="timeout" id="timeout">timeout</variable>
<variable type="timeout" id="timeout2">timeout2</variable>
<variable id="K52If=[MC^hG]Rq?L-5D">stateAllAlphabeticalHTML</variable>
<variable id="arX)jNaFSJbad1eGLC6D">stateRedHTML</variable>
<variable id="#+`:pq){g,|zIw*X|i_o">stateYellowHTML</variable>
<variable id="_Lt=QTuw7b10Ts.p*;+z">stateGreenHTML</variable>
<variable id="{kG$6*9bvWCJ5ea:Pz-L">stateGreyHTML</variable>
<variable id="k(Na+%?sW.5!{ZhYOQJ/">stateNormalHTML</variable>
<variable id=")PGa:x*yl3W+w6DrxR32">stateErrorHTML</variable>
<variable id="pTo{jCMj={Dg4lCxKl1{">stateError</variable>
<variable id="SaPCdDTIzfn!-UW$Ct0U">countAll</variable>
<variable id="xX]l^BXUCzyW`^ur1nFC">countRed</variable>
<variable id="RLicJ(%dXJ_-zLmuU~R;">countYellow</variable>
<variable id="aEb9^c`C!x=|C$yUWIhr">countGreen</variable>
<variable id="HRrFbbkQo{YYhD[dYEQE">countGrey</variable>
<variable id="pSkfHjO!xsadvLW+K%vh">countNormal</variable>
<variable id="_bT7ul!)d@=IVgZ#%JH*">countError</variable>
<variable id="yAw]o/l?5{k1O;_oKN0X">adapter</variable>
<variable id="vABLH$v:Nb/JXV;NUN/p">stateAllByColorHTML</variable>
<variable id="Jx1g7!Z[ck$j]w#B5PPS">stateAllByColorCountedHTML</variable>
<variable id="yucHW$1Nri3}-fFK7Da$">color</variable>
<variable id="qu^3Pu}?5V`=OdYTLH{I">stateAllByStateHTML</variable>
<variable id="?B-Th}wpJn#G0+ff9L|Z">stateAllByStateCountedHTML</variable>
</variables>
<block type="procedures_defcustomreturn" id="wSVw=YrfZAID{qtr+f9z" x="-1737" y="-737">
<mutation statements="false">
<arg name="id" varid="-{zM=0_+GJ6MkP+l32kU"></arg>
</mutation>
<field name="NAME">checkExistance</field>
<field name="SCRIPT">cmV0dXJuICEoICgkKGlkKS5sZW5ndGggPCAxKSB8fCAoIWV4aXN0c1N0YXRlKGlkKSkgKTs=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="procedures_defcustomreturn" id="a:d_9T;JK^Y5,X_B@FXz" x="-1737" y="-712">
<mutation statements="false">
<arg name="selectors" varid="rc_S@-_z*ycDwy=MptjW"></arg>
</mutation>
<field name="NAME">selector$</field>
<field name="SCRIPT">dmFyIHJlc3VsdCA9IFtdOw0KaWYodHlwZW9mIHNlbGVjdG9ycyA9PSAic3RyaW5nIikgc2VsZWN0b3JzID0gW3NlbGVjdG9yc107IC8vQ29udmVydCBzZWxlY3RvcnMgdG8gYW4gYXJyYXkgaWYgaXQgaXMgYSBzdHJpbmcNCnNlbGVjdG9ycy5mb3JFYWNoKGZ1bmN0aW9uKGVudHJ5KXsNCiAgICByZXN1bHQgPSByZXN1bHQuY29uY2F0KEFycmF5LnByb3RvdHlwZS5zbGljZS5hcHBseSgkKGVudHJ5KSkpOw0KfSk7DQpyZXN1bHQgPSByZXN1bHQuZmlsdGVyKGZ1bmN0aW9uKGVsZW1lbnQsIGluZGV4LCBhcnJheSl7IHJldHVybiAoYXJyYXkuaW5kZXhPZihlbGVtZW50KSA9PSBpbmRleCk7IH0pOyAvL1JlbW92ZSBkdXBsaWNhdGVzDQpyZXR1cm4gcmVzdWx0Ow==</field>
<comment pinned="false" h="80" w="160">selector can be a list of selectors or a string</comment>
</block>
<block type="procedures_defcustomreturn" id="agr2o-v8.6P.ST=anfpW" x="-1737" y="-688">
<mutation statements="false">
<arg name="id" varid="-{zM=0_+GJ6MkP+l32kU"></arg>
</mutation>
<field name="NAME">_getObject</field>
<field name="SCRIPT">cmV0dXJuIGdldE9iamVjdChpZCwgJyonKTs=</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
</block>
<block type="create" id="9T^;okU}hhWJ7+h8l$9}" x="-1737" y="-587">
<field name="NAME">Device-Counter.Adapter-Monitor.countAll</field>
<value name="VALUE">
<block type="math_number" id="TKG3SoNl6QYh%m(x(Xr[">
<field name="NUM">0</field>
</block>
</value>
<value name="COMMON">
<block type="text" id=")Aqnz!kAZE$%qY@^vtjo">
<field name="TEXT">{"read":"true", "write":"false", "type":"number", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id=":T*?ivlzy=kP#zhQlpi`">
<field name="NAME">Device-Counter.Adapter-Monitor.countRed</field>
<value name="VALUE">
<block type="math_number" id="(f2U!y+g:VB$,57w*=;:">
<field name="NUM">0</field>
</block>
</value>
<value name="COMMON">
<block type="text" id="=5|Jf@)O?#A:^ywpuVa0">
<field name="TEXT">{"read":"true", "write":"false", "type":"number", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="i)-{TN@Dg[/-I(w,C=1g">
<field name="NAME">Device-Counter.Adapter-Monitor.countYellow</field>
<value name="VALUE">
<block type="math_number" id="es6e_18y8K7Bx`*Li?]P">
<field name="NUM">0</field>
</block>
</value>
<value name="COMMON">
<block type="text" id="s,)y^e(|I4G,$Kw{v^Ac">
<field name="TEXT">{"read":"true", "write":"false", "type":"number", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="CxUlEcSN^7`iBM`#0jjJ">
<field name="NAME">Device-Counter.Adapter-Monitor.countGreen</field>
<value name="VALUE">
<block type="math_number" id="9zuKpU@$6OI0):V%E-U^">
<field name="NUM">0</field>
</block>
</value>
<value name="COMMON">
<block type="text" id="g#Mz$.,9e5.B*@Or`G#a">
<field name="TEXT">{"read":"true", "write":"false", "type":"number", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="PcubcXM)Ijz?70;Wh*MP">
<field name="NAME">Device-Counter.Adapter-Monitor.countGrey</field>
<value name="VALUE">
<block type="math_number" id=",0$Otl}$G(#ezF1mq])+">
<field name="NUM">0</field>
</block>
</value>
<value name="COMMON">
<block type="text" id="fb|R7Vr).G^OZRWz.!P)">
<field name="TEXT">{"read":"true", "write":"false", "type":"number", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="=n|`1P=0?4y2GF=[U+wj">
<field name="NAME">Device-Counter.Adapter-Monitor.countError</field>
<value name="VALUE">
<block type="math_number" id="Efk@2~sz@#3!gY!8M,E{">
<field name="NUM">0</field>
</block>
</value>
<value name="COMMON">
<block type="text" id=".K1c8/6sa`8`Q]Htm%n,">
<field name="TEXT">{"read":"true", "write":"false", "type":"number", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="!W3{,ZKM/i;Y2QYr3]nL">
<field name="NAME">Device-Counter.Adapter-Monitor.countNormal</field>
<value name="VALUE">
<block type="math_number" id="[tV~Tc-iM(F|f5ZHeBtC">
<field name="NUM">0</field>
</block>
</value>
<value name="COMMON">
<block type="text" id="k=~b-Sg(o{@q9p1`+[A,">
<field name="TEXT">{"read":"true", "write":"false", "type":"number", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="sn)k*@v%M^~k9nS|8nH!">
<field name="NAME">Device-Counter.Adapter-Monitor.stateAllAlphabeticalHTML</field>
<value name="VALUE">
<block type="text" id="rnsB`IyI,DX?YYpQ?Tv3">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="2h?MU!:g?F@V6}n]fQzY">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="4KquQ15C(zWFF8g`!p8|">
<field name="NAME">Device-Counter.Adapter-Monitor.stateAllByColorHTML</field>
<value name="VALUE">
<block type="text" id="JreAKy3vbif@UDmx}Rn9">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="dBUIi4H0)hl22gD}I|zH">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="x1w*},;C2m$(Cwh]#v61">
<field name="NAME">Device-Counter.Adapter-Monitor.stateAllByColorCountedHTML</field>
<value name="VALUE">
<block type="text" id="uFZpXS2KKEXGrQg8L3kq">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="FzVD=?W2)]+LX3dIea0a">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="uAF$DhXR3e{W:hfN9Z,O">
<field name="NAME">Device-Counter.Adapter-Monitor.stateAllByStateHTML</field>
<value name="VALUE">
<block type="text" id="MR23njUbfeNy/P`dBkN}">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="+j:V8Ej)^EATcSecOcKo">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="cZ}dMqK3~FD~8RPQj%eF">
<field name="NAME">Device-Counter.Adapter-Monitor.stateAllByStateCountedHTML</field>
<value name="VALUE">
<block type="text" id=".6W:([KzI-KX15745bas">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="FD`%~LAv0%!Qe;95A?;u">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="3uU^eWB:ZTRY4C#2OM6Q">
<field name="NAME">Device-Counter.Adapter-Monitor.stateRedHTML</field>
<value name="VALUE">
<block type="text" id="j417aZo7eaniR9q:grNE">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="_Nc1:L6@.:[~Xr|pSQ7M">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="y.OpR-0!+F](H_K)Hw0+">
<field name="NAME">Device-Counter.Adapter-Monitor.stateYellowHTML</field>
<value name="VALUE">
<block type="text" id="/Z!|P3Oz9Ofy$U*.N~Q1">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="82WAOg[=:}OeZg{6z-e@">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="QZBCE:mdgC{ki8-6q|$0">
<field name="NAME">Device-Counter.Adapter-Monitor.stateGreenHTML</field>
<value name="VALUE">
<block type="text" id="p.B1UO139g@uk-+T+[!N">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="c[;,R[otEag,VX{BXR/K">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="cmUUK]:9[ap7izv.c9mu">
<field name="NAME">Device-Counter.Adapter-Monitor.stateGreyHTML</field>
<value name="VALUE">
<block type="text" id="c/G]]Sp@V/-/pSin,[U0">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="sxhOh8HEfoN!g]1LyqN#">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="FBY3n(,XGwAvW2R.yHL#">
<field name="NAME">Device-Counter.Adapter-Monitor.stateErrorHTML</field>
<value name="VALUE">
<block type="text" id="H6W)TZ^9j$T%4PDv^%I*">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="R/v*nn#qpkhsRtFn;(Ig">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="8OG6rt!5E[)U/7QS)0L|">
<field name="NAME">Device-Counter.Adapter-Monitor.stateError</field>
<value name="VALUE">
<block type="text" id="$%;^lC96+T9k~_#wcOE+">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id=";$w8}CU+r.=$m96B!vl!">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
<next>
<block type="create" id="#,W!YzSODS6L(G{EMDGP">
<field name="NAME">Device-Counter.Adapter-Monitor.stateNormalHTML</field>
<value name="VALUE">
<block type="text" id="vm4u5-.M118F)?!rBYf]">
<field name="TEXT"></field>
</block>
</value>
<value name="COMMON">
<block type="text" id="v;dsDJRsg}CF(`4x1eBd">
<field name="TEXT">{"read":"true", "write":"false", "type":"string", "unit":""}</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
<block type="on_ext" id="hQ:Q]2NmwBpz5[kfo%om" x="-763" y="-587">
<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 type="field_oid" id="j4=_-ezKM4_BERrcTABU">
<field name="oid">default</field>
</shadow>
<block type="procedures_callcustomreturn" id="VD7oXF+l;L]gH$=_gqcX" inline="true">
<mutation name="selector$">
<arg name="selectors"></arg>
</mutation>
<value name="ARG0">
<block type="text" id="GLkk)tn3gWkm#Y,NhEb:">
<field name="TEXT">channel[state.id=system.adapter.*.alive]</field>
</block>
</value>
</block>
</value>
<statement name="STATEMENT">
<block type="timeouts_cleartimeout" id="0OOn-02()zGFj#=41_g$">
<field name="NAME">timeout</field>
<next>
<block type="timeouts_cleartimeout" id="7F!pwsxam%6adjLCTKeQ">
<field name="NAME">timeout2</field>
<next>
<block type="timeouts_settimeout" id="x~bzpj{!xXt8);Qud`le">
<field name="NAME">timeout</field>
<field name="DELAY">5000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="5(-m8ChJ}%}[Ii=J(aox">
<mutation name="checkAdapters"></mutation>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="on_ext" id="dy2Pz`8gJ5w4j{)$!x$+">
<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 type="field_oid">
<field name="oid">default</field>
</shadow>
<block type="procedures_callcustomreturn" id="1jLVDpt-YXS)~%/Nujz3" inline="true">
<mutation name="selector$">
<arg name="selectors"></arg>
</mutation>
<value name="ARG0">
<block type="text" id="#sh)`a+640@WO=JvO^mm">
<field name="TEXT">channel[state.id=*.info.connection]</field>
</block>
</value>
</block>
</value>
<statement name="STATEMENT">
<block type="timeouts_cleartimeout" id=";t~e9@]p2Spz+YM?.?o:">
<field name="NAME">timeout</field>
<next>
<block type="timeouts_cleartimeout" id="Yt[Q.l:F*K-,9)72@}2(">
<field name="NAME">timeout2</field>
<next>
<block type="timeouts_settimeout" id="gQj(ZU|?A~WT$;^R!.Ty">
<field name="NAME">timeout2</field>
<field name="DELAY">5000</field>
<field name="UNIT">ms</field>
<statement name="STATEMENT">
<block type="procedures_callnoreturn" id="2u(vVOD-JE+99P,jjU|/">
<mutation name="checkAdapters"></mutation>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="procedures_callnoreturn" id="=Ql1x=,knrBeWailBN1u">
<mutation name="checkAdapters"></mutation>
</block>
</next>
</block>
</next>
</block>
<block type="procedures_defnoreturn" id="X;c_HjW/RjzD$ePI_r3s" x="-762" y="-87">
<field name="NAME">checkAdapters</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="variables_set" id="Fo81mJJ4P`U$rT2X[#}e">
<field name="VAR" id=":#pAmn)J+4y@j-f:MShr">adapterList</field>
<value name="VALUE">
<block type="lists_create_with" id="lBoPGh7F_ta*x@E`AigD">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="controls_forEach" id="o7hpu+SDE.iUNB;27[Hz">
<field name="VAR" id="bH}#vV3I%:T!,NTk32vg">alive</field>
<value name="LIST">
<block type="procedures_callcustomreturn" id="n,KC6IPfP3Bg|*aq8Wz-" inline="true">
<mutation name="selector$">
<arg name="selectors"></arg>
</mutation>
<value name="ARG0">
<block type="text" id="@RT}VL+T0nN~`TRDzjAn">
<field name="TEXT">channel[state.id=system.adapter.*.alive]</field>
</block>
</value>
</block>
</value>
<statement name="DO">
<block type="lists_setIndex" id="JoWM%bpDu|XK/lJMq^W}">
<mutation at="false"></mutation>
<field name="MODE">INSERT</field>
<field name="WHERE">LAST</field>
<value name="LIST">
<block type="variables_get" id="$M`e0^XOOt#3p]b;Eq#b">
<field name="VAR" id=":#pAmn)J+4y@j-f:MShr">adapterList</field>
</block>
</value>
<value name="TO">
<block type="text_getSubstring" id=":dQM{t;ShH4JeLHOXo?]">
<mutation at1="false" at2="true"></mutation>
<field name="WHERE1">FIRST</field>
<field name="WHERE2">FROM_START</field>
<value name="STRING">
<block type="variables_get" id="MLm$0b/Sj;a`XxZYEO~j">
<field name="VAR" id="bH}#vV3I%:T!,NTk32vg">alive</field>
</block>
</value>
<value name="AT2">
<block type="math_arithmetic" id="mcoiAV%Kh$sWiYM6QZdK">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number" id="s_F+^sY9V.m?]WDEjSoP">
<field name="NUM">1</field>
</shadow>
<block type="text_indexOf" id="1P/x2^qz18Mhjb`krl_[">
<field name="END">LAST</field>
<value name="VALUE">
<block type="variables_get" id="|M}+AD-~5sTK].|v)JoX">
<field name="VAR" id="bH}#vV3I%:T!,NTk32vg">alive</field>
</block>
</value>
<value name="FIND">
<shadow type="text" id="}9[NL#8e{crHnmy$vzQ2">
<field name="TEXT">.</field>
</shadow>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="*-,c]MV.Z}_@EY?[Bq)(">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
</block>
</statement>
<next>
<block type="variables_set" id="3#H]0LB]ROX+yDgeX4-o">
<field name="VAR" id=":#pAmn)J+4y@j-f:MShr">adapterList</field>
<value name="VALUE">
<block type="lists_sort" id="ZM,`D_e1UppHJU{(S^(l">
<field name="TYPE">TEXT</field>
<field name="DIRECTION">1</field>
<value name="LIST">
<block type="variables_get" id="Tb=k`)7!k$o?qI:Nn6v*">
<field name="VAR" id=":#pAmn)J+4y@j-f:MShr">adapterList</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="F3Bo.dwy0UQyN/cK*kpf">
<field name="VAR" id="K52If=[MC^hG]Rq?L-5D">stateAllAlphabeticalHTML</field>
<value name="VALUE">
<block type="text" id="t2tlsMUwxGzN^Jo6I`*K">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="IK6iG[S_=c8qE9`)VV0:">
<field name="VAR" id="arX)jNaFSJbad1eGLC6D">stateRedHTML</field>
<value name="VALUE">
<block type="text" id="pO6]e*j$N{;l3Kr@S}zN">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="9MjDap*6i$|bs=ayYCkn">
<field name="VAR" id="#+`:pq){g,|zIw*X|i_o">stateYellowHTML</field>
<value name="VALUE">
<block type="text" id="mJ7X;aiY0Y%n@,o4TJM`">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="M=#@u=]^c-fmBSkzva2I">
<field name="VAR" id="_Lt=QTuw7b10Ts.p*;+z">stateGreenHTML</field>
<value name="VALUE">
<block type="text" id="8L[vfyc)+_|D%[~]?$Y~">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id=",,w2R8=*W@#s`i/mwX^E">
<field name="VAR" id="{kG$6*9bvWCJ5ea:Pz-L">stateGreyHTML</field>
<value name="VALUE">
<block type="text" id="Pv3N?lJSf:DLT|w_:CEl">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="_EtN)~Q_7Vq]3^Xj=/F6">
<field name="VAR" id="k(Na+%?sW.5!{ZhYOQJ/">stateNormalHTML</field>
<value name="VALUE">
<block type="text" id="8#AwyvF^Db,`i!hea,o`">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="UKoGAX%i#]?;=/:3vCXw">
<field name="VAR" id=")PGa:x*yl3W+w6DrxR32">stateErrorHTML</field>
<value name="VALUE">
<block type="text" id="]TS.mu4jjd7z81bJL~%:">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="%I^m9S?$dOud%0=g*gm8">
<field name="VAR" id="pTo{jCMj={Dg4lCxKl1{">stateError</field>
<value name="VALUE">
<block type="text" id="miG^5Q|}Xhf3RU,^-XM@">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="8nnAkfZW!d)):_pR555[">
<field name="VAR" id="SaPCdDTIzfn!-UW$Ct0U">countAll</field>
<value name="VALUE">
<block type="math_number" id="/q+oEjEJss6SPx]iu2VW">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id="DK/7KBBxv@Eu~cu!p-#E">
<field name="VAR" id="xX]l^BXUCzyW`^ur1nFC">countRed</field>
<value name="VALUE">
<block type="math_number" id="LR_P$fUnb5`exv`CR`%8">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id="}Aigr-.Evl[2Kg1IpH2W">
<field name="VAR" id="RLicJ(%dXJ_-zLmuU~R;">countYellow</field>
<value name="VALUE">
<block type="math_number" id="#|Huk3n`r?RLvVx0wsQq">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id="ya$.zM2?f(H0]YTgkT,9">
<field name="VAR" id="aEb9^c`C!x=|C$yUWIhr">countGreen</field>
<value name="VALUE">
<block type="math_number" id="D$D$H4pG.h~3/%P1gDb.">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id="by{;w8AcSm9.N;M|=j/s">
<field name="VAR" id="HRrFbbkQo{YYhD[dYEQE">countGrey</field>
<value name="VALUE">
<block type="math_number" id="|LlOERxZ/(]Mwkyla!Pj">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id="PFPBh_GFN[C~i-4P%,cA">
<field name="VAR" id="pSkfHjO!xsadvLW+K%vh">countNormal</field>
<value name="VALUE">
<block type="math_number" id="iwuufNN^Oh.1{O7N4q)[">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id="+5xrvnTR-u|WMaV1OO4Z">
<field name="VAR" id="_bT7ul!)d@=IVgZ#%JH*">countError</field>
<value name="VALUE">
<block type="math_number" id="uPd}27.0.zy{-7c2EvzX">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="controls_forEach" id="%{?44.NQrm1V3`piEgJn">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
<value name="LIST">
<block type="variables_get" id="Af$x~uKbTJxGLr={++D#">
<field name="VAR" id=":#pAmn)J+4y@j-f:MShr">adapterList</field>
</block>
</value>
<statement name="DO">
<block type="controls_if" id="Z^B731-k?paT!AL@_ewJ">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="rTG8VZg/;BS!,-wrKwsP" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="HX#HS-X,u;9MQ/92G:{_">
<field name="OP">EQ</field>
<value name="A">
<block type="get_attr" id="vL3roSHi!+/251#0@#:+">
<value name="PATH">
<shadow type="text" id="08%5|[5/+T?Y=A]w(tdh">
<field name="TEXT">common.mode</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="]Y4qKVTVI+.DEz#CJYk5" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="FcP]B.#(sq8dK]-`yUD=">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="text" id="Tx#d]-[szF}y$5RH2,e$">
<field name="TEXT">daemon</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="get_attr" id="a[ShYfMJMV4E]_tj^A85">
<value name="PATH">
<shadow type="text" id="kann0M0^W-}#mh/foR#R">
<field name="TEXT">common.enabled</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id=".}cJ_)V0)%vV9F*U/7}B" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="9Km?dqcDDhp6C6=KT_C[">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="controls_if" id=":%w1asP-q%xeuA)uwqNb">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_negate" id=";9xi:3g0n4$#uCRjY:gv">
<value name="BOOL">
<block type="get_value_var" id="c!B[e4fob{-Q@3)mU4}y">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="0;H$gZ[KyqLvwtBf$WF[">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="w2mT4V-|3d7PD,BL;(_v" inline="true">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="variables_get" id="H[(]Mz@H}I]nhqcM~-]`">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
<value name="ADD1">
<block type="text" id="QD-t/=GOH{%2p(Do2^0l">
<field name="TEXT">.alive</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="Bq_BMRnq#8PgIx}%snj7">
<field name="COMMENT">Not alive - red</field>
<next>
<block type="variables_set" id="=;6[JrB9E,wj$2E9s1xb">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
<value name="VALUE">
<block type="text" id="KS3d*E60q5ofCQ!muGd2">
<field name="TEXT">red</field>
</block>
</value>
<next>
<block type="math_change" id="@!/2(CP%diiv6ZtY|a)s">
<field name="VAR" id="xX]l^BXUCzyW`^ur1nFC">countRed</field>
<value name="DELTA">
<shadow type="math_number" id="HTY2Y.C1I}8Y%KX_@5wI">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="text_append" id="5p/mP3X.Nq#:u#r8M-T!">
<field name="VAR" id="arX)jNaFSJbad1eGLC6D">stateRedHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="w7ob;UY~~8y[mCrFB|5f">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="Ip0VG0-0_Xr@??K??T0w">
<field name="TEXT"><span style='color:</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="j]mF%I?^jWRy|Ev!x(WQ">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="mt9RvkxxKR5)~-_O6%)7">
<field name="TEXT">;'>&#9679;</span>&nbsp;</field>
</block>
</value>
<value name="ADD3">
<block type="get_attr" id="SgStBX%oVV,sP.B]NNyH">
<value name="PATH">
<shadow type="text" id="5O6v#:s/MQF442l1t]7m">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="^Qr_YWjHC=D,z^2wypa`" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id=",x2jD(NMMd).?kf)01no">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id=";j(2#icU!j-ViCR.y+~D">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="math_change" id="sy[P*Z.H8Z/`x_hSAEBW">
<field name="VAR" id="_bT7ul!)d@=IVgZ#%JH*">countError</field>
<value name="DELTA">
<shadow type="math_number" id="^PixFC}i#C)kcxCNEXGH">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="text_append" id="xTjGN#!E(Ga`HQo4R@s^">
<field name="VAR" id=")PGa:x*yl3W+w6DrxR32">stateErrorHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="IYV%-r*=F@Y5|([AFDhe">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="D{Bw({F|;sAo-:dgQ*Y@">
<field name="TEXT"><span style='color:</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="FC[T2k|KjpLzxDYIIX~!">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="#|~7Wp4G/l,)Yd7yE6@0">
<field name="TEXT">;'>&#9679;</span>&nbsp;</field>
</block>
</value>
<value name="ADD3">
<block type="get_attr" id="y8sxOi;)Mh[qy8eOA~oL">
<value name="PATH">
<shadow type="text" id="8eakpq:pHtgh]YD6mNN-">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="{$e(y6K.*JQ$ah@/}]le" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="pA5Ke[JI|U1n_*X$%lbE">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="VkZ0$C3:sj#=h{Rp/T9p">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="text_append" id="%Pm:W:Gm@e:}Obw2#%V9">
<field name="VAR" id="pTo{jCMj={Dg4lCxKl1{">stateError</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="W/8X)}|,Y,goeQrL0A?c">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="get_attr" id="+DAg1!NYY|5?8M3s#jcb">
<value name="PATH">
<shadow type="text" id="|%$t7$#JxnM5Lt~ub:{7">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="[gAT)5pbZozT6#w9m`d7" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="w~axPfdbHNs(pF?res/g">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD1">
<block type="text" id="K5XZv6cm{|t0Wks(:q,6">
<field name="TEXT">, </field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="controls_if" id="[Y[OQYsK:C21hoL}nDa3">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="nW^o)k;($i:+ww}j_ApQ" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="procedures_callcustomreturn" id="Nrj`NcQ);8LF10@:@.R^">
<mutation name="checkExistance">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="PtAloRFMnImIu+f=Wh@K" inline="true">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text_getSubstring" id="jlseMdgmIBej5O2d;!`s">
<mutation at1="true" at2="false"></mutation>
<field name="WHERE1">FROM_START</field>
<field name="WHERE2">LAST</field>
<value name="STRING">
<block type="variables_get" id="N-AP`hxM=S:#bsc_J:I(">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
<value name="AT1">
<block type="text_length" id="aUE1/+4Z`t2pY=]0[up|">
<value name="VALUE">
<shadow type="text" id="k82Ivt#avT=K5{BM0^}b">
<field name="TEXT">system.adapter.-</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<value name="ADD1">
<block type="text" id="U~.y.Xc`ZavS,2F$+1V]">
<field name="TEXT">.info.connection</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="DYhOV_$KJ0tErrG~-YHJ">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value_var" id="Rr8HS|:QSRe/wEL{Ptzv">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="text" id="?JOe;|`Sr)#PN)5qeY,q">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="eDhNymJ+Bnhsm^z_Ht;J" inline="true">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="text_getSubstring" id="Yas1TZ8xlZ=N)ro`L)Wz">
<mutation at1="true" at2="false"></mutation>
<field name="WHERE1">FROM_START</field>
<field name="WHERE2">LAST</field>
<value name="STRING">
<block type="variables_get" id="M:o9TjlLE8gK3SpH$bEk">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
<value name="AT1">
<block type="text_length" id="fI9oq)^l+CwtxPe*D5s%">
<value name="VALUE">
<shadow type="text" id="ijXF1c%N8/js_;$pN7?R">
<field name="TEXT">system.adapter.-</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<value name="ADD1">
<block type="text" id="e])!*Ka*_3TTT#r?yrCf">
<field name="TEXT">.info.connection</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="WKojRXD;AT?8^8Rk%gv}">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="3$-P(7FZ:G44gd)i/^:q">
<field name="COMMENT">Not connected - yellow</field>
<next>
<block type="variables_set" id="h|kXsUA@q]=]*am#$v#F">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
<value name="VALUE">
<block type="text" id="]$5ddAf}*{X`Y}nVLt@I">
<field name="TEXT">yellow</field>
</block>
</value>
<next>
<block type="math_change" id="ws$Jl[b[Do%XOu*@%O|D">
<field name="VAR" id="RLicJ(%dXJ_-zLmuU~R;">countYellow</field>
<value name="DELTA">
<shadow type="math_number" id="40VdL$Tzj#CYc^Aamn8s">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="text_append" id="m*_IU`*OtP?nSs/TWn2?">
<field name="VAR" id="#+`:pq){g,|zIw*X|i_o">stateYellowHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="K_/)I?LaR579ylbn6W0M">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="=@?nu$VKyFtCWAFx_um3">
<field name="TEXT"><span style='color:</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="3@x?3lDc5unR9qd9yI2i">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="b,d^eCzjuQPzIW:1tB+=">
<field name="TEXT">;'>&#9679;</span>&nbsp;</field>
</block>
</value>
<value name="ADD3">
<block type="get_attr" id="GFfjb6_svW}9]~(siTKW">
<value name="PATH">
<shadow type="text" id="M]CvOjz4P}-_uP`22yz+">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="gy%EqoTwak`mce.|moRZ" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="F0^2p^}_@|R-jc-Q#,(;">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="+b-o+h9^1?dg67OvK)Lk">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="math_change" id="{y3$:u|z}1S%:ea`dUzB">
<field name="VAR" id="_bT7ul!)d@=IVgZ#%JH*">countError</field>
<value name="DELTA">
<shadow type="math_number" id="V]94jB*=p-Y;d8ngL^cE">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="text_append" id="mY;{hm,JZGgj`CD4bB8l">
<field name="VAR" id=")PGa:x*yl3W+w6DrxR32">stateErrorHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="u4jPOQ!5MlfIFS}`IvyF">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="l=k9g$ddg$vv@pObpT*X">
<field name="TEXT"><span style='color:</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id=",8~`Dheep2Qx-!Jl?^Rc">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="]#NOwA|*x6F4F/dR{-}Z">
<field name="TEXT">;'>&#9679;</span>&nbsp;</field>
</block>
</value>
<value name="ADD3">
<block type="get_attr" id="kT_Uq7qjo--(?U$z,,A#">
<value name="PATH">
<shadow type="text" id="UE|C-*-fn_k2`N,1x3xB">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="kZ:LLnmRnq**i3O,3ZGG" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="Q#r|18TPCGl.DCD/Ac.K">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="V$4J_odpZLvQIV(m]/o~">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="text_append" id="pu}^-rY{TZPbY-t9CA{Y">
<field name="VAR" id="pTo{jCMj={Dg4lCxKl1{">stateError</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="GhsYvR.nPh$6ILAD`|6u">
<mutation items="2"></mutation>
<value name="ADD0">
<block type="get_attr" id=",?4xysm(sSE1N|U7I}n3">
<value name="PATH">
<shadow type="text" id="S+xs%pfFd~}L$LS:8~vN">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="[_+}.t}=r=xG%R0K]s:u" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="KCgQ~Z02-$~Y51Iy$cl9">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD1">
<block type="text" id="%P5VRW8H%N39^+S~pI.u">
<field name="TEXT">, </field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<statement name="ELSE">
<block type="comment" id="eYZ@0^saAHMv=1[@TbY}">
<field name="COMMENT">Alive and connected - green</field>
<next>
<block type="variables_set" id="Ju:CW7u$`Pymc_,SK4rh">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
<value name="VALUE">
<block type="text" id="0llRm%[}o9aeK/^2N#j6">
<field name="TEXT">green</field>
</block>
</value>
<next>
<block type="math_change" id="|)F6*fBIe9cV~TErH%S3">
<field name="VAR" id="aEb9^c`C!x=|C$yUWIhr">countGreen</field>
<value name="DELTA">
<shadow type="math_number" id="U4w%IT`k~9D+IAw62E*1">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="text_append" id="*rh!YuOi|Pn[4ZTr+1{A">
<field name="VAR" id="_Lt=QTuw7b10Ts.p*;+z">stateGreenHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="%^d`Sxw32;n1;^Z@}X!,">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="q{Yr0-R6zJQ6W$D`e18c">
<field name="TEXT"><span style='color:</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="8Gn}AYCi)Z#a]]{2?xtw">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="Z=;*c@W-_O?^Nfx`Zz2e">
<field name="TEXT">;'>&#9679;</span>&nbsp;</field>
</block>
</value>
<value name="ADD3">
<block type="get_attr" id="GpOO:MW:foCJ#R]exH$-">
<value name="PATH">
<shadow type="text" id="t/.Z@hhiRM)2N?V@b*j{">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="}0OO`Tj|j7W[kChrf{7h" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="nf]`1;j0a,Kh]mK7h-.[">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="l=3t3=bcegHeKDF?wRgz">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="math_change" id="R3,0NIoQ)S`bqqeC/VCK">
<field name="VAR" id="pSkfHjO!xsadvLW+K%vh">countNormal</field>
<value name="DELTA">
<shadow type="math_number" id="0.vahxhD1[vTF|1MlSZ{">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="text_append" id="o,j$OKL}(s`8$eS=R45V">
<field name="VAR" id="k(Na+%?sW.5!{ZhYOQJ/">stateNormalHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="`7n5hujsi]xOsd_EG`:i">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="gbX3J8MnLa:Pfzo#MnLq">
<field name="TEXT"><span style='color:</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id=",6VJ_Gp61jIyYw)+T}T:">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="f}YZ~(fjCblfeO`}?r;J">
<field name="TEXT">;'>&#9679;</span>&nbsp;</field>
</block>
</value>
<value name="ADD3">
<block type="get_attr" id="A9j35?e?|+8U3]H=|Tj-">
<value name="PATH">
<shadow type="text" id="Rr$dU6IxZ:,~5+7HG*D6">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="bx_`+AsR]m$%.%p2onP6" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="1h;AZ;)J}3;Yi-]E?8#8">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="hr(lla$JQqyeD.qqdSVL">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</statement>
<statement name="ELSE">
<block type="comment" id="2[st|i~|mTk8H.0@z?hr">
<field name="COMMENT">Disabled or not a deamon - grey</field>
<next>
<block type="variables_set" id="lkQ}hXC_T@o70U7eb3Sp">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
<value name="VALUE">
<block type="text" id="xHq*cJy^-2mI`1$;Pt7%">
<field name="TEXT">grey</field>
</block>
</value>
<next>
<block type="math_change" id="3d++7#jgK?h#`Z#Z,elm">
<field name="VAR" id="HRrFbbkQo{YYhD[dYEQE">countGrey</field>
<value name="DELTA">
<shadow type="math_number" id="{8L$0zR+72syYhkQuqXI">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="text_append" id="fvIr)dbC,mC`PP48]~D9">
<field name="VAR" id="{kG$6*9bvWCJ5ea:Pz-L">stateGreyHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="UA}$m)`il3Y0YF{c-?Fw">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="z@$p||S.G4*;wA4`}i(l">
<field name="TEXT"><span style='color:</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="-yOQp)|rk3:3(NO[24d)">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="XK0Sh+ROV[,8UWhPGxBn">
<field name="TEXT">;'>&#9679;</span>&nbsp;</field>
</block>
</value>
<value name="ADD3">
<block type="get_attr" id="WP8.A7zHWMhR5@p_[uFX">
<value name="PATH">
<shadow type="text" id="%()PW9P_ScHV]hXd@jMZ">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="!vQ{`[~=zG@_DWOrcC3b" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="c~PZqOaA[`5F{ItrL;kk">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="}Ohl2$fLG@F#5lFr2^Vp">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="math_change" id="cHEx5@vu[%*=oBr-C[|k">
<field name="VAR" id="pSkfHjO!xsadvLW+K%vh">countNormal</field>
<value name="DELTA">
<shadow type="math_number" id="%4ExeaQ$3BCW1+HjZUc_">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="text_append" id=";TNc`rp9rK9|@+d}j$+*">
<field name="VAR" id="k(Na+%?sW.5!{ZhYOQJ/">stateNormalHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id=",e{Eox)c3~oW3Buu]19J">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="Zd_D)s/cn|[q^T(u/zhV">
<field name="TEXT"><span style='color:</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="KzI)3F3Of%E$tbaQ_*QH">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="^Z)cM$KRD4dTXt~E%/X2">
<field name="TEXT">;'>&#9679;</span>&nbsp;</field>
</block>
</value>
<value name="ADD3">
<block type="get_attr" id="$Kts%g6GP[Pra=E*Mwr@">
<value name="PATH">
<shadow type="text" id="IYxaeGvpn1`L+t{lS|0J">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id=".nx1GSj20mK`%2^:0c(X" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="7qZ}b`Ci_i#vNa$(Aqr~">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="A*`*6~)iG|KNU5oEFNR3">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="math_change" id="bplz$d$n(4_|9m?F[qI{">
<field name="VAR" id="SaPCdDTIzfn!-UW$Ct0U">countAll</field>
<value name="DELTA">
<shadow type="math_number" id="#*(xA.Ym]Q.Xl4CfxR*x">
<field name="NUM">1</field>
</shadow>
</value>
<next>
<block type="text_append" id="o|UlT@2viLwB4tTg[U!l">
<field name="VAR" id="K52If=[MC^hG]Rq?L-5D">stateAllAlphabeticalHTML</field>
<value name="TEXT">
<shadow type="text" id="|j@$hmZ=qE`!WL$]o8|-">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="xks-eh_[$wfQYw[HA:jx">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="tps^(0mvD=!ddauBk}hR">
<field name="TEXT"><span style='color:</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="LMGSlHKnpbbcpD,o9gwv">
<field name="VAR" id="yucHW$1Nri3}-fFK7Da$">color</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="BE7!pdA(PTeLZ-EXCasM">
<field name="TEXT">;'>&#9679;</span>&nbsp;</field>
</block>
</value>
<value name="ADD3">
<block type="get_attr" id="q.dmV=]);n_#n)Ddivwo">
<value name="PATH">
<shadow type="text" id="Ig%#p6l5G+h0rR$N[~Z^">
<field name="TEXT">common.name</field>
</shadow>
</value>
<value name="OBJECT">
<block type="procedures_callcustomreturn" id="?!v)Q*JM,PZesyp){aw|" inline="true">
<mutation name="_getObject">
<arg name="id"></arg>
</mutation>
<value name="ARG0">
<block type="variables_get" id="[P!fCJ3EKVk_HOM?bnDk">
<field name="VAR" id="yAw]o/l?5{k1O;_oKN0X">adapter</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="ADD4">
<block type="text" id="V}]dhNExh6+Lh~j5]+Vy">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="variables_set" id="157:fGQNT}Nbg!-e31|o">
<field name="VAR" id="vABLH$v:Nb/JXV;NUN/p">stateAllByColorHTML</field>
<value name="VALUE">
<block type="text" id="(2~IzQyf5lwc5-=]%(H#">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="z{Hm*AS0CgCwMq]#8c:)">
<field name="VAR" id="Jx1g7!Z[ck$j]w#B5PPS">stateAllByColorCountedHTML</field>
<value name="VALUE">
<block type="text" id=")5v7rnU{?,3|q0QG+qXH">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="controls_if" id="8d19o5AH{-9F[,Mh0e?e">
<value name="IF0">
<block type="variables_get" id="|wZudb+uu5^RQG6J(x/_">
<field name="VAR" id="xX]l^BXUCzyW`^ur1nFC">countRed</field>
</block>
</value>
<statement name="DO0">
<block type="text_append" id="ca{j:X^d0n-ON@?.=0*g">
<field name="VAR" id="vABLH$v:Nb/JXV;NUN/p">stateAllByColorHTML</field>
<value name="TEXT">
<shadow type="text" id="s`r+#rhW0H$mu5T6^0/?">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="q@5Wj%A=o%O217%yStx/">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="r;2|.D`dH48#l_9(]fkD">
<field name="TEXT"><b><u>Rot:</u></b><br></field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="~)]53K|vWQ.|.b/+5[E4">
<field name="VAR" id="arX)jNaFSJbad1eGLC6D">stateRedHTML</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="gE*L.Pi7gOZ.L{-wXk|/">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="text_append" id="*8MXIc?NrsBhge,FBAV-">
<field name="VAR" id="Jx1g7!Z[ck$j]w#B5PPS">stateAllByColorCountedHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="fK#:7_*w;FfO?{wlp|[(">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="TcoF:y/dz^|6;IU^pOxT">
<field name="TEXT"><b><u>Rot (</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="u*v%rY{2IP,GeDnVD@#/">
<field name="VAR" id="xX]l^BXUCzyW`^ur1nFC">countRed</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="[R*PGB1TQSC=H~7M.eUT">
<field name="TEXT">):</u></b><br></field>
</block>
</value>
<value name="ADD3">
<block type="variables_get" id="0TQ*VA`s/a5u{mVc/*_]">
<field name="VAR" id="arX)jNaFSJbad1eGLC6D">stateRedHTML</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="G3J-#E#.A4HDvdXHZszc">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="ue0d*(5k-$BemNd4:-Kv">
<value name="IF0">
<block type="variables_get" id="M=Ag#=:U/P4X2s5i?y}{">
<field name="VAR" id="RLicJ(%dXJ_-zLmuU~R;">countYellow</field>
</block>
</value>
<statement name="DO0">
<block type="text_append" id="8P*;)3LBs58c@xh}EX7P">
<field name="VAR" id="vABLH$v:Nb/JXV;NUN/p">stateAllByColorHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="Su:d?_hrl(hmdh_(d.8$">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="olu=yNp.w2WUTO6w[A@|">
<field name="TEXT"><b><u>Gelb:</u></b><br></field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="6Y=6%b84M!fQU)h+5Z{t">
<field name="VAR" id="#+`:pq){g,|zIw*X|i_o">stateYellowHTML</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="Zcku8,?VjlT^F[KF@Iq|">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="text_append" id="`@YYz8DwXF9N7{;gdGUe">
<field name="VAR" id="Jx1g7!Z[ck$j]w#B5PPS">stateAllByColorCountedHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="PLH4b`s#=.J_5D,Hlg4W">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="1Qm6_TFtOdi)%l]rTj+P">
<field name="TEXT"><b><u>Gelb (</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="po+EVBGmzqha4!Lk{n|W">
<field name="VAR" id="RLicJ(%dXJ_-zLmuU~R;">countYellow</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="xlg]%TsxSSkrfHx!$-^h">
<field name="TEXT">):</u></b><br></field>
</block>
</value>
<value name="ADD3">
<block type="variables_get" id="[9`*;Ov_q5DA!~rJ_cFB">
<field name="VAR" id="#+`:pq){g,|zIw*X|i_o">stateYellowHTML</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="2*rhv0FQ!xGqK9QW@k=*">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="0cPLIOR.?-dHJ|+`WW~i">
<value name="IF0">
<block type="variables_get" id="j#p64-az0pw22oT$ppu9">
<field name="VAR" id="aEb9^c`C!x=|C$yUWIhr">countGreen</field>
</block>
</value>
<statement name="DO0">
<block type="text_append" id="ougts:JpP;3ce3dX,5ej">
<field name="VAR" id="vABLH$v:Nb/JXV;NUN/p">stateAllByColorHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="15Fh+3mA{z?K__Zn)mUW">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="Txs4X}JNjnQ{,o;y.tt+">
<field name="TEXT"><b><u>Grün:</u></b><br></field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="m7kCFL{v~EQkv|7xwhT6">
<field name="VAR" id="_Lt=QTuw7b10Ts.p*;+z">stateGreenHTML</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="2jgtS^+x|2xqWOF=7?pv">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="text_append" id="9xfVyIJc`omL9-R4;U@C">
<field name="VAR" id="Jx1g7!Z[ck$j]w#B5PPS">stateAllByColorCountedHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="RtE4TMhhNDG,?-)%Ku#M">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="[9z1MWWt%Iy6k_*:Sl5/">
<field name="TEXT"><b><u>Grün (</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="tuW(~H.aW/11bz{x6:,s">
<field name="VAR" id="aEb9^c`C!x=|C$yUWIhr">countGreen</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="|qr:6G23|lX9{ii%4+Jg">
<field name="TEXT">):</u></b><br></field>
</block>
</value>
<value name="ADD3">
<block type="variables_get" id="^}_VKUVs}::.63[TkSpt">
<field name="VAR" id="_Lt=QTuw7b10Ts.p*;+z">stateGreenHTML</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="G+h~9Kuw@0@%^xJ}ZgqX">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="^Y4,itvQ:uC3Gw~cE3A?">
<value name="IF0">
<block type="variables_get" id="(.#d49`o/e4ES/5)t6/u">
<field name="VAR" id="HRrFbbkQo{YYhD[dYEQE">countGrey</field>
</block>
</value>
<statement name="DO0">
<block type="text_append" id="D^oT|chxM1]f7w8@$K?W">
<field name="VAR" id="vABLH$v:Nb/JXV;NUN/p">stateAllByColorHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="xsWgQNq_;H=.)X[warQO">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="5b$YWeL{qUM7oNGU15Q$">
<field name="TEXT"><b><u>Grau:</u></b><br></field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="=.!I$VV]o3.`tS2,VTF)">
<field name="VAR" id="{kG$6*9bvWCJ5ea:Pz-L">stateGreyHTML</field>
</block>
</value>
<value name="ADD2">
<block type="text" id=":mf5bPF-@NG@dU:r{mT4">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="text_append" id="$q4ljTC0uUXIHD0d0tFe">
<field name="VAR" id="Jx1g7!Z[ck$j]w#B5PPS">stateAllByColorCountedHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="81LnoB|]Bj+M0kH?s_oB">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="e^3iVC#FJJgV|[email protected])">
<field name="TEXT"><b><u>Grau (</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="7l:DIy=%ICx[V)b.x..J">
<field name="VAR" id="HRrFbbkQo{YYhD[dYEQE">countGrey</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="#UlX;Ret|M]qiI=iW)Kc">
<field name="TEXT">):</u></b><br></field>
</block>
</value>
<value name="ADD3">
<block type="variables_get" id="rd$Lps|_w#q8h7NDfrpx">
<field name="VAR" id="{kG$6*9bvWCJ5ea:Pz-L">stateGreyHTML</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="rkNy_2]$VU`mF~%]D{/q">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="variables_set" id="fS,SFi.v|S}@2GyJ$sc:">
<field name="VAR" id="qu^3Pu}?5V`=OdYTLH{I">stateAllByStateHTML</field>
<value name="VALUE">
<block type="text" id="rn3t:!YdG=o}0Z,qmskx">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="variables_set" id="!VD-``CG25HOeiZyriwO">
<field name="VAR" id="?B-Th}wpJn#G0+ff9L|Z">stateAllByStateCountedHTML</field>
<value name="VALUE">
<block type="text" id="H~W/}r9M,|C1pZk3?/fD">
<field name="TEXT"></field>
</block>
</value>
<next>
<block type="controls_if" id="yN.DEG/T7gyv%rW{Q1t[">
<value name="IF0">
<block type="variables_get" id="8Y]mgT_I2*lN3{-uILb1">
<field name="VAR" id="_bT7ul!)d@=IVgZ#%JH*">countError</field>
</block>
</value>
<statement name="DO0">
<block type="text_append" id="1rhhDt5fd|G$bb(s3j{f">
<field name="VAR" id="qu^3Pu}?5V`=OdYTLH{I">stateAllByStateHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="=RlJ=48bAGOpMiG;W7Cq">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="|b$#cjwt)qHFIVJ`nsv0">
<field name="TEXT"><b><u>Fehlerhaft:</u></b><br></field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="X^)t2ut$s|D6_JSe:Vx^">
<field name="VAR" id=")PGa:x*yl3W+w6DrxR32">stateErrorHTML</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="gA)[c+aU1i^.1a}Bv.U+">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="text_append" id="hvm66Bhko|HK,Jt}C}Y8">
<field name="VAR" id="?B-Th}wpJn#G0+ff9L|Z">stateAllByStateCountedHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="-2`42bU/t`w98;(,qNYa">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="CqO(iM`+(%GV3Z4uSe+T">
<field name="TEXT"><b><u>Fehlerhaft (</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="$4H*Z5eh}M?nzN#_6pM-">
<field name="VAR" id="_bT7ul!)d@=IVgZ#%JH*">countError</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="tlH~r+bLu7WCMBdy0if(">
<field name="TEXT">):</u></b><br></field>
</block>
</value>
<value name="ADD3">
<block type="variables_get" id="58+iF~OvXkvX|fmQvRe4">
<field name="VAR" id=")PGa:x*yl3W+w6DrxR32">stateErrorHTML</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="EAt)p{I4i-nio_6;]=z|">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="*s?Rw%+rKeb8alf)2E:?">
<field name="VAR" id="pTo{jCMj={Dg4lCxKl1{">stateError</field>
<value name="VALUE">
<block type="text_getSubstring" id=",gd$VtiMTzph:fqEyHbV">
<mutation at1="true" at2="true"></mutation>
<field name="WHERE1">FROM_START</field>
<field name="WHERE2">FROM_START</field>
<value name="STRING">
<block type="variables_get" id="zoy^Rjl]nxwtaoG`^bbI">
<field name="VAR" id="pTo{jCMj={Dg4lCxKl1{">stateError</field>
</block>
</value>
<value name="AT1">
<block type="math_number" id="`^UCG$[_~z-|Xe73?+z)">
<field name="NUM">1</field>
</block>
</value>
<value name="AT2">
<block type="math_arithmetic" id="w#EWxtn:Lwm]b.6ewt)M">
<field name="OP">MINUS</field>
<value name="A">
<shadow type="math_number" id="|a^re*kRBgh@%%~-E1qi">
<field name="NUM">1</field>
</shadow>
<block type="text_length" id="=q@/mM359Cwa~-%2KnS?">
<value name="VALUE">
<shadow type="text" id="~pIIcJzQ/h2`TBrcFcZj">
<field name="TEXT">abc</field>
</shadow>
<block type="variables_get" id="{PgSX4!wmP%lI%zDv+m1">
<field name="VAR" id="pTo{jCMj={Dg4lCxKl1{">stateError</field>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="uC_OxILM6B3?;7`Fe$2Q">
<field name="NUM">2</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="9O=2*xM=/Q`99joWYC@h">
<value name="IF0">
<block type="variables_get" id="=0.6ANy_z+Z.`+kIQ/El">
<field name="VAR" id="pSkfHjO!xsadvLW+K%vh">countNormal</field>
</block>
</value>
<statement name="DO0">
<block type="text_append" id="{,~Y,Z{s+KMT~,647pPw">
<field name="VAR" id="qu^3Pu}?5V`=OdYTLH{I">stateAllByStateHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="Yex{{0b8?*oc#~{{,;58">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="+nGl)}!NDKaPLZPSY9Lc">
<field name="TEXT"><b><u>Normal:</u></b><br></field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="-;+;4J0e8D-H}DuxAx|~">
<field name="VAR" id="k(Na+%?sW.5!{ZhYOQJ/">stateNormalHTML</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="l?3e|}}+$xdij#gUqA+I">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
<next>
<block type="text_append" id="Q.aL?slny:#CQPXA+Wx+">
<field name="VAR" id="?B-Th}wpJn#G0+ff9L|Z">stateAllByStateCountedHTML</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
<block type="text_join" id="b9d`(-E[mYwEcz0(k9Rt">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="9c`[u6;EtY9bbYxVUC`[">
<field name="TEXT"><b><u>Normal (</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="p^LJo^BxjXHd0FThWdn[">
<field name="VAR" id="pSkfHjO!xsadvLW+K%vh">countNormal</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="Me*~Hy|6/mJakFl2)[4^">
<field name="TEXT">):</u></b><br></field>
</block>
</value>
<value name="ADD3">
<block type="variables_get" id="oQ#~j:T9gMVYQx1eLzP7">
<field name="VAR" id="k(Na+%?sW.5!{ZhYOQJ/">stateNormalHTML</field>
</block>
</value>
<value name="ADD4">
<block type="text" id="shyaLAwW|+XU.C?I+,wT">
<field name="TEXT"><br></field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
<next>
<block type="control_ex" id="t%|{0vY]Ib[9LqwCe;k;">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="tS7D3gX|XCE0d.thlb{w">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateAllAlphabeticalHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="z|EckJ=:NW3XmEyB7#Al">
<field name="VAR" id="K52If=[MC^hG]Rq?L-5D">stateAllAlphabeticalHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="+kq@,e8T%)5!u#A.Torn">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="2kAHT#K}-%=FC{^n;[}2">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="pQhI#Rnh5c6I|BxmA96|">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateAllByColorHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id=")!Vhwj:5M{nVI3paxCAL">
<field name="VAR" id="vABLH$v:Nb/JXV;NUN/p">stateAllByColorHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="6me$G;8G*![-HfR3+js-">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id=".|NU=hT?A0:zo+#T7a73">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="t{RZ~CqtBrCQ#Wfuk^4l">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateAllByColorCountedHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="nR!*=7VK4YM^isoTtX:C">
<field name="VAR" id="Jx1g7!Z[ck$j]w#B5PPS">stateAllByColorCountedHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="Wgx4#5VTp46*EQYJKx?$">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="9fLrtB)t5mhla_!QOSEt">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="Swrnl,}I|:z57Z5$aCJN">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateAllByStateHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id=";VVC7|IW!5CG,GB-3N8z">
<field name="VAR" id="qu^3Pu}?5V`=OdYTLH{I">stateAllByStateHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="#F!shPDd/tR4IWKlvT=[">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="MJczmv$FLDB]~_ih+EMx">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="O02w^Afiiwnlxg.h;[P=">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateAllByStateCountedHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="#KIbe~KaCB|+c?+iUK8z">
<field name="VAR" id="?B-Th}wpJn#G0+ff9L|Z">stateAllByStateCountedHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="zrJa/U!|.Oe_IRs(2wbW">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="hocv2.*3eMj+y!iq-E^[">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="d{*AmwTtfCvD]y/*lo)4">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateRedHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="c}1a`2dd?4.,Tr-6M^(Z">
<field name="VAR" id="arX)jNaFSJbad1eGLC6D">stateRedHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="@]nz4Y5{XX#@1!iQuHr_">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="(VeUW6=7dOX/RTrJE7$H">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="Nw}zX[F^F5BN`({R(:As">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateYellowHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="^39?q?:#TOyTNM$/Uy]L">
<field name="VAR" id="#+`:pq){g,|zIw*X|i_o">stateYellowHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="88~)uP$b0D#SwrTqne:o">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="94S^UQG[iLunPe;KQ]85">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="xaPpo.HRy3S4DyA_YR41">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateGreenHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="u2`5]mdpHWLKXQcZV3Q$">
<field name="VAR" id="_Lt=QTuw7b10Ts.p*;+z">stateGreenHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="Q1cUKx{+)Z(-?mC{H~WA">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id=")4kzjQ)f7rRC;sC.rB[j">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="{%0P?Uf9y(6TQ+[Zb0:@">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateGreyHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="yB=2/Tj6VLFyJQzt?y,)">
<field name="VAR" id="{kG$6*9bvWCJ5ea:Pz-L">stateGreyHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="Ly*li7B3;sj0SP/2=7oc">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="8dBHeNJ@Rlbw5]%{@6M}">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="?,=Vn-8q~LfCp[`4IJ(c">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateErrorHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="}P.h{07LG;n%kXY|P%jo">
<field name="VAR" id=")PGa:x*yl3W+w6DrxR32">stateErrorHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="@YU!mhH!5h~`K4Gb}vM;">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="Yz|JtPzmYD]~4rPyH5k@">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="Em`v.MizGZTrd_hXGhF+">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateError</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="HlUxm0xy@lS!?{~{MR}o">
<field name="VAR" id="pTo{jCMj={Dg4lCxKl1{">stateError</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="ie!OxV}1]XD7BI[xH+VG">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="q3=|%$AI+7j;^}%,@BWF">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="tW1AyGGRd{I|NR:}`t+*">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.stateNormalHTML</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id=":0d`H8P7!,cR2lM%4Fq(">
<field name="VAR" id="k(Na+%?sW.5!{ZhYOQJ/">stateNormalHTML</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="={kP!Pld!cpNGRf;s5PH">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id=")O2[w[yth6@ed`PMAq(l">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="J#U9[{Y.c=j=Zg4T`L4t">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.countAll</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="c`F|$q+I|f0lA9pXm_qf">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="mmS6d75xNZ{sNJWTtJ+$">
<field name="VAR" id="SaPCdDTIzfn!-UW$Ct0U">countAll</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="HbkE$L!5wNJWa=BP:e[)">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="0e7KVNHd,Ip6}YIo?v(G">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="rXh:PH)E^)|v],[({R39">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.countRed</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="wYh*EGdjOb]/D_.|LJo/">
<field name="VAR" id="xX]l^BXUCzyW`^ur1nFC">countRed</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="s]/tThm-Zk80b4!m,RZ6">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="]h[q3mGHML$}lTBrM`tW">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="4f.#T^k?E(,Il5p|{}A|">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.countYellow</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="m;:2)Ly4^!GC}m|:gXz~">
<field name="VAR" id="RLicJ(%dXJ_-zLmuU~R;">countYellow</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="7hTy(F].GoC93}yKG@+J">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="(?Kb))-8h,(xO#~c5twk">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="V42$QQJ?K)3+.!7Ix*B3">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.countGreen</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="Yw(4$t*cXq]~jpQOW@HQ">
<field name="VAR" id="aEb9^c`C!x=|C$yUWIhr">countGreen</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="/=UYT8@YlKb^s@y{)5u@">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="aJWTC[gI49wABtEE`,/Q">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="FGAqkvu_(MWfB[v#fXYq">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.countGrey</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="-wN[X9C-e/!k5QHI)fbD">
<field name="VAR" id="HRrFbbkQo{YYhD[dYEQE">countGrey</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="#v8_-j05,wX4vcrlD@s0">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="/g/MbUAz!#pxM[m*[OcA">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="TJu[ux@eAKS?GzjUv`3^">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.countError</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="2fhyW+0oF8*`vMDCi;,z">
<field name="VAR" id="_bT7ul!)d@=IVgZ#%JH*">countError</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="y5etJoUn[a#+?_*y7Hu]">
<field name="NUM">0</field>
</shadow>
</value>
<next>
<block type="control_ex" id="=%|16/wpVC4yqrNiTHh=">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="$(I0a@2vUU_C|O4L6bg/">
<field name="oid">javascript.0.Device-Counter.Adapter-Monitor.countNormal</field>
</shadow>
</value>
<value name="VALUE">
<shadow type="logic_boolean">
<field name="BOOL">TRUE</field>
</shadow>
<block type="variables_get" id="{43,y[/S.DzzdzMf8r?r">
<field name="VAR" id="pSkfHjO!xsadvLW+K%vh">countNormal</field>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="%Z(ZB3@P3*eYQlyR_aC]">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>
Blockly-Export of extended Script by dslraser: (klick to open)
- The following version of the script is a further development of user dslraser (many thanks for that!)
- In contrast to the original script you can choose in which folder the datapoints are created (e.g.
0_userdata.0
orjavascript.0
- which was used in original script) - Furthermore you can set that all created datapoints schould be deleted - in case you dont' want to use the script any longer (see pictures below)
Blockly-Export of extended Script with instance-numbers by dslraser: (klick to open)
- The following version of the script is a also further development of user dslraser (again many thanks for that!)
- It produces an output with the instance numbers of the adapters (e.g. not only "admin" but "admin.0")
- Create a new device with device-type
value
- Config it like this: