NEWS
Abfrage Source Code
-
@Vasile In Javascript wäre es nur ein String.Replace um doctype... weg zu bekommen in Blockly ist das Komplizierter. Importier das mal:
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="9O$]Ao9~ipY2^`~KbU5:">originalText</variable> <variable type="" id="{96X~nT}XX]5%}Z-t|tO">suchText</variable> <variable type="" id="}%][mK}Nzn*Hb0Z@Ey3o">tauschText</variable> <variable type="" id="|vbSAYsKtfyTDVAqd/9*">originalText2</variable> <variable type="" id="SOO8$k]8%j.$^bU*l;@I">suchText2</variable> <variable type="" id="amBh^8Qf*2u`=[F{,p/M">tauschText2</variable> <variable type="" id="9]Yd}O5C(}l@t}yXY1+x">Text</variable> <variable type="" id="wp@b{A7/`e;=oN_KU[g+">text2</variable> <variable type="" id="1S:PH%RsXMIf?*ic:L(y">AnzZeichenSuchtext</variable> <variable type="" id="vt:{w[d}M:7!VmX~M^N5">MeinText</variable> <variable type="" id="[RuB%z|Qjh_LzmfFK,Jp">anzzeichen2</variable> <variable type="" id="BgrFx~TV{%e+PG]U9`Tm">Stelle</variable> <variable type="" id="g!{0aiBKYO:4l88Z%I?Z">result</variable> <variable type="" id="?e6S;y-[cEfltaZVLc.O">Stelle2</variable> <variable type="" id="h,C=G*@9H!o[:`$hPtLD">neuerText</variable> <variable type="" id="wIE7c|K;ZeaO%Jw#!!i_">test</variable> <variable type="" id="2UnmPRV{p2Q{PCjWAH[x">Teil_1</variable> <variable type="" id="9phgB{Ee}7[k8_Jz?N*~">Teil_2</variable> <variable type="" id="Y{w?6gGr50mvw){pS3iu">Teil1-2</variable> <variable type="" id="^H|)#!DDk-D*`$SruqW)">Teil2-2</variable> </variables> <block type="procedures_defreturn" id="*?%n[KG5e1!^tNun#Hj5" x="863" y="13"> <mutation> <arg name="originalText" varid="9O$]Ao9~ipY2^`~KbU5:"></arg> <arg name="suchText" varid="{96X~nT}XX]5%}Z-t|tO"></arg> <arg name="tauschText" varid="}%][mK}Nzn*Hb0Z@Ey3o"></arg> </mutation> <field name="NAME">changeText</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"> <block type="variables_set" id="LyZ2%lYW+kfm,4)yV8UN"> <field name="VAR" id="9]Yd}O5C(}l@t}yXY1+x" variabletype="">Text</field> <value name="VALUE"> <block type="variables_get" id="da5*p]}sO:{{|ZE!nhDe"> <field name="VAR" id="9O$]Ao9~ipY2^`~KbU5:" variabletype="">originalText</field> </block> </value> <next> <block type="variables_set" id="yx;qp1@1fC(oiG4c5gZt"> <field name="VAR" id="1S:PH%RsXMIf?*ic:L(y" variabletype="">AnzZeichenSuchtext</field> <value name="VALUE"> <block type="text_length" id="Jwz33ARDLc!=8:eDagDD"> <value name="VALUE"> <shadow type="text" id="RZWm!~Yo4w5)66Gu|Gs_"> <field name="TEXT">abc</field> </shadow> <block type="variables_get" id="G2I+np)5qee]q{4)BlN2"> <field name="VAR" id="{96X~nT}XX]5%}Z-t|tO" variabletype="">suchText</field> </block> </value> </block> </value> <next> <block type="variables_set" id="eAGK[85W)DRaIaN!oMiH"> <field name="VAR" id="BgrFx~TV{%e+PG]U9`Tm" variabletype="">Stelle</field> <value name="VALUE"> <block type="text_indexOf" id="/@rj}{;VUCJ8O|28^(Hf"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="}de%ffO*rIt%j6)99pf3"> <field name="VAR" id="9]Yd}O5C(}l@t}yXY1+x" variabletype="">Text</field> </block> </value> <value name="FIND"> <shadow type="text" id="7MprEQxoWq}#3~Xz:32k"> <field name="TEXT">%0D%0A</field> </shadow> <block type="variables_get" id="7)r.X1a~Tee1!dAwZy`!"> <field name="VAR" id="{96X~nT}XX]5%}Z-t|tO" variabletype="">suchText</field> </block> </value> </block> </value> <next> <block type="controls_whileUntil" id="4lR}{f])DWKyjt}.(6cc"> <field name="MODE">WHILE</field> <value name="BOOL"> <block type="logic_compare" id="e`eUWK6kyOU=[/x]M({`"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="}7HLWRwI(SDg1^@=czoV"> <field name="VAR" id="BgrFx~TV{%e+PG]U9`Tm" variabletype="">Stelle</field> </block> </value> <value name="B"> <block type="math_number" id="#y,za{r#@s7Ri.U!9v)A"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO"> <block type="controls_if" id="PM@Su)b1YOhTZo2qPxB]"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="l,u?h{)Z-u/OozI,.79G"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="B/K~z.ANK2);I3(uk4Bh"> <field name="VAR" id="BgrFx~TV{%e+PG]U9`Tm" variabletype="">Stelle</field> </block> </value> <value name="B"> <block type="math_number" id="|3~K:6jrHq7oxz=fL:Yz"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="uN{|N4-0EabDJqYE0]@#"> <field name="COMMENT">steht am Textanfang</field> <next> <block type="variables_set" id="9?Gy,w.t#1pdl^AOxc#Y"> <field name="VAR" id="2UnmPRV{p2Q{PCjWAH[x" variabletype="">Teil_1</field> <value name="VALUE"> <block type="variables_get" id="h(#=bJ`DU%y/Jd9%HR9I"> <field name="VAR" id="}%][mK}Nzn*Hb0Z@Ey3o" variabletype="">tauschText</field> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="{R*X,7K)DA^dq/.~KK7{"> <field name="VAR" id="2UnmPRV{p2Q{PCjWAH[x" variabletype="">Teil_1</field> <value name="VALUE"> <block type="text_getSubstring" id="Img0opt.EB#)RM-bp~hw"> <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="A9h*F{tgJR0y[Q0uv7,="> <field name="VAR" id="9]Yd}O5C(}l@t}yXY1+x" variabletype="">Text</field> </block> </value> <value name="AT2"> <block type="math_arithmetic" id="([5R[:8Ywn-thKN@r:~}"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="u@:!j5WimCjV%fG9hPGs"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="U0qw,~,2KoaAc37UO{l#"> <field name="VAR" id="BgrFx~TV{%e+PG]U9`Tm" variabletype="">Stelle</field> </block> </value> <value name="B"> <shadow type="math_number" id="DT#zRSRu1.y^|5Z#G37W"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> </block> </statement> <next> <block type="variables_set" id="Else^,?QE9TTS.Y%K]W="> <field name="VAR" id="9phgB{Ee}7[k8_Jz?N*~" variabletype="">Teil_2</field> <value name="VALUE"> <block type="text_getSubstring" id="e8A7NqY7O!@K(aFlMpV#" inline="false"> <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="|jU0g8+eIgwn_|IB56)@"> <field name="VAR" id="9]Yd}O5C(}l@t}yXY1+x" variabletype="">Text</field> </block> </value> <value name="AT1"> <block type="math_arithmetic" id="F#*%;R9ugmwaaas?WBwG"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="8/I%=/~YReHV]Iwo{}(J"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="R0|a}kx2M~SYjPKS5Cc{"> <field name="VAR" id="BgrFx~TV{%e+PG]U9`Tm" variabletype="">Stelle</field> </block> </value> <value name="B"> <shadow type="math_number" id=";Q(aJ::90?0?H;-45cgS"> <field name="NUM">0</field> </shadow> <block type="variables_get" id="dY33=1IVxkrSH1k1#X6A"> <field name="VAR" id="1S:PH%RsXMIf?*ic:L(y" variabletype="">AnzZeichenSuchtext</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="OcJS!-Ku1vQY4)I+r,gc"> <field name="VAR" id="9]Yd}O5C(}l@t}yXY1+x" variabletype="">Text</field> <value name="VALUE"> <block type="text_join" id="%%D@nUqB1tt^`?qrUahx"> <mutation items="3"></mutation> <value name="ADD0"> <block type="variables_get" id="q]l%0Dpb89BZy1-m[TjM"> <field name="VAR" id="2UnmPRV{p2Q{PCjWAH[x" variabletype="">Teil_1</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="f~POFU0}K4-w]xVc1?,`"> <field name="VAR" id="}%][mK}Nzn*Hb0Z@Ey3o" variabletype="">tauschText</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="U77~u,Qfmb2g[O19eHoh"> <field name="VAR" id="9phgB{Ee}7[k8_Jz?N*~" variabletype="">Teil_2</field> </block> </value> </block> </value> <next> <block type="variables_set" id="lao?KUxF77Si~Xc2j%^{"> <field name="VAR" id="BgrFx~TV{%e+PG]U9`Tm" variabletype="">Stelle</field> <value name="VALUE"> <block type="text_indexOf" id="[),PN,ZrAW,C/~:K[x[:"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id="6{t:BeVh6=bsQF(zUhYG"> <field name="VAR" id="9]Yd}O5C(}l@t}yXY1+x" variabletype="">Text</field> </block> </value> <value name="FIND"> <shadow type="text" id="{Vd/Su8uk@lo|:3KMi1L"> <field name="TEXT">%0D%0A</field> </shadow> <block type="variables_get" id="r|~fKkGR#@1@G6_GX`-g"> <field name="VAR" id="{96X~nT}XX]5%}Z-t|tO" variabletype="">suchText</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="RETURN"> <block type="variables_get" id=".*DA-:q/GzURSEPH2ZiQ"> <field name="VAR" id="9]Yd}O5C(}l@t}yXY1+x" variabletype="">Text</field> </block> </value> </block> <block type="schedule" id="a]Ti9=*OU|]`[]!(0k{n" x="113" y="63"> <field name="SCHEDULE">* * * * * *</field> <statement name="STATEMENT"> <block type="request" id="[Ic#Y]qP6vKqTMb9lM_x"> <mutation with_statement="true"></mutation> <field name="WITH_STATEMENT">TRUE</field> <field name="LOG"></field> <value name="URL"> <shadow type="text" id="Vfvq5YZ8q4m0b|oE-m.2"> <field name="TEXT">deine url</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="-P{_[1=caHEAoB9cP4Qx"> <field name="VAR" id="vt:{w[d}M:7!VmX~M^N5" variabletype="">MeinText</field> <value name="VALUE"> <block type="variables_get" id="HHJjm.J}u{0E?!-L`Lt_"> <field name="VAR" id="g!{0aiBKYO:4l88Z%I?Z" variabletype="">result</field> </block> </value> <next> <block type="controls_if" id="eO-Yu;zv=:r~yJNHR:iS"> <value name="IF0"> <block type="logic_negate" id="u@28{:]xG=4a9HU}|/v)"> <value name="BOOL"> <block type="text_isEmpty" id="W-_T.2)lUsLG/Z(5zIQN"> <value name="VALUE"> <shadow type="text" id="9LrDM?0xYv?MX-(}2OrI"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="B?L(8|(8?-Z7Ao*[F/VM"> <field name="VAR" id="vt:{w[d}M:7!VmX~M^N5" variabletype="">MeinText</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="ziw)~y|7*7le5/J*8HC#"> <field name="VAR" id="h,C=G*@9H!o[:`$hPtLD" variabletype="">neuerText</field> <value name="VALUE"> <block type="procedures_callreturn" id="ECH/%?YEFylSUOK._8/K"> <mutation name="changeText"> <arg name="originalText"></arg> <arg name="suchText"></arg> <arg name="tauschText"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="Y(bM=~D[D5v)7a#1{`}`"> <field name="VAR" id="vt:{w[d}M:7!VmX~M^N5" variabletype="">MeinText</field> </block> </value> <value name="ARG1"> <block type="text" id="(iqf|@QE;6:tP0}rbaEj"> <field name="TEXT"><!DOCTYPE HTML></field> </block> </value> <value name="ARG2"> <block type="text" id="_{HiLh|2|F3|a#[4lCvX"> <field name="TEXT"></field> </block> </value> </block> </value> <next> <block type="variables_set" id="w4[R.Vc9opcX/f?nA%g1"> <field name="VAR" id="wIE7c|K;ZeaO%Jw#!!i_" variabletype="">test</field> <value name="VALUE"> <block type="procedures_callreturn" id="QVHM_IRBguZ(#sgCd~{y"> <mutation name="changeText2"> <arg name="originalText2"></arg> <arg name="suchText2"></arg> <arg name="tauschText2"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="PzHdq_Jo6bXjwvRvn6c-"> <field name="VAR" id="h,C=G*@9H!o[:`$hPtLD" variabletype="">neuerText</field> </block> </value> <value name="ARG1"> <block type="text" id="k`HfJ//?ap~(Vee!3)L_"> <field name="TEXT"><html></field> </block> </value> <value name="ARG2"> <block type="text" id="A^S;2dee;[fr2srXP9wz"> <field name="TEXT"></field> </block> </value> </block> </value> <next> <block type="control" id="DES|+?8gW7h;#]ncDFK8"> <mutation delay_input="false"></mutation> <field name="OID">0_userdata.0.fire</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="JgU$fKp7GiKmbU]1l!+g"> <field name="VAR" id="wIE7c|K;ZeaO%Jw#!!i_" variabletype="">test</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </statement> </block> <block type="procedures_defreturn" id="^4/}l:)FR~Jkf8X{pLhG" x="863" y="638"> <mutation> <arg name="originalText2" varid="|vbSAYsKtfyTDVAqd/9*"></arg> <arg name="suchText2" varid="SOO8$k]8%j.$^bU*l;@I"></arg> <arg name="tauschText2" varid="amBh^8Qf*2u`=[F{,p/M"></arg> </mutation> <field name="NAME">changeText2</field> <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment> <statement name="STACK"> <block type="variables_set" id="A.-2^vbl/LudXv?l.K;|"> <field name="VAR" id="wp@b{A7/`e;=oN_KU[g+" variabletype="">text2</field> <value name="VALUE"> <block type="variables_get" id="6M(7bz;%TxyNvs-Le;)Y"> <field name="VAR" id="|vbSAYsKtfyTDVAqd/9*" variabletype="">originalText2</field> </block> </value> <next> <block type="variables_set" id="$hhqrydm=7.s(bx.r[qd"> <field name="VAR" id="[RuB%z|Qjh_LzmfFK,Jp" variabletype="">anzzeichen2</field> <value name="VALUE"> <block type="text_length" id="D:Y2d4NI3cd6NwdPtDn="> <value name="VALUE"> <shadow type="text" id="RZWm!~Yo4w5)66Gu|Gs_"> <field name="TEXT">abc</field> </shadow> <block type="variables_get" id="hXHVZ{S@zHTvZGJ,DE)c"> <field name="VAR" id="SOO8$k]8%j.$^bU*l;@I" variabletype="">suchText2</field> </block> </value> </block> </value> <next> <block type="variables_set" id="(jI]Mce!5F,rXs=s[!Wj"> <field name="VAR" id="?e6S;y-[cEfltaZVLc.O" variabletype="">Stelle2</field> <value name="VALUE"> <block type="text_indexOf" id="Vh~NZ%QBw5tmo^f!K/G`"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id=",8Rse2dZmRY?.WXJ:PN,"> <field name="VAR" id="wp@b{A7/`e;=oN_KU[g+" variabletype="">text2</field> </block> </value> <value name="FIND"> <shadow type="text" id="7MprEQxoWq}#3~Xz:32k"> <field name="TEXT">%0D%0A</field> </shadow> <block type="variables_get" id="ZuRK4}z{)WTzne`}Z*zg"> <field name="VAR" id="SOO8$k]8%j.$^bU*l;@I" variabletype="">suchText2</field> </block> </value> </block> </value> <next> <block type="controls_whileUntil" id="@)0dbx_uuX5U%yr8+GJV"> <field name="MODE">WHILE</field> <value name="BOOL"> <block type="logic_compare" id="sTcIIMUU}i]*qkIG]p0K"> <field name="OP">GT</field> <value name="A"> <block type="variables_get" id="w*sqS1kHf}1J2yXC[1+b"> <field name="VAR" id="?e6S;y-[cEfltaZVLc.O" variabletype="">Stelle2</field> </block> </value> <value name="B"> <block type="math_number" id="VvoY5UE]De;WAy+{)eZ{"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO"> <block type="controls_if" id="T?LxPLOmi(:]MGg~}BrK"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="Y|PP,Kvt|E-P%,X{D-T:"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="L*MENK3A+$Ajh0Vck!b!"> <field name="VAR" id="?e6S;y-[cEfltaZVLc.O" variabletype="">Stelle2</field> </block> </value> <value name="B"> <block type="math_number" id="e{cN*H1n;jV,j4f`|L)c"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="comment" id="|xZyNT-w4{g=u;GwTxLM"> <field name="COMMENT">steht am Textanfang</field> <next> <block type="variables_set" id="*06QB:(x^zooxkpYsg=Q"> <field name="VAR" id="Y{w?6gGr50mvw){pS3iu" variabletype="">Teil1-2</field> <value name="VALUE"> <block type="variables_get" id="ZMW16!Jd(ekrEn~PKZ?}"> <field name="VAR" id="amBh^8Qf*2u`=[F{,p/M" variabletype="">tauschText2</field> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="4FSxV=1Ap|/@mu,$giEQ"> <field name="VAR" id="Y{w?6gGr50mvw){pS3iu" variabletype="">Teil1-2</field> <value name="VALUE"> <block type="text_getSubstring" id="kIeS$?UORl*h)Q}v:^-D"> <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="[`?eH!__7:f3-P9HL7-t"> <field name="VAR" id="wp@b{A7/`e;=oN_KU[g+" variabletype="">text2</field> </block> </value> <value name="AT2"> <block type="math_arithmetic" id="yL_pdhY8T$5rUv,^hBN~"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="u@:!j5WimCjV%fG9hPGs"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="kn0V6ai0cnxJEryM*o!?"> <field name="VAR" id="?e6S;y-[cEfltaZVLc.O" variabletype="">Stelle2</field> </block> </value> <value name="B"> <shadow type="math_number" id="{,GNRtvJ(U)wuW)%u`j:"> <field name="NUM">1</field> </shadow> </value> </block> </value> </block> </value> </block> </statement> <next> <block type="variables_set" id="4eKjv6d4p5*m)4`S![K^"> <field name="VAR" id="^H|)#!DDk-D*`$SruqW)" variabletype="">Teil2-2</field> <value name="VALUE"> <block type="text_getSubstring" id="gb,yy=7F?.1K`~FCRSqc" inline="false"> <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="eoUHaCjH`FuAw[c3|xn2"> <field name="VAR" id="wp@b{A7/`e;=oN_KU[g+" variabletype="">text2</field> </block> </value> <value name="AT1"> <block type="math_arithmetic" id="ouolnQy?:u0[y-qp/2JQ"> <field name="OP">ADD</field> <value name="A"> <shadow type="math_number" id="8/I%=/~YReHV]Iwo{}(J"> <field name="NUM">1</field> </shadow> <block type="variables_get" id="(/KbX,ukX:M^kgDUF7hk"> <field name="VAR" id="?e6S;y-[cEfltaZVLc.O" variabletype="">Stelle2</field> </block> </value> <value name="B"> <shadow type="math_number" id=";Q(aJ::90?0?H;-45cgS"> <field name="NUM">0</field> </shadow> <block type="variables_get" id="a5tWjp+~G24Y3,6/qgwG"> <field name="VAR" id="[RuB%z|Qjh_LzmfFK,Jp" variabletype="">anzzeichen2</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="tA(*ii=1MeapL@V6^piS"> <field name="VAR" id="wp@b{A7/`e;=oN_KU[g+" variabletype="">text2</field> <value name="VALUE"> <block type="text_join" id="L(2?VLwLIh~4?y14~Cm|"> <mutation items="3"></mutation> <value name="ADD0"> <block type="variables_get" id="$;WmtNbXxE0E)%[Ays,@"> <field name="VAR" id="Y{w?6gGr50mvw){pS3iu" variabletype="">Teil1-2</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="gg.G~y2}Q?BZFsP.K]id"> <field name="VAR" id="amBh^8Qf*2u`=[F{,p/M" variabletype="">tauschText2</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="OB!?m2z,xILx0;Y:ERLP"> <field name="VAR" id="^H|)#!DDk-D*`$SruqW)" variabletype="">Teil2-2</field> </block> </value> </block> </value> <next> <block type="variables_set" id="LU;ipMqQo4$eVAIA8J4~"> <field name="VAR" id="?e6S;y-[cEfltaZVLc.O" variabletype="">Stelle2</field> <value name="VALUE"> <block type="text_indexOf" id="Si5~cz,}3/~;rDHSfjBb"> <field name="END">FIRST</field> <value name="VALUE"> <block type="variables_get" id=")nBz:R*|SvI`x;Q*/ZP~"> <field name="VAR" id="wp@b{A7/`e;=oN_KU[g+" variabletype="">text2</field> </block> </value> <value name="FIND"> <shadow type="text" id="{Vd/Su8uk@lo|:3KMi1L"> <field name="TEXT">%0D%0A</field> </shadow> <block type="variables_get" id=":6H~yVeva=$?)WoHbfnx"> <field name="VAR" id="SOO8$k]8%j.$^bU*l;@I" variabletype="">suchText2</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="RETURN"> <block type="variables_get" id="CRf[X{t|iyTcV5#G!X@^"> <field name="VAR" id="wp@b{A7/`e;=oN_KU[g+" variabletype="">text2</field> </block> </value> </block> </xml> -
Ja, genau so war das gedacht.
Da habe ich mir einen Wolf gesucht mit MQTT. Irgendwann habe ich das hingeschmiessen
Viele Videos angeschaut aber nichts gefunden wo ich von A bis Z verstanden habe -
Ja klar darfst du vorallem nachdem du mir soviel geholfen hast :)
Aktuell werden IR Signale ausgewertet und ausgegeben. Später will ich noch weitere Sensoren anschließen
@Vasile OK vielleicht gibst du deinem Arduino dann die Anweisung bei einem Update des Wertes ein get-Request zu machen damit wir den gezielt abfragen können. Abfragen mit Timer sind immer sehr ineffizient. Ein get-request sollte nicht allzu aufwendig sein.
-
ich bin aber noch Anfänger und beim Programmieren habe ich auch keine Ahnung. Vor eine Woche wusste ich nicht mal was IOBROKER und ein Arduino Ethernet Shield ist....
Also kannst dir vorstellen mit was für ein "Profi" du zu tun hast :))
Ja, das wäre noch besser.
Wie würde er reagieren wenn Helligkeitssensoren angeschlossen sind? -
ich bin aber noch Anfänger und beim Programmieren habe ich auch keine Ahnung. Vor eine Woche wusste ich nicht mal was IOBROKER und ein Arduino Ethernet Shield ist....
Also kannst dir vorstellen mit was für ein "Profi" du zu tun hast :))
Ja, das wäre noch besser.
Wie würde er reagieren wenn Helligkeitssensoren angeschlossen sind? -
@Vasile Schau dir mal den ESP8266 oder ESP32 mit ESPEasy an. Das macht das einbinden von Sensoren definitiv angenehmer.
@CrunkFX said in Abfrage Source Code:
@Vasile Schau dir mal den ESP8266 oder ESP32 mit ESPEasy an. Das macht das einbinden von Sensoren definitiv angenehmer.
ESP8266 hätte ich auch. Du meinst dadurch wäre ein Ethernet Shield nicht mehr notwendig und deswegen ist einfacher oder sind noch weitere Vorteile (z.B. WLAN)?
-
@CrunkFX said in Abfrage Source Code:
@Vasile Schau dir mal den ESP8266 oder ESP32 mit ESPEasy an. Das macht das einbinden von Sensoren definitiv angenehmer.
ESP8266 hätte ich auch. Du meinst dadurch wäre ein Ethernet Shield nicht mehr notwendig und deswegen ist einfacher oder sind noch weitere Vorteile (z.B. WLAN)?
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden




