Das exportieren der MAC Adressen via Schleifen ist nicht (mehr) das Problem.
Das läuft, sowohl für die MAC-Adressen der Devices, als auch für die der Clients.
Devices:
Spoiler
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="{Pv5){4~w158o@Cmx}q}" x="863" y="413">
<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="=IFAs`DW|XS7^X`s8*9e">
<field name="oid">ID auswählen</field>
</shadow>
<block type="selector" id="58^jI6XQ=xT^~AV,~zXl">
<field name="TEXT">state[state.id=unifi.0.default.devices.*.mac]</field>
</block>
</value>
<statement name="STATEMENT">
<block type="procedures_callcustomnoreturn" id="5%;6a+^yk1`RV@4{Vi0h">
<mutation name="dp_devices_ausleitungen"></mutation>
<next>
<block type="variables_set" id="[FA)jVB;fy/]7!+LH~3P">
<field name="VAR" id="eIJA-5e/[gK,eff6c3cD">anzahl_devices</field>
<value name="VALUE">
<block type="math_number" id="oIXa$a?O`y+OB!*^mQ|G">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id="CMkTSb~;;mcZ(jgB8ann">
<field name="VAR" id="7~jt=ib9sx]c}W8*s(r$">ausleitung_mac_devices</field>
<value name="VALUE">
<block type="lists_create_with" id="ggtba#@?%OX`Z1oA-H69">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="controls_forEach" id="?Y?hy+QZj+5a~zR0G;~H">
<field name="VAR" id="@eDJ]{C,Nm,#SY6K?]U(">aa</field>
<value name="LIST">
<block type="selector" id="^XNAb7vi]w@S2VwTqXR=">
<field name="TEXT">state[state.id=unifi.0.default.devices.*.mac]</field>
</block>
</value>
<statement name="DO">
<block type="controls_if" id="[**|[4(K;A[}-r$[*xu`">
<value name="IF0">
<block type="logic_negate" id="XT[@q!W[j7[,qtFjB5Tk">
<value name="BOOL">
<block type="text_contains" id="jMJhXd-9y2H$G{QJcwc!">
<value name="VALUE">
<block type="variables_get" id="X,U-l@983_k+TE{_{3s$">
<field name="VAR" id="@eDJ]{C,Nm,#SY6K?]U(">aa</field>
</block>
</value>
<value name="FIND">
<shadow type="text" id="Y!fQeiR$~q,R2xoq1x|R">
<field name="TEXT">abc</field>
</shadow>
<block type="text" id="|09j=fC4#Hd`5$BH;dFg">
<field name="TEXT">last_uplink</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="math_change" id="i9htiHBSz`4[beX`pq?=">
<field name="VAR" id="eIJA-5e/[gK,eff6c3cD">anzahl_devices</field>
<value name="DELTA">
<shadow type="math_number" id="f4w,mg9WRl?MIajF`Mio">
<field name="NUM">1</field>
</shadow>
<block type="math_number" id="J]j2ed:Enu[+Y/X]4+?3">
<field name="NUM">1</field>
</block>
</value>
<next>
<block type="lists_setIndex" id="q%~%p.jh.#JB1X5vHk[6">
<mutation at="false"></mutation>
<field name="MODE">INSERT</field>
<field name="WHERE">LAST</field>
<value name="LIST">
<block type="variables_get" id="BM)cE0eBqs85V~79*90?">
<field name="VAR" id="7~jt=ib9sx]c}W8*s(r$">ausleitung_mac_devices</field>
</block>
</value>
<value name="TO">
<block type="get_value_var" id="1AgbUBh*-^$t6Dvpf~l9">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="field_oid" id="R)K|c8|peW-,`,H.#!rT">
<field name="oid">ID auswählen</field>
</shadow>
<block type="variables_get" id="exO0xXtklJ1.f7W.ix?X">
<field name="VAR" id="@eDJ]{C,Nm,#SY6K?]U(">aa</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="procedures_callnoreturn" id="x-j{N[b{[88+Tblj9}pj">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="#[o94aQ|s`_92B}_)%^C">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="JB_jbw1aI5B{#)+%.6{A">
<field name="TEXT">Anzahl der Unifi-Devices</field>
</block>
</value>
<value name="ADD1">
<block type="text_newline" id="^u~qy=-QF$wlN-L9lQ9m">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="XSy/m7g6-e05[_qLbyZ7">
<field name="VAR" id="eIJA-5e/[gK,eff6c3cD">anzahl_devices</field>
</block>
</value>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="}=}moQ[3S)9WMD9-?e8[">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="OoZkes5RXSrNO:w]_5jq">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="`qFPH.o%G)Pg78]C/C-E">
<field name="TEXT">MAC aus der Bearbeitung:</field>
</block>
</value>
<value name="ADD1">
<block type="text_newline" id="$J-n[`X88y^f4.TQ%AT$">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="PyHB@a8p5niFjDLPIN/1">
<field name="VAR" id="7~jt=ib9sx]c}W8*s(r$">ausleitung_mac_devices</field>
</block>
</value>
</block>
</value>
<next>
<block type="update" id=",V(_@q@1F4sl2yRJe^i0">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.it.unifi.devices.mac-ausleitung-devices</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="8?.rxjULyiPGvO$#_=CD">
<field name="VAR" id="7~jt=ib9sx]c}W8*s(r$">ausleitung_mac_devices</field>
</block>
</value>
<next>
<block type="update" id="2F;cV7Rp9+^TBm%`N?o]">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.it.unifi.devices.anzahl-devices</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="%f{]i~2{J*`mSZlZ7iX]">
<field name="VAR" id="eIJA-5e/[gK,eff6c3cD">anzahl_devices</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
Clients:
Spoiler
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id=";|_4R[q^C$8TYi+nZ1Lm" collapsed="true" x="613" y="538">
<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="=IFAs`DW|XS7^X`s8*9e">
<field name="oid">ID auswählen</field>
</shadow>
<block type="selector" id="T!VL+4xam{YN~.fbZ/^o">
<field name="TEXT">state[state.id=unifi.0.default.clients.*.mac]</field>
</block>
</value>
<statement name="STATEMENT">
<block type="procedures_callcustomnoreturn" id="JKd`s1-Epm~[HrrIFP=@">
<mutation name="dp_clients_ausleitungen"></mutation>
<next>
<block type="variables_set" id="=nE7[@Ygl*sQHLe{vkqN">
<field name="VAR" id="#qu/-Dvc}B!}!BCc/W.y">anzahl_clients</field>
<value name="VALUE">
<block type="math_number" id="7V{rE;#5.uZ~1a0b3AS$">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="variables_set" id="N]qkH^m-!5S:EU(`8j)^">
<field name="VAR" id="e%yonpx,c-=wyq|Q(alx">ausleitung_mac_clients</field>
<value name="VALUE">
<block type="lists_create_with" id="%V1_Ldx@^i:h(25Oau!(">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="controls_forEach" id="9?^._bA$7kVnPT$!Rj:q">
<field name="VAR" id="/dkW]|gqbdSPkvDzH].x">ab</field>
<value name="LIST">
<block type="selector" id="a@%]aZmNBYZ_#-FWyszT">
<field name="TEXT">state[state.id=unifi.0.default.clients.*.mac]</field>
</block>
</value>
<statement name="DO">
<block type="controls_if" id="[rw6E]L/`rCAn=CYw]cw">
<value name="IF0">
<block type="logic_negate" id="B@o00wD75`}Ycw}E2.-T">
<value name="BOOL">
<block type="text_contains" id=".@lprXUoF6u_z_mNo1==">
<value name="VALUE">
<block type="variables_get" id="glXn[O%6q/|SN6jt/S,I">
<field name="VAR" id="/dkW]|gqbdSPkvDzH].x">ab</field>
</block>
</value>
<value name="FIND">
<shadow type="text" id="Y!fQeiR$~q,R2xoq1x|R">
<field name="TEXT">abc</field>
</shadow>
<block type="text" id="8-+z5AtLU/lx[bA8;-IN">
<field name="TEXT">last_uplink</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="math_change" id="DC][(Wmtp+q*1-7*Ye#m">
<field name="VAR" id="#qu/-Dvc}B!}!BCc/W.y">anzahl_clients</field>
<value name="DELTA">
<shadow type="math_number" id="f4w,mg9WRl?MIajF`Mio">
<field name="NUM">1</field>
</shadow>
<block type="math_number" id="1-mT;f*6^fo2v?;)AFt!">
<field name="NUM">1</field>
</block>
</value>
<next>
<block type="lists_setIndex" id="8s=vQ!Db)JjYZ0m:!jG!">
<mutation at="false"></mutation>
<field name="MODE">INSERT</field>
<field name="WHERE">LAST</field>
<value name="LIST">
<block type="variables_get" id="NkML^iz$7J;;Ebb|tZzi">
<field name="VAR" id="e%yonpx,c-=wyq|Q(alx">ausleitung_mac_clients</field>
</block>
</value>
<value name="TO">
<block type="get_value_var" id="qOs9jJ)f%s6l,kf#6gy#">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="field_oid" id="R)K|c8|peW-,`,H.#!rT">
<field name="oid">ID auswählen</field>
</shadow>
<block type="variables_get" id="KZI={4fSw-pdi8cxJT;g">
<field name="VAR" id="/dkW]|gqbdSPkvDzH].x">ab</field>
</block>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
</block>
</statement>
<next>
<block type="procedures_callnoreturn" id="YnTKT91nq|k;{[u,w-Uw">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="?g@R)6ION`$QnbNCd!tk">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="U-U/`]sM:%W^8eEqm/5F">
<field name="TEXT">Anzahl der Unifi-Clients:</field>
</block>
</value>
<value name="ADD1">
<block type="text_newline" id="^.PRJbAaAWcFeDoMi-sx">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="D$LUWv/mc][j~REUWaAr">
<field name="VAR" id="#qu/-Dvc}B!}!BCc/W.y">anzahl_clients</field>
</block>
</value>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id=":ABj+P~$P|P2H/1]C!W]">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="kk#,vD+6tbOfvNNz1imI">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="d,VRHXEvlqNoZYsI-f}*">
<field name="TEXT">MAC aus der Bearbeitung:</field>
</block>
</value>
<value name="ADD1">
<block type="text_newline" id="gs2s`3ymM(Ndf3%{b`_)">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id=",9f|9Bl)S`fuw@9pJN8J">
<field name="VAR" id="e%yonpx,c-=wyq|Q(alx">ausleitung_mac_clients</field>
</block>
</value>
</block>
</value>
<next>
<block type="update" id="`4)}a^/.C$-qYOhlz%)-">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.it.unifi.clients.mac-ausleitung-clients</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="6ZheO|a`RXAJ6jI]IsWd">
<field name="VAR" id="e%yonpx,c-=wyq|Q(alx">ausleitung_mac_clients</field>
</block>
</value>
<next>
<block type="update" id="%Vwhm/#8AA?nX,bKj|_N">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.it.unifi.clients.anzahl-clients</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="variables_get" id="sohwNmAkSytn?.YDbiFe">
<field name="VAR" id="#qu/-Dvc}B!}!BCc/W.y">anzahl_clients</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
Nun möchte ich die MAC Adressen der Devices mit den MAC Adressen der AP-Points (für WLAN) bzw. Switches (für LAN) vergleichen. Wenn beide MACs zusammen passen, soll der Name des Switch bzw. des Access Point in einen DP geschrieben werden.
Das wollte ich über eine Schleife - in - Schleife Lösung bearbeiten, was mir aber bisher nicht gelingt.
Spoiler
<block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="tt^d/rGT0a-;jc=Y^g9E" x="88" y="1388">
<field name="SCHEDULE">* * * * *</field>
<statement name="STATEMENT">
<block type="comment" id="y@BjcsW:aQLhT=Gpl48~">
<field name="COMMENT">Name des WLAN - AP</field>
<next>
<block type="variables_set" id="3q,,r-@3-ax,fz%}]QjT">
<field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
<value name="VALUE">
<block type="lists_create_with" id="`xl5F9?38DC|~tJ*mdUK">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="controls_forEach" id="A8yQNS,#)v7UR6DF!{dL">
<field name="VAR" id="U4qAbb4G8%()+]~H86?y">d</field>
<value name="LIST">
<block type="selector" id="_5Z(an$,i*fICxbV.LSO">
<field name="TEXT">unifi.0.default.clients.*.ap_mac</field>
</block>
</value>
<statement name="DO">
<block type="lists_setIndex" id=":#cU4dl)~27;fQMCZnRx">
<mutation at="false"></mutation>
<field name="MODE">INSERT</field>
<field name="WHERE">LAST</field>
<value name="LIST">
<block type="variables_get" id=".JPSG?z@pa6C~qJ6QH28">
<field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
</block>
</value>
<value name="TO">
<block type="get_value_var" id="c`Do!o:,cFp[s/DA%9iW">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="field_oid" id="R)K|c8|peW-,`,H.#!rT">
<field name="oid">ID auswählen</field>
</shadow>
<block type="variables_get" id="Cwp!lS.2,p0l02sxJ;]M">
<field name="VAR" id="U4qAbb4G8%()+]~H86?y">d</field>
</block>
</value>
</block>
</value>
</block>
</statement>
<next>
<block type="procedures_callnoreturn" id="@dCssXR@ye?{-KGJ!EG|">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="0Y_M@a!w*USZ#9@4G]2#">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="Bp|WXP)Jp{{2=AEPL!gZ">
<field name="TEXT">MAC Clients Channel / Port:</field>
</block>
</value>
<value name="ADD1">
<block type="text_newline" id="%J7zTlZeop8o26n}lQ!M">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="ktVa$Es@Q:UU1hI|p].N">
<field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="@3yj[e,_IL!!$o$Qt2gP">
<field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
<value name="VALUE">
<block type="lists_create_with" id=":MyJG=8UF;dmsjpr=H7}">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="variables_set" id="~3Hh7m}U-2;I*f/8QXSq">
<field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
<value name="VALUE">
<block type="get_value" id="3Q~nLvekYBi%R9gN6au9">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.it.unifi.devices.mac-ausleitung-devices</field>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="!1?wqzw.Q8c42*0Yn|hg">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="HYiz!p;jLHS_*BY5I@72">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="FFE~~|@AIoNH:HX5w4G(">
<field name="TEXT">MAC Device Channel / Port:</field>
</block>
</value>
<value name="ADD1">
<block type="text_newline" id="#yw8m%4HXgbfkRgy5Y9a">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="Y]q!2r}WV~;MJYtaP^r(">
<field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="e+A+e7Sxr3Y8JX}Dly9}">
<field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
<value name="VALUE">
<block type="lists_create_with" id="It;QRwd8JK.?rx2fS-lk">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="variables_set" id="O(}j+Sq8^(do`4u:v*Ua">
<field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
<value name="VALUE">
<block type="lists_create_with" id="6|KEKWSdlitn=`*bkNz!">
<mutation items="0"></mutation>
</block>
</value>
<next>
<block type="controls_repeat_ext" id="`-NE/hG:%!o*M+%sgq%:">
<value name="TIMES">
<shadow type="math_number" id="BKH~,crX_Lec57h6VPbT">
<field name="NUM">10</field>
</shadow>
<block type="lists_length" id="N%;(Cb2nI=U|:KWrR5E[">
<value name="VALUE">
<block type="variables_get" id="Wcc9V@N^*hw1%m%9SscW">
<field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
</block>
</value>
</block>
</value>
<statement name="DO">
<block type="procedures_callnoreturn" id="(e5$0}/Kzs;}a62|;Y%,">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="(DL5lDUU~f]/WunRtFXd">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="text" id="])49oC!d3X7%PKNC|33)">
<field name="TEXT">Erste Schleife zur Port Zuordnung wird gestartet!</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="p^wHEx.DHSFsT=6$*Y(i">
<field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
<value name="VALUE">
<block type="lists_getIndex" id="UHOD`}Fg?#32bFbuemrx">
<mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE">
<block type="variables_get" id="Ij?4!#|OzZOO?TC%M`(x">
<field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
</block>
</value>
<value name="AT">
<block type="math_number" id="2RQ8elvqtLd@LnbuXq6_">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="6({F^QMY[+eX^Yh^eA%p">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="%OWVei/w@MA`k]FqR4cZ">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="sc9.}YaU|]b0:KD.`,7P">
<field name="TEXT">MAC WLAN Gerät zur Channel Suche:</field>
</block>
</value>
<value name="ADD1">
<block type="text_newline" id="0Sa;@lnlTbo1Lbri(X5/">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="spbABkI~`cMyLg;*|%aV">
<field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_repeat_ext" id="W3{ISe2v.M_+m8nzC)ej">
<value name="TIMES">
<shadow type="math_number" id="0d-i~6*LYSSVr*Sin3]}">
<field name="NUM">10</field>
</shadow>
<block type="get_value" id="|xUAoBe;TAQ)Hdm(et!H">
<field name="ATTR">val</field>
<field name="OID">0_userdata.0.it.unifi.devices.anzahl-devices</field>
</block>
</value>
<statement name="DO">
<block type="procedures_callnoreturn" id="O@S:g9{~1tTFqa*/C8s}">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="JDip2me!X8E9W%*#kK@S">
<mutation items="1"></mutation>
<value name="ADD0">
<block type="text" id="jGD,`u[(hCB~,HS+bFkQ">
<field name="TEXT">Zweite Schleife zur Port Zuordnung wird gestartet!</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="/{W@%SdG|CGy`NCWC94l">
<field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
<value name="VALUE">
<block type="lists_getIndex" id="2l9O5HU8b,NIJ^7oDtp~">
<mutation statement="false" at="true"></mutation>
<field name="MODE">GET</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE">
<block type="variables_get" id="oDV$~Ea`lQ%Ah0oqS*A4">
<field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
</block>
</value>
<value name="AT">
<block type="math_number" id="AAkUJ`%c$Z0:AAkuRm9t">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="g_e4$,{E/;ydN^7@-khH">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id=";!a3.p2TP?D5GgDK@T|Z">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="}n/va+FSCH|_[GoCvB!L">
<field name="TEXT">MAC AP CHANNEL:</field>
</block>
</value>
<value name="ADD1">
<block type="text_newline" id="FE)Ps[/mY^LFkHU?2btm">
<field name="Type">\n</field>
</block>
</value>
<value name="ADD2">
<block type="variables_get" id="ru4/ns1?GxF5:0}yFrs0">
<field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_if" id="@wAl=)bi7Fn3?6EzC_GI">
<value name="IF0">
<block type="logic_compare" id="tv^58FDm|]I{d|hvzjps">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="dX?H4DImMqq{DJ,Fj#+r">
<field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
</block>
</value>
<value name="B">
<block type="variables_get" id="klGChs0$+|B!G7~!:Ip;">
<field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="procedures_callnoreturn" id="y8%?Q$Oj/@7(:EANgC?U">
<mutation name="consolenlog">
<arg name="log_text"></arg>
</mutation>
<value name="ARG0">
<block type="text" id="krGY`QYC_u(/pH_at[Fv">
<field name="TEXT">Mac-Adressen sind gleich! AP wird benannt!</field>
</block>
</value>
<next>
<block type="comment" id="e!p?ejh),|%~MW@Z@lzJ">
<field name="COMMENT">Name des AP</field>
<next>
<block type="control_ex" id="DmhTN=^0kUJ9hb:Z#rsU">
<field name="TYPE">true</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="OID">
<shadow type="field_oid" id="x6b]s(D_O7s9{kT9_9_/">
<field name="oid">ID auswählen</field>
</shadow>
<block type="text_join" id="beVg-sk=PU59h0dEa*w^">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="~.Q_hC{j/X/tl9v1{Lw!">
<field name="TEXT">0_userdata.0.it.unifi.clients.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="@CzUfH[LJp/wudfDc_cI">
<field name="VAR" id="OntyTsw?Rb|qB1_0zQ]1">macliste_client_channel_port_wlan</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="`7jC(y:;XG4g2=9+0U85">
<field name="TEXT">.ap_sw_name</field>
</block>
</value>
</block>
</value>
<value name="VALUE">
<shadow type="logic_boolean" id="]BS~xRB;6.T-NO;3A;s$">
<field name="BOOL">TRUE</field>
</shadow>
<block type="get_value_var" id="L/Xn2i]4/|Z(|Uho_UOy">
<field name="ATTR">val</field>
<value name="OID">
<shadow type="field_oid" id="a~KFJD~fN6qom,t0(4)T">
<field name="oid">ID auswählen</field>
</shadow>
<block type="text_join" id="4*9`E2f(VY#dW8*gr^bN">
<mutation items="3"></mutation>
<value name="ADD0">
<block type="text" id="v4pCJxOolBH*DjQM!)Sv">
<field name="TEXT">unifi.0.default.clients.</field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="d6^zOq(^:?AbQuhW`}O.">
<field name="VAR" id="7zi_Zvu;nE9%B~v}ja!Q">macliste_device_channel_port</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="S|}MJ=0BLu#U{I~KZAzO">
<field name="TEXT">.name</field>
</block>
</value>
</block>
</value>
</block>
</value>
<value name="DELAY_MS">
<shadow type="math_number" id="5|hYDxp5jWY~VCq(ii{H">
<field name="NUM">0</field>
</shadow>
</value>
<value name="EXPIRE">
<shadow type="math_number" id="%_SAJF/KjETa7qNaCp7~">
<field name="NUM">0</field>
</shadow>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="lists_getIndex" id="D-|i7{ho!wD=i2Dd9`{N">
<mutation statement="true" at="true"></mutation>
<field name="MODE">REMOVE</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE">
<block type="variables_get" id="a4E}eLqA0,xLH0`4A7I(">
<field name="VAR" id="Bd$UryAodB^.nXY?qe%7">bearbeitung_device_channel_port_wlan</field>
</block>
</value>
<value name="AT">
<block type="math_number" id="?4uJ(K|#J!e3N1o4Usz`">
<field name="NUM">1</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="lists_getIndex" id="k?1Y2m9fu!g4$uLtlxt9">
<mutation statement="true" at="true"></mutation>
<field name="MODE">REMOVE</field>
<field name="WHERE">FROM_START</field>
<value name="VALUE">
<block type="variables_get" id="lEKq75IhYSAC},`ht)Mz">
<field name="VAR" id="Il,HopGDL}[9{vi5=NpV">bearbeitung_client_channel_port_wlan</field>
</block>
</value>
<value name="AT">
<block type="math_number" id="ki+$Qq9}#`eEFfLTb^h@">
<field name="NUM">1</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>