- ioBroker Community Home
- Deutsch
- Skripten / Logik
- Blockly
- [gelöst] Alle Sonoff Geräte in Liste speichern
[gelöst] Alle Sonoff Geräte in Liste speichern
-
Hallo zusammen,
ich hätte gerne einen Datenpunkt, wo mir alle vorhandenen Sonoffgeräte mit der entsprechenden
IP Adresse und wenn möglich noch, der Power Status gespeichert wird.
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="A$w}RurQTuH!l]_#59k1">Liste</variable> <variable id=";W}1[;lh*6xnsGLP~te$">i</variable> </variables> <block type="variables_set" id="3%S2eRbYGO94ksE~#Te`" x="-338" y="-199"> <field name="VAR" id="A$w}RurQTuH!l]_#59k1">Liste</field> <value name="VALUE"> <block type="lists_create_with" id="q~RjeJP`}}gexaqlKF`@"> <mutation items="0"></mutation> </block> </value> <next> <block type="controls_forEach" id="u_tlO*W$)bJ(xirL3P#1"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> <value name="LIST"> <block type="selector" id="dwA7yUf]ki/yN}LqJEH}"> <field name="TEXT">sonoff.0.*.INFO.Info2_IPAddress</field> </block> </value> <statement name="DO"> <block type="lists_setIndex" id="f@k%+I]^r%$-MDGlY7@i"> <mutation at="true"></mutation> <field name="MODE">INSERT</field> <field name="WHERE">FROM_START</field> <value name="LIST"> <block type="variables_get" id="*hOPRu?HWE(mjOGpO/5L"> <field name="VAR" id="A$w}RurQTuH!l]_#59k1">Liste</field> </block> </value> <value name="AT"> <block type="variables_get" id="N^Pzg;_y$dT)#iz,[!.5"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> </block> </value> <value name="TO"> <block type="lists_create_with" id="L.d%KB8=dAtpelwsM60v"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="S+aaEx@}YR|NIe;P(4^m"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> </block> </value> <value name="ADD1"> <block type="get_value_var" id="Z]T2-o}cGgt(o6S`P1u|"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="M[H,}_=Ksbjz6q7Hn=tf"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="b97-#rg~^:fKk3^^Qfgf"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Test.id_selektor</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="i+4A4rUi^r3I=3K~YGkh"> <field name="VAR" id="A$w}RurQTuH!l]_#59k1">Liste</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </xml>Am Ende sollte es so oder ähnlich aussehen.
Leider bekomme ich es nicht gebacken, da ich nicht weiß, wie ich den anderen Kram rausbekomme.
Vielleicht hat ja von Euch jemand eine Lösung.

-
Hallo zusammen,
ich hätte gerne einen Datenpunkt, wo mir alle vorhandenen Sonoffgeräte mit der entsprechenden
IP Adresse und wenn möglich noch, der Power Status gespeichert wird.
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="A$w}RurQTuH!l]_#59k1">Liste</variable> <variable id=";W}1[;lh*6xnsGLP~te$">i</variable> </variables> <block type="variables_set" id="3%S2eRbYGO94ksE~#Te`" x="-338" y="-199"> <field name="VAR" id="A$w}RurQTuH!l]_#59k1">Liste</field> <value name="VALUE"> <block type="lists_create_with" id="q~RjeJP`}}gexaqlKF`@"> <mutation items="0"></mutation> </block> </value> <next> <block type="controls_forEach" id="u_tlO*W$)bJ(xirL3P#1"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> <value name="LIST"> <block type="selector" id="dwA7yUf]ki/yN}LqJEH}"> <field name="TEXT">sonoff.0.*.INFO.Info2_IPAddress</field> </block> </value> <statement name="DO"> <block type="lists_setIndex" id="f@k%+I]^r%$-MDGlY7@i"> <mutation at="true"></mutation> <field name="MODE">INSERT</field> <field name="WHERE">FROM_START</field> <value name="LIST"> <block type="variables_get" id="*hOPRu?HWE(mjOGpO/5L"> <field name="VAR" id="A$w}RurQTuH!l]_#59k1">Liste</field> </block> </value> <value name="AT"> <block type="variables_get" id="N^Pzg;_y$dT)#iz,[!.5"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> </block> </value> <value name="TO"> <block type="lists_create_with" id="L.d%KB8=dAtpelwsM60v"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="S+aaEx@}YR|NIe;P(4^m"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> </block> </value> <value name="ADD1"> <block type="get_value_var" id="Z]T2-o}cGgt(o6S`P1u|"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="M[H,}_=Ksbjz6q7Hn=tf"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="b97-#rg~^:fKk3^^Qfgf"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Test.id_selektor</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="i+4A4rUi^r3I=3K~YGkh"> <field name="VAR" id="A$w}RurQTuH!l]_#59k1">Liste</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </xml>Am Ende sollte es so oder ähnlich aussehen.
Leider bekomme ich es nicht gebacken, da ich nicht weiß, wie ich den anderen Kram rausbekomme.
Vielleicht hat ja von Euch jemand eine Lösung.

habe es hinbekommen. Zumindes erstmal die Geräte mit der zugehörigen IP.
Dabei hat mir das Script geholfen.

<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="+;k!z4f?Ci1aD)9q=yvv">originalText</variable> <variable id="AYMpUjJx8SW6=:m%$26b">suchText</variable> <variable id="q#GR?%IXmW[He;Z~n=Hw">tauschText</variable> <variable id="7IoXR6P}7V^kE$VrIxIf">Liste</variable> <variable id="TQ96zS+?W!vc#cqVIpGc">Text</variable> <variable id="k`C0(zcezQP|S48n7@D!">AnzZeichenSuchtext</variable> <variable id="Jxt4r[t}0`k6I4r{%H%Y">i</variable> <variable id="IvRvTE9CHHaq$K7zulV(">Stelle</variable> <variable id="J;oB5z6!=8NP@/6m#PO2">MeinText</variable> <variable id="f`kh|akT6t-u.3axjVuC">Teil_1</variable> <variable id=".%}46XJo5sAm4/).jybS">Teil_2</variable> <variable id="EV/{`k2S(S@D4+ZsR=T_">neuerText</variable> </variables> <block type="on_ext" id="+kFNFHLrf4VEA0o3-8$H" x="-662" y="-612"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="77^+qU?jfb@,C8$qOv.N"> <field name="oid">0_userdata.0.Tasmota.Liste_aktualisieren</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="rfW?.`6]M/kDeC3f]1|k"> <field name="VAR" id="7IoXR6P}7V^kE$VrIxIf">Liste</field> <value name="VALUE"> <block type="text" id="(hX(.`]V948AR+I6gE3j"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="^/?+%YN%_nWA8IB-){K-"> <field name="VAR" id="7IoXR6P}7V^kE$VrIxIf">Liste</field> <value name="VALUE"> <block type="lists_create_with" id="EOZB$6Lo_*ob2?^Pxo(="> <mutation items="0"></mutation> </block> </value> <next> <block type="controls_forEach" id="a33(hVH3l;v%WUOKf5N6"> <field name="VAR" id="Jxt4r[t}0`k6I4r{%H%Y">i</field> <value name="LIST"> <block type="selector" id="WeqoCxw1v41h~CV[.}GN"> <field name="TEXT">sonoff.0.*.INFO.Info2_IPAddress</field> </block> </value> <statement name="DO"> <block type="lists_setIndex" id="VQau$|f)Yz7Az0?_U2?r"> <mutation at="true"></mutation> <field name="MODE">INSERT</field> <field name="WHERE">FROM_START</field> <value name="LIST"> <block type="variables_get" id="C`lcdp6:MrZ`y5;r4|#n"> <field name="VAR" id="7IoXR6P}7V^kE$VrIxIf">Liste</field> </block> </value> <value name="AT"> <block type="variables_get" id=")lo5nM1O(-C`OFQ,_9$="> <field name="VAR" id="Jxt4r[t}0`k6I4r{%H%Y">i</field> </block> </value> <value name="TO"> <block type="lists_create_with" id="7:f?8l4Aw|h39-VppK{s"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="q66Xg0P4I,ABNsa)LV#2"> <field name="VAR" id="Jxt4r[t}0`k6I4r{%H%Y">i</field> </block> </value> <value name="ADD1"> <block type="get_value_var" id="G$|![^u[;I9cT.#Ok:|C"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="UJufoDuXgV%6!GjHu[Pk"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="}f`{kM/UIh[4}.uOye=T"> <field name="VAR" id="Jxt4r[t}0`k6I4r{%H%Y">i</field> </block> </value> </block> </value> </block> </value> </block> </statement> <next> <block type="comment" id="78.H*A/cFuT#o?@z2HI!"> <field name="COMMENT">https://forum.iobroker.net/topic/19985/vorlage-blockly-beliebiges-zeichen-im-text-tauschen</field> <next> <block type="comment" id="?t^|J^}%io+OnqAwVT4A"> <field name="COMMENT">Beliebige Zeichen tauschen</field> <next> <block type="variables_set" id="-P{_[1=caHEAoB9cP4Qx"> <field name="VAR" id="J;oB5z6!=8NP@/6m#PO2">MeinText</field> <value name="VALUE"> <block type="text_join" id="VXknlk,WOcd]j#l7|4M4"> <mutation items="1"></mutation> <value name="ADD0"> <block type="variables_get" id="AZ7W(KpoN+;Vs{p-e2xN"> <field name="VAR" id="7IoXR6P}7V^kE$VrIxIf">Liste</field> </block> </value> </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 xmlns="http://www.w3.org/1999/xhtml" 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="J;oB5z6!=8NP@/6m#PO2">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="EV/{`k2S(S@D4+ZsR=T_">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="J;oB5z6!=8NP@/6m#PO2">MeinText</field> </block> </value> <value name="ARG1"> <block type="text" id="(iqf|@QE;6:tP0}rbaEj"> <field name="TEXT">.INFO.Info2_IPAddress,</field> </block> </value> <value name="ARG2"> <block type="text_newline" id="=y=DAPwIJV]Zdmq`=-Tg"> <field name="Type">\n</field> </block> </value> </block> </value> <next> <block type="variables_set" id="`vGUP!R!*|3sjY~dZXxZ"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> <value name="VALUE"> <block type="procedures_callreturn" id="rvKR.cz9FhImw~YT8:YY"> <mutation name="changeText"> <arg name="originalText"></arg> <arg name="suchText"></arg> <arg name="tauschText"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="4r-=T6yu%Y[}Zn!QhpR/"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> </block> </value> <value name="ARG1"> <block type="text" id="mbk@+N`6F_eG)N%Jw|2J"> <field name="TEXT">,sonoff.0.</field> </block> </value> <value name="ARG2"> <block type="text_newline" id=",MmzCNP3Iz5Y}=(F7HF`"> <field name="Type">\n</field> </block> </value> </block> </value> <next> <block type="variables_set" id="3+|QU5[xS;U@Qijfuu@7"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> <value name="VALUE"> <block type="procedures_callreturn" id="~C~TrH*=xX3Xl-l@tg#V"> <mutation name="changeText"> <arg name="originalText"></arg> <arg name="suchText"></arg> <arg name="tauschText"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id=",eH?bND1?H}TimRX_wnz"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> </block> </value> <value name="ARG1"> <block type="text" id="6AWuk;A#5~8;jXas31)I"> <field name="TEXT">sonoff.0.</field> </block> </value> <value name="ARG2"> <block type="text" id="[M[ZL8Y,u8fNWw|eR|g)"> <field name="TEXT"></field> </block> </value> </block> </value> <next> <block type="update" id="AKDqlX-=}oGy8p.o(e~,"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Tasmota.Anzahl_Geräte_auslesen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="0t#~}Wa_w-XIn]jT903w"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> </block> </value> <next> <block type="telegram" id="+w#m@wJ(}+44]C?^eAWa"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="@Wm-)OUcuGe?.J3*XZRi"> <field name="TEXT">text</field> </shadow> <block type="text_join" id="4dq:{DEVj4qkD=uGm[_B"> <mutation items="1"></mutation> <value name="ADD0"> <block type="variables_get" id=":[I`uu8RVGI_#`8uUucC"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="^tqYZqNfO}=qc.:_yK=E"> <field name="TEXT">falke69</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> </statement> </block> <block type="procedures_defreturn" id="*?%n[KG5e1!^tNun#Hj5" x="288" y="-87"> <mutation> <arg name="originalText" varid="+;k!z4f?Ci1aD)9q=yvv"></arg> <arg name="suchText" varid="AYMpUjJx8SW6=:m%$26b"></arg> <arg name="tauschText" varid="q#GR?%IXmW[He;Z~n=Hw"></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="TQ96zS+?W!vc#cqVIpGc">Text</field> <value name="VALUE"> <block type="variables_get" id="da5*p]}sO:{{|ZE!nhDe"> <field name="VAR" id="+;k!z4f?Ci1aD)9q=yvv">originalText</field> </block> </value> <next> <block type="variables_set" id="yx;qp1@1fC(oiG4c5gZt"> <field name="VAR" id="k`C0(zcezQP|S48n7@D!">AnzZeichenSuchtext</field> <value name="VALUE"> <block type="text_length" id="Jwz33ARDLc!=8:eDagDD"> <value name="VALUE"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="AYMpUjJx8SW6=:m%$26b">suchText</field> </block> </value> </block> </value> <next> <block type="variables_set" id="eAGK[85W)DRaIaN!oMiH"> <field name="VAR" id="IvRvTE9CHHaq$K7zulV(">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="TQ96zS+?W!vc#cqVIpGc">Text</field> </block> </value> <value name="FIND"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="AYMpUjJx8SW6=:m%$26b">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="IvRvTE9CHHaq$K7zulV(">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="IvRvTE9CHHaq$K7zulV(">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="f`kh|akT6t-u.3axjVuC">Teil_1</field> <value name="VALUE"> <block type="variables_get" id="h(#=bJ`DU%y/Jd9%HR9I"> <field name="VAR" id="q#GR?%IXmW[He;Z~n=Hw">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="f`kh|akT6t-u.3axjVuC">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="TQ96zS+?W!vc#cqVIpGc">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 xmlns="http://www.w3.org/1999/xhtml" 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="IvRvTE9CHHaq$K7zulV(">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=".%}46XJo5sAm4/).jybS">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="TQ96zS+?W!vc#cqVIpGc">Text</field> </block> </value> <value name="AT1"> <block type="math_arithmetic" id="F#*%;R9ugmwaaas?WBwG"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="IvRvTE9CHHaq$K7zulV(">Stelle</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="k`C0(zcezQP|S48n7@D!">AnzZeichenSuchtext</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="OcJS!-Ku1vQY4)I+r,gc"> <field name="VAR" id="TQ96zS+?W!vc#cqVIpGc">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="f`kh|akT6t-u.3axjVuC">Teil_1</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="f~POFU0}K4-w]xVc1?,`"> <field name="VAR" id="q#GR?%IXmW[He;Z~n=Hw">tauschText</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="U77~u,Qfmb2g[O19eHoh"> <field name="VAR" id=".%}46XJo5sAm4/).jybS">Teil_2</field> </block> </value> </block> </value> <next> <block type="variables_set" id="lao?KUxF77Si~Xc2j%^{"> <field name="VAR" id="IvRvTE9CHHaq$K7zulV(">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="TQ96zS+?W!vc#cqVIpGc">Text</field> </block> </value> <value name="FIND"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="AYMpUjJx8SW6=:m%$26b">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="TQ96zS+?W!vc#cqVIpGc">Text</field> </block> </value> </block> </xml> -
habe es hinbekommen. Zumindes erstmal die Geräte mit der zugehörigen IP.
Dabei hat mir das Script geholfen.

<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="+;k!z4f?Ci1aD)9q=yvv">originalText</variable> <variable id="AYMpUjJx8SW6=:m%$26b">suchText</variable> <variable id="q#GR?%IXmW[He;Z~n=Hw">tauschText</variable> <variable id="7IoXR6P}7V^kE$VrIxIf">Liste</variable> <variable id="TQ96zS+?W!vc#cqVIpGc">Text</variable> <variable id="k`C0(zcezQP|S48n7@D!">AnzZeichenSuchtext</variable> <variable id="Jxt4r[t}0`k6I4r{%H%Y">i</variable> <variable id="IvRvTE9CHHaq$K7zulV(">Stelle</variable> <variable id="J;oB5z6!=8NP@/6m#PO2">MeinText</variable> <variable id="f`kh|akT6t-u.3axjVuC">Teil_1</variable> <variable id=".%}46XJo5sAm4/).jybS">Teil_2</variable> <variable id="EV/{`k2S(S@D4+ZsR=T_">neuerText</variable> </variables> <block type="on_ext" id="+kFNFHLrf4VEA0o3-8$H" x="-662" y="-612"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="77^+qU?jfb@,C8$qOv.N"> <field name="oid">0_userdata.0.Tasmota.Liste_aktualisieren</field> </shadow> </value> <statement name="STATEMENT"> <block type="variables_set" id="rfW?.`6]M/kDeC3f]1|k"> <field name="VAR" id="7IoXR6P}7V^kE$VrIxIf">Liste</field> <value name="VALUE"> <block type="text" id="(hX(.`]V948AR+I6gE3j"> <field name="TEXT"></field> </block> </value> <next> <block type="variables_set" id="^/?+%YN%_nWA8IB-){K-"> <field name="VAR" id="7IoXR6P}7V^kE$VrIxIf">Liste</field> <value name="VALUE"> <block type="lists_create_with" id="EOZB$6Lo_*ob2?^Pxo(="> <mutation items="0"></mutation> </block> </value> <next> <block type="controls_forEach" id="a33(hVH3l;v%WUOKf5N6"> <field name="VAR" id="Jxt4r[t}0`k6I4r{%H%Y">i</field> <value name="LIST"> <block type="selector" id="WeqoCxw1v41h~CV[.}GN"> <field name="TEXT">sonoff.0.*.INFO.Info2_IPAddress</field> </block> </value> <statement name="DO"> <block type="lists_setIndex" id="VQau$|f)Yz7Az0?_U2?r"> <mutation at="true"></mutation> <field name="MODE">INSERT</field> <field name="WHERE">FROM_START</field> <value name="LIST"> <block type="variables_get" id="C`lcdp6:MrZ`y5;r4|#n"> <field name="VAR" id="7IoXR6P}7V^kE$VrIxIf">Liste</field> </block> </value> <value name="AT"> <block type="variables_get" id=")lo5nM1O(-C`OFQ,_9$="> <field name="VAR" id="Jxt4r[t}0`k6I4r{%H%Y">i</field> </block> </value> <value name="TO"> <block type="lists_create_with" id="7:f?8l4Aw|h39-VppK{s"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="q66Xg0P4I,ABNsa)LV#2"> <field name="VAR" id="Jxt4r[t}0`k6I4r{%H%Y">i</field> </block> </value> <value name="ADD1"> <block type="get_value_var" id="G$|![^u[;I9cT.#Ok:|C"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text" id="UJufoDuXgV%6!GjHu[Pk"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="}f`{kM/UIh[4}.uOye=T"> <field name="VAR" id="Jxt4r[t}0`k6I4r{%H%Y">i</field> </block> </value> </block> </value> </block> </value> </block> </statement> <next> <block type="comment" id="78.H*A/cFuT#o?@z2HI!"> <field name="COMMENT">https://forum.iobroker.net/topic/19985/vorlage-blockly-beliebiges-zeichen-im-text-tauschen</field> <next> <block type="comment" id="?t^|J^}%io+OnqAwVT4A"> <field name="COMMENT">Beliebige Zeichen tauschen</field> <next> <block type="variables_set" id="-P{_[1=caHEAoB9cP4Qx"> <field name="VAR" id="J;oB5z6!=8NP@/6m#PO2">MeinText</field> <value name="VALUE"> <block type="text_join" id="VXknlk,WOcd]j#l7|4M4"> <mutation items="1"></mutation> <value name="ADD0"> <block type="variables_get" id="AZ7W(KpoN+;Vs{p-e2xN"> <field name="VAR" id="7IoXR6P}7V^kE$VrIxIf">Liste</field> </block> </value> </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 xmlns="http://www.w3.org/1999/xhtml" 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="J;oB5z6!=8NP@/6m#PO2">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="EV/{`k2S(S@D4+ZsR=T_">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="J;oB5z6!=8NP@/6m#PO2">MeinText</field> </block> </value> <value name="ARG1"> <block type="text" id="(iqf|@QE;6:tP0}rbaEj"> <field name="TEXT">.INFO.Info2_IPAddress,</field> </block> </value> <value name="ARG2"> <block type="text_newline" id="=y=DAPwIJV]Zdmq`=-Tg"> <field name="Type">\n</field> </block> </value> </block> </value> <next> <block type="variables_set" id="`vGUP!R!*|3sjY~dZXxZ"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> <value name="VALUE"> <block type="procedures_callreturn" id="rvKR.cz9FhImw~YT8:YY"> <mutation name="changeText"> <arg name="originalText"></arg> <arg name="suchText"></arg> <arg name="tauschText"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id="4r-=T6yu%Y[}Zn!QhpR/"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> </block> </value> <value name="ARG1"> <block type="text" id="mbk@+N`6F_eG)N%Jw|2J"> <field name="TEXT">,sonoff.0.</field> </block> </value> <value name="ARG2"> <block type="text_newline" id=",MmzCNP3Iz5Y}=(F7HF`"> <field name="Type">\n</field> </block> </value> </block> </value> <next> <block type="variables_set" id="3+|QU5[xS;U@Qijfuu@7"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> <value name="VALUE"> <block type="procedures_callreturn" id="~C~TrH*=xX3Xl-l@tg#V"> <mutation name="changeText"> <arg name="originalText"></arg> <arg name="suchText"></arg> <arg name="tauschText"></arg> </mutation> <value name="ARG0"> <block type="variables_get" id=",eH?bND1?H}TimRX_wnz"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> </block> </value> <value name="ARG1"> <block type="text" id="6AWuk;A#5~8;jXas31)I"> <field name="TEXT">sonoff.0.</field> </block> </value> <value name="ARG2"> <block type="text" id="[M[ZL8Y,u8fNWw|eR|g)"> <field name="TEXT"></field> </block> </value> </block> </value> <next> <block type="update" id="AKDqlX-=}oGy8p.o(e~,"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Tasmota.Anzahl_Geräte_auslesen</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="0t#~}Wa_w-XIn]jT903w"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> </block> </value> <next> <block type="telegram" id="+w#m@wJ(}+44]C?^eAWa"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <value name="MESSAGE"> <shadow type="text" id="@Wm-)OUcuGe?.J3*XZRi"> <field name="TEXT">text</field> </shadow> <block type="text_join" id="4dq:{DEVj4qkD=uGm[_B"> <mutation items="1"></mutation> <value name="ADD0"> <block type="variables_get" id=":[I`uu8RVGI_#`8uUucC"> <field name="VAR" id="EV/{`k2S(S@D4+ZsR=T_">neuerText</field> </block> </value> </block> </value> <value name="USERNAME"> <block type="text" id="^tqYZqNfO}=qc.:_yK=E"> <field name="TEXT">falke69</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> </statement> </block> <block type="procedures_defreturn" id="*?%n[KG5e1!^tNun#Hj5" x="288" y="-87"> <mutation> <arg name="originalText" varid="+;k!z4f?Ci1aD)9q=yvv"></arg> <arg name="suchText" varid="AYMpUjJx8SW6=:m%$26b"></arg> <arg name="tauschText" varid="q#GR?%IXmW[He;Z~n=Hw"></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="TQ96zS+?W!vc#cqVIpGc">Text</field> <value name="VALUE"> <block type="variables_get" id="da5*p]}sO:{{|ZE!nhDe"> <field name="VAR" id="+;k!z4f?Ci1aD)9q=yvv">originalText</field> </block> </value> <next> <block type="variables_set" id="yx;qp1@1fC(oiG4c5gZt"> <field name="VAR" id="k`C0(zcezQP|S48n7@D!">AnzZeichenSuchtext</field> <value name="VALUE"> <block type="text_length" id="Jwz33ARDLc!=8:eDagDD"> <value name="VALUE"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="AYMpUjJx8SW6=:m%$26b">suchText</field> </block> </value> </block> </value> <next> <block type="variables_set" id="eAGK[85W)DRaIaN!oMiH"> <field name="VAR" id="IvRvTE9CHHaq$K7zulV(">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="TQ96zS+?W!vc#cqVIpGc">Text</field> </block> </value> <value name="FIND"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="AYMpUjJx8SW6=:m%$26b">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="IvRvTE9CHHaq$K7zulV(">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="IvRvTE9CHHaq$K7zulV(">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="f`kh|akT6t-u.3axjVuC">Teil_1</field> <value name="VALUE"> <block type="variables_get" id="h(#=bJ`DU%y/Jd9%HR9I"> <field name="VAR" id="q#GR?%IXmW[He;Z~n=Hw">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="f`kh|akT6t-u.3axjVuC">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="TQ96zS+?W!vc#cqVIpGc">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 xmlns="http://www.w3.org/1999/xhtml" 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="IvRvTE9CHHaq$K7zulV(">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=".%}46XJo5sAm4/).jybS">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="TQ96zS+?W!vc#cqVIpGc">Text</field> </block> </value> <value name="AT1"> <block type="math_arithmetic" id="F#*%;R9ugmwaaas?WBwG"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="IvRvTE9CHHaq$K7zulV(">Stelle</field> </block> </value> <value name="B"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="k`C0(zcezQP|S48n7@D!">AnzZeichenSuchtext</field> </block> </value> </block> </value> </block> </value> <next> <block type="variables_set" id="OcJS!-Ku1vQY4)I+r,gc"> <field name="VAR" id="TQ96zS+?W!vc#cqVIpGc">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="f`kh|akT6t-u.3axjVuC">Teil_1</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="f~POFU0}K4-w]xVc1?,`"> <field name="VAR" id="q#GR?%IXmW[He;Z~n=Hw">tauschText</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="U77~u,Qfmb2g[O19eHoh"> <field name="VAR" id=".%}46XJo5sAm4/).jybS">Teil_2</field> </block> </value> </block> </value> <next> <block type="variables_set" id="lao?KUxF77Si~Xc2j%^{"> <field name="VAR" id="IvRvTE9CHHaq$K7zulV(">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="TQ96zS+?W!vc#cqVIpGc">Text</field> </block> </value> <value name="FIND"> <shadow xmlns="http://www.w3.org/1999/xhtml" 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="AYMpUjJx8SW6=:m%$26b">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="TQ96zS+?W!vc#cqVIpGc">Text</field> </block> </value> </block> </xml> -
Hallo zusammen,
ich hätte gerne einen Datenpunkt, wo mir alle vorhandenen Sonoffgeräte mit der entsprechenden
IP Adresse und wenn möglich noch, der Power Status gespeichert wird.
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="A$w}RurQTuH!l]_#59k1">Liste</variable> <variable id=";W}1[;lh*6xnsGLP~te$">i</variable> </variables> <block type="variables_set" id="3%S2eRbYGO94ksE~#Te`" x="-338" y="-199"> <field name="VAR" id="A$w}RurQTuH!l]_#59k1">Liste</field> <value name="VALUE"> <block type="lists_create_with" id="q~RjeJP`}}gexaqlKF`@"> <mutation items="0"></mutation> </block> </value> <next> <block type="controls_forEach" id="u_tlO*W$)bJ(xirL3P#1"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> <value name="LIST"> <block type="selector" id="dwA7yUf]ki/yN}LqJEH}"> <field name="TEXT">sonoff.0.*.INFO.Info2_IPAddress</field> </block> </value> <statement name="DO"> <block type="lists_setIndex" id="f@k%+I]^r%$-MDGlY7@i"> <mutation at="true"></mutation> <field name="MODE">INSERT</field> <field name="WHERE">FROM_START</field> <value name="LIST"> <block type="variables_get" id="*hOPRu?HWE(mjOGpO/5L"> <field name="VAR" id="A$w}RurQTuH!l]_#59k1">Liste</field> </block> </value> <value name="AT"> <block type="variables_get" id="N^Pzg;_y$dT)#iz,[!.5"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> </block> </value> <value name="TO"> <block type="lists_create_with" id="L.d%KB8=dAtpelwsM60v"> <mutation items="2"></mutation> <value name="ADD0"> <block type="variables_get" id="S+aaEx@}YR|NIe;P(4^m"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> </block> </value> <value name="ADD1"> <block type="get_value_var" id="Z]T2-o}cGgt(o6S`P1u|"> <field name="ATTR">val</field> <value name="OID"> <shadow type="text"> <field name="TEXT"></field> </shadow> <block type="variables_get" id="M[H,}_=Ksbjz6q7Hn=tf"> <field name="VAR" id=";W}1[;lh*6xnsGLP~te$">i</field> </block> </value> </block> </value> </block> </value> <next> <block type="update" id="b97-#rg~^:fKk3^^Qfgf"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Test.id_selektor</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="i+4A4rUi^r3I=3K~YGkh"> <field name="VAR" id="A$w}RurQTuH!l]_#59k1">Liste</field> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </xml>Am Ende sollte es so oder ähnlich aussehen.
Leider bekomme ich es nicht gebacken, da ich nicht weiß, wie ich den anderen Kram rausbekomme.
Vielleicht hat ja von Euch jemand eine Lösung.

nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html
-
@falke69 Das Skript löst bei mir nicht aus. Wie genau hast du den Datenpunkt Tasmota.Liste_aktualisieren angelegt bzw wie aktualisierst du den?
hier mal der Datenpunkt
{ "common": { "name": "Liste_aktualisieren", "desc": "Manuell erzeugt", "role": "button", "type": "boolean", "read": true, "write": true, "def": "" }, "type": "state", "_id": "0_userdata.0.Tasmota.Liste_aktualisieren", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" }, "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1642526875219 }ich kann den Datenpunkt entweder manuell triggern oder in meinem Fall über Telegram Menü.
Ich werde mir mal den Link von @liv-in-sky anschauen. Vielleicht ist das noch besser als meine Lösung.
-
-
@falke69 falls zu viele spalten - man kann auch spalten ausblenden
ist halt eine tabelle für die vis - dort kann auch geschalten werden oder direkt die ip aufgerufen werden, um in die tasmota gui zu kommen
nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html
-
hier mal der Datenpunkt
{ "common": { "name": "Liste_aktualisieren", "desc": "Manuell erzeugt", "role": "button", "type": "boolean", "read": true, "write": true, "def": "" }, "type": "state", "_id": "0_userdata.0.Tasmota.Liste_aktualisieren", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" }, "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1642526875219 }ich kann den Datenpunkt entweder manuell triggern oder in meinem Fall über Telegram Menü.
Ich werde mir mal den Link von @liv-in-sky anschauen. Vielleicht ist das noch besser als meine Lösung.
@falke69 sagte in [gelöst] Alle Sonoff Geräte in Liste speichern:
hier mal der Datenpunkt
Das hat jetzt gedauert, bis ich das Blockly kapiert habe...
Funktioniert bei mir nicht, weil die Tasmotas (fast) alle noch auf V9.3.1 sind und da heisst der DP noch IPAddress und nicht Info2_IPAddress
Ich werd wohl mal tasmota wieder up-to-date bringeniobroker auf proxmox container
-
@liv-in-sky sagte in [gelöst] Alle Sonoff Geräte in Liste speichern:
ist das nichts für dich
Das ist sogar was für mich :-)
Frage: Im Skript steht oben
dazu den DP javascript.x.Tabellen@Liv.SONOFFTabelleVIS als binding angebenDa passiert bei mir aber grad mal garnix. Laut den Objekten ist der richtige Datenpunkt
javascript.x.Tabellen@Liv.SONOFFTabelleVIS .HTMLTableVisMache ich da einen Denkfehler oder ist die Kommentarzeile im Skript veraltet?
iobroker auf proxmox container
-
@liv-in-sky sagte in [gelöst] Alle Sonoff Geräte in Liste speichern:
ist das nichts für dich
Das ist sogar was für mich :-)
Frage: Im Skript steht oben
dazu den DP javascript.x.Tabellen@Liv.SONOFFTabelleVIS als binding angebenDa passiert bei mir aber grad mal garnix. Laut den Objekten ist der richtige Datenpunkt
javascript.x.Tabellen@Liv.SONOFFTabelleVIS .HTMLTableVisMache ich da einen Denkfehler oder ist die Kommentarzeile im Skript veraltet?
@amg_666 sagte in [gelöst] Alle Sonoff Geräte in Liste speichern:
javascript.x.Tabellen@Liv.SONOFFTabelleVIS .HTMLTableVis
der müßte es sein - steht da was drin, in diesem dp
nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html
-
@amg_666 sagte in [gelöst] Alle Sonoff Geräte in Liste speichern:
javascript.x.Tabellen@Liv.SONOFFTabelleVIS .HTMLTableVis
der müßte es sein - steht da was drin, in diesem dp
@liv-in-sky ja klar das funktioniert jetzt einwandfrei, es ist nur im Skript selber falsch beschrieben im Kommentar
iobroker auf proxmox container
-
@liv-in-sky ja klar das funktioniert jetzt einwandfrei, es ist nur im Skript selber falsch beschrieben im Kommentar
@amg_666 habe ich eingebaut, damit die leute was zum tüffteln haben :-)
nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html
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
