NEWS
Was mache ich falsch
-
Also ich habe 6 Thermostate und möchte eine Textzeile aus diesen 6 verschiedenen Werten ausgeben, allerdings nimmt Blockly nur den ersten und setzt mir den überall im Text, es sind aber verschiedene, was mache ich falsch.
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="==Js{aiO%5{^?Qy6B*HB">Wonzimmertemperatur</variable> <variable type="" id="@:ZMx#zTmR=`I?[4zS(l">Kuechentemperatur</variable> <variable type="" id="w^B.:rEHXWiI+A0NG{K3">Schlafzimmertemperatur</variable> <variable type="" id="0e=`[RpmLw~4@a15Y:J%">Kinderzimmertemperatur</variable> <variable type="" id=",m8s*=hEZ~:06V-FZrpy">Badezimmertemperatur</variable> <variable type="" id="K5]i_:2-6FcbTRCv.Y^X">Flurtemperatur</variable> </variables> <block type="on_ext" id="4U7UxomLRok}9n}lW7So" x="568" y="-921"> <mutation items="6"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="G}%P,o(ztynPx,32y9F5"> <field name="oid">fritzdect.0.Comet_119600031424.actualtemp</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id=":pzYzWjs{3hhE[t;%|p7"> <field name="oid">fritzdect.0.Comet_119600032184.actualtemp</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="z*JfG!=#0{PPLJLw8.VI"> <field name="oid">fritzdect.0.Comet_119600030992.actualtemp</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="fYmeI]?,?%5vmnH4m7wU"> <field name="oid">fritzdect.0.Comet_109710493816.actualtemp</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="vu,!RE`Jj?bIvc8*%$:]"> <field name="oid">fritzdect.0.Comet_092950995544.actualtemp</field> </shadow> </value> <value name="OID5"> <shadow type="field_oid" id="VD(:+YT{zkVzgy=(Po3_"> <field name="oid">fritzdect.0.Comet_109710179872.actualtemp</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id=";-dRL#S#@3,4uv)n6q9g"> <value name="IF0"> <block type="get_value" id="P[Xyc(3b[!w+oN*m)/2;"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_119600031424.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="k53Knn_T@YA9#`yNVrlt"> <field name="VAR" id="==Js{aiO%5{^?Qy6B*HB" variabletype="">Wonzimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="`w~Q58BebEz0{=:lV7UP"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="4Rg6ExUmlk7cU?=i?4QK"> <field name="TEXT">Es sind </field> </block> </value> <value name="ADD1"> <block type="on_source" id="ZGRQo-b#*$?wXilJ):w."> <field name="ATTR">state.val</field> </block> </value> <value name="ADD2"> <block type="text" id="I(q=wyfsnz4O-9#sRY9D"> <field name="TEXT"> grad im Wohnzimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="q4s_2A(Ns:o`W`+oIR9f"> <value name="IF0"> <block type="get_value" id="(qgYBu[hoRVEC,At7*WV"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_119600032184.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="c2x]%J`Pu_cue3:zJ45q"> <field name="VAR" id="@:ZMx#zTmR=`I?[4zS(l" variabletype="">Kuechentemperatur</field> <value name="VALUE"> <block type="text_join" id="O[}S2goY+K5D;2v/@53B"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="2eZ@3WIq6o=a,:AkMHpY"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id="co5~ytOop!sf#+@YK{bq"> <field name="TEXT"> grad in der Küche, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="#gi[@?sOt2.EXM;o#_SO"> <value name="IF0"> <block type="get_value" id="1Z(!?a?*XJv`x@)1h12H"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_119600030992.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="}|q!w7-S-n7kAiK0$pV-"> <field name="VAR" id="w^B.:rEHXWiI+A0NG{K3" variabletype="">Schlafzimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="log[PY045D0T]IM=#)vP"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="[c;_uKR[pKwXPoX$%?2k"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id=":qxtnVA1q##eSQaKq{vj"> <field name="TEXT"> grad im Schlafzimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="/4g`!!~:=Lv{}I_^=8:o"> <value name="IF0"> <block type="get_value" id="=^|Nun44R^M)ECMhK}{S"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_109710493816.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="}MqGI_!+XC0H9GdfItf`"> <field name="VAR" id="0e=`[RpmLw~4@a15Y:J%" variabletype="">Kinderzimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="9Px|ted`0c6[Ay$|_SuJ"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="~b4w^hTs+1OiJb4Z]n4c"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id="/{v:N%7%inLH(t|ENEv6"> <field name="TEXT"> grad im Kinderzimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="LuQdVq8V/[TtGp8ZxcXL"> <value name="IF0"> <block type="get_value" id="E`tewS|IYdlJw8p0qW1z"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_092950995544.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="+Q=FYZeIKj[WQtn#qSQk"> <field name="VAR" id=",m8s*=hEZ~:06V-FZrpy" variabletype="">Badezimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="._Oidy_+=6v7s;sRvu::"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="~dVVwD2I`,FSk}1TZ+6x"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id="6j?9_K+DBx`B)oJu1KLK"> <field name="TEXT"> grad im Badezimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="mVQ1ffZ#^P,yIiNf*u$s"> <value name="IF0"> <block type="get_value" id=";T3K!BKuSD7QLH#5Nx[)"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_109710179872.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="9%8Nq+=7WQ^2uM/zVj2a"> <field name="VAR" id="K5]i_:2-6FcbTRCv.Y^X" variabletype="">Flurtemperatur</field> <value name="VALUE"> <block type="text_join" id="d1LZ~L7~kJnvA}/1^;.A"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="E_09b9%jLrq%y4?]Fw}a"> <field name="TEXT">und </field> </block> </value> <value name="ADD1"> <block type="on_source" id=";J|+KYq7mNE}wWC,:^aI"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD2"> <block type="text" id="h:dNO,0Aj(,1q=`-VQ:t"> <field name="TEXT"> grad im Flur </field> </block> </value> </block> </value> </block> </statement> <next> <block type="control" id="6F5wJx[5:Wd}:5kj{[R?"> <mutation delay_input="false"></mutation> <field name="OID">0_userdata.0.Wohnungstemperatur</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="Kdz0_=6fDoG(5Xx+bD9D"> <mutation items="8"></mutation> <value name="ADD0"> <block type="variables_get" id="`Mef7!-;bX@83Be$}dLM"> <field name="VAR" id="==Js{aiO%5{^?Qy6B*HB" variabletype="">Wonzimmertemperatur</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="CZzB6ne,@|5.!GfIU6i$"> <field name="VAR" id="@:ZMx#zTmR=`I?[4zS(l" variabletype="">Kuechentemperatur</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="JEYo?f#$PqXt*[=f0wL8"> <field name="VAR" id="w^B.:rEHXWiI+A0NG{K3" variabletype="">Schlafzimmertemperatur</field> </block> </value> <value name="ADD3"> <block type="variables_get" id="bZ[6*+Jan.T$R{$?PY_u"> <field name="VAR" id="0e=`[RpmLw~4@a15Y:J%" variabletype="">Kinderzimmertemperatur</field> </block> </value> <value name="ADD4"> <block type="variables_get" id="87N?hq#?bg$^9MN6?,bJ"> <field name="VAR" id=",m8s*=hEZ~:06V-FZrpy" variabletype="">Badezimmertemperatur</field> </block> </value> <value name="ADD5"> <block type="variables_get" id="-;iE5N=j2ykKaVTI/vCg"> <field name="VAR" id="K5]i_:2-6FcbTRCv.Y^X" variabletype="">Flurtemperatur</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml> -
Also ich habe 6 Thermostate und möchte eine Textzeile aus diesen 6 verschiedenen Werten ausgeben, allerdings nimmt Blockly nur den ersten und setzt mir den überall im Text, es sind aber verschiedene, was mache ich falsch.
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="==Js{aiO%5{^?Qy6B*HB">Wonzimmertemperatur</variable> <variable type="" id="@:ZMx#zTmR=`I?[4zS(l">Kuechentemperatur</variable> <variable type="" id="w^B.:rEHXWiI+A0NG{K3">Schlafzimmertemperatur</variable> <variable type="" id="0e=`[RpmLw~4@a15Y:J%">Kinderzimmertemperatur</variable> <variable type="" id=",m8s*=hEZ~:06V-FZrpy">Badezimmertemperatur</variable> <variable type="" id="K5]i_:2-6FcbTRCv.Y^X">Flurtemperatur</variable> </variables> <block type="on_ext" id="4U7UxomLRok}9n}lW7So" x="568" y="-921"> <mutation items="6"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="G}%P,o(ztynPx,32y9F5"> <field name="oid">fritzdect.0.Comet_119600031424.actualtemp</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id=":pzYzWjs{3hhE[t;%|p7"> <field name="oid">fritzdect.0.Comet_119600032184.actualtemp</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="z*JfG!=#0{PPLJLw8.VI"> <field name="oid">fritzdect.0.Comet_119600030992.actualtemp</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="fYmeI]?,?%5vmnH4m7wU"> <field name="oid">fritzdect.0.Comet_109710493816.actualtemp</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="vu,!RE`Jj?bIvc8*%$:]"> <field name="oid">fritzdect.0.Comet_092950995544.actualtemp</field> </shadow> </value> <value name="OID5"> <shadow type="field_oid" id="VD(:+YT{zkVzgy=(Po3_"> <field name="oid">fritzdect.0.Comet_109710179872.actualtemp</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id=";-dRL#S#@3,4uv)n6q9g"> <value name="IF0"> <block type="get_value" id="P[Xyc(3b[!w+oN*m)/2;"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_119600031424.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="k53Knn_T@YA9#`yNVrlt"> <field name="VAR" id="==Js{aiO%5{^?Qy6B*HB" variabletype="">Wonzimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="`w~Q58BebEz0{=:lV7UP"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="4Rg6ExUmlk7cU?=i?4QK"> <field name="TEXT">Es sind </field> </block> </value> <value name="ADD1"> <block type="on_source" id="ZGRQo-b#*$?wXilJ):w."> <field name="ATTR">state.val</field> </block> </value> <value name="ADD2"> <block type="text" id="I(q=wyfsnz4O-9#sRY9D"> <field name="TEXT"> grad im Wohnzimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="q4s_2A(Ns:o`W`+oIR9f"> <value name="IF0"> <block type="get_value" id="(qgYBu[hoRVEC,At7*WV"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_119600032184.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="c2x]%J`Pu_cue3:zJ45q"> <field name="VAR" id="@:ZMx#zTmR=`I?[4zS(l" variabletype="">Kuechentemperatur</field> <value name="VALUE"> <block type="text_join" id="O[}S2goY+K5D;2v/@53B"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="2eZ@3WIq6o=a,:AkMHpY"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id="co5~ytOop!sf#+@YK{bq"> <field name="TEXT"> grad in der Küche, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="#gi[@?sOt2.EXM;o#_SO"> <value name="IF0"> <block type="get_value" id="1Z(!?a?*XJv`x@)1h12H"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_119600030992.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="}|q!w7-S-n7kAiK0$pV-"> <field name="VAR" id="w^B.:rEHXWiI+A0NG{K3" variabletype="">Schlafzimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="log[PY045D0T]IM=#)vP"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="[c;_uKR[pKwXPoX$%?2k"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id=":qxtnVA1q##eSQaKq{vj"> <field name="TEXT"> grad im Schlafzimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="/4g`!!~:=Lv{}I_^=8:o"> <value name="IF0"> <block type="get_value" id="=^|Nun44R^M)ECMhK}{S"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_109710493816.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="}MqGI_!+XC0H9GdfItf`"> <field name="VAR" id="0e=`[RpmLw~4@a15Y:J%" variabletype="">Kinderzimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="9Px|ted`0c6[Ay$|_SuJ"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="~b4w^hTs+1OiJb4Z]n4c"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id="/{v:N%7%inLH(t|ENEv6"> <field name="TEXT"> grad im Kinderzimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="LuQdVq8V/[TtGp8ZxcXL"> <value name="IF0"> <block type="get_value" id="E`tewS|IYdlJw8p0qW1z"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_092950995544.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="+Q=FYZeIKj[WQtn#qSQk"> <field name="VAR" id=",m8s*=hEZ~:06V-FZrpy" variabletype="">Badezimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="._Oidy_+=6v7s;sRvu::"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="~dVVwD2I`,FSk}1TZ+6x"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id="6j?9_K+DBx`B)oJu1KLK"> <field name="TEXT"> grad im Badezimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="mVQ1ffZ#^P,yIiNf*u$s"> <value name="IF0"> <block type="get_value" id=";T3K!BKuSD7QLH#5Nx[)"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_109710179872.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="9%8Nq+=7WQ^2uM/zVj2a"> <field name="VAR" id="K5]i_:2-6FcbTRCv.Y^X" variabletype="">Flurtemperatur</field> <value name="VALUE"> <block type="text_join" id="d1LZ~L7~kJnvA}/1^;.A"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="E_09b9%jLrq%y4?]Fw}a"> <field name="TEXT">und </field> </block> </value> <value name="ADD1"> <block type="on_source" id=";J|+KYq7mNE}wWC,:^aI"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD2"> <block type="text" id="h:dNO,0Aj(,1q=`-VQ:t"> <field name="TEXT"> grad im Flur </field> </block> </value> </block> </value> </block> </statement> <next> <block type="control" id="6F5wJx[5:Wd}:5kj{[R?"> <mutation delay_input="false"></mutation> <field name="OID">0_userdata.0.Wohnungstemperatur</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="Kdz0_=6fDoG(5Xx+bD9D"> <mutation items="8"></mutation> <value name="ADD0"> <block type="variables_get" id="`Mef7!-;bX@83Be$}dLM"> <field name="VAR" id="==Js{aiO%5{^?Qy6B*HB" variabletype="">Wonzimmertemperatur</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="CZzB6ne,@|5.!GfIU6i$"> <field name="VAR" id="@:ZMx#zTmR=`I?[4zS(l" variabletype="">Kuechentemperatur</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="JEYo?f#$PqXt*[=f0wL8"> <field name="VAR" id="w^B.:rEHXWiI+A0NG{K3" variabletype="">Schlafzimmertemperatur</field> </block> </value> <value name="ADD3"> <block type="variables_get" id="bZ[6*+Jan.T$R{$?PY_u"> <field name="VAR" id="0e=`[RpmLw~4@a15Y:J%" variabletype="">Kinderzimmertemperatur</field> </block> </value> <value name="ADD4"> <block type="variables_get" id="87N?hq#?bg$^9MN6?,bJ"> <field name="VAR" id=",m8s*=hEZ~:06V-FZrpy" variabletype="">Badezimmertemperatur</field> </block> </value> <value name="ADD5"> <block type="variables_get" id="-;iE5N=j2ykKaVTI/vCg"> <field name="VAR" id="K5]i_:2-6FcbTRCv.Y^X" variabletype="">Flurtemperatur</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>@Matze1976
Bei Blockly-Scripten solltest Du immer zusätzlich einen ScreenShot des Blockly mit anfügen, dann kann man das besser nachvollziehen -
Also ich habe 6 Thermostate und möchte eine Textzeile aus diesen 6 verschiedenen Werten ausgeben, allerdings nimmt Blockly nur den ersten und setzt mir den überall im Text, es sind aber verschiedene, was mache ich falsch.
<xml xmlns="http://www.w3.org/1999/xhtml"> <variables> <variable type="" id="==Js{aiO%5{^?Qy6B*HB">Wonzimmertemperatur</variable> <variable type="" id="@:ZMx#zTmR=`I?[4zS(l">Kuechentemperatur</variable> <variable type="" id="w^B.:rEHXWiI+A0NG{K3">Schlafzimmertemperatur</variable> <variable type="" id="0e=`[RpmLw~4@a15Y:J%">Kinderzimmertemperatur</variable> <variable type="" id=",m8s*=hEZ~:06V-FZrpy">Badezimmertemperatur</variable> <variable type="" id="K5]i_:2-6FcbTRCv.Y^X">Flurtemperatur</variable> </variables> <block type="on_ext" id="4U7UxomLRok}9n}lW7So" x="568" y="-921"> <mutation items="6"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="G}%P,o(ztynPx,32y9F5"> <field name="oid">fritzdect.0.Comet_119600031424.actualtemp</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id=":pzYzWjs{3hhE[t;%|p7"> <field name="oid">fritzdect.0.Comet_119600032184.actualtemp</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="z*JfG!=#0{PPLJLw8.VI"> <field name="oid">fritzdect.0.Comet_119600030992.actualtemp</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="fYmeI]?,?%5vmnH4m7wU"> <field name="oid">fritzdect.0.Comet_109710493816.actualtemp</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="vu,!RE`Jj?bIvc8*%$:]"> <field name="oid">fritzdect.0.Comet_092950995544.actualtemp</field> </shadow> </value> <value name="OID5"> <shadow type="field_oid" id="VD(:+YT{zkVzgy=(Po3_"> <field name="oid">fritzdect.0.Comet_109710179872.actualtemp</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id=";-dRL#S#@3,4uv)n6q9g"> <value name="IF0"> <block type="get_value" id="P[Xyc(3b[!w+oN*m)/2;"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_119600031424.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="k53Knn_T@YA9#`yNVrlt"> <field name="VAR" id="==Js{aiO%5{^?Qy6B*HB" variabletype="">Wonzimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="`w~Q58BebEz0{=:lV7UP"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="4Rg6ExUmlk7cU?=i?4QK"> <field name="TEXT">Es sind </field> </block> </value> <value name="ADD1"> <block type="on_source" id="ZGRQo-b#*$?wXilJ):w."> <field name="ATTR">state.val</field> </block> </value> <value name="ADD2"> <block type="text" id="I(q=wyfsnz4O-9#sRY9D"> <field name="TEXT"> grad im Wohnzimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="q4s_2A(Ns:o`W`+oIR9f"> <value name="IF0"> <block type="get_value" id="(qgYBu[hoRVEC,At7*WV"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_119600032184.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="c2x]%J`Pu_cue3:zJ45q"> <field name="VAR" id="@:ZMx#zTmR=`I?[4zS(l" variabletype="">Kuechentemperatur</field> <value name="VALUE"> <block type="text_join" id="O[}S2goY+K5D;2v/@53B"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="2eZ@3WIq6o=a,:AkMHpY"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id="co5~ytOop!sf#+@YK{bq"> <field name="TEXT"> grad in der Küche, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="#gi[@?sOt2.EXM;o#_SO"> <value name="IF0"> <block type="get_value" id="1Z(!?a?*XJv`x@)1h12H"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_119600030992.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="}|q!w7-S-n7kAiK0$pV-"> <field name="VAR" id="w^B.:rEHXWiI+A0NG{K3" variabletype="">Schlafzimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="log[PY045D0T]IM=#)vP"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="[c;_uKR[pKwXPoX$%?2k"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id=":qxtnVA1q##eSQaKq{vj"> <field name="TEXT"> grad im Schlafzimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="/4g`!!~:=Lv{}I_^=8:o"> <value name="IF0"> <block type="get_value" id="=^|Nun44R^M)ECMhK}{S"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_109710493816.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="}MqGI_!+XC0H9GdfItf`"> <field name="VAR" id="0e=`[RpmLw~4@a15Y:J%" variabletype="">Kinderzimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="9Px|ted`0c6[Ay$|_SuJ"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="~b4w^hTs+1OiJb4Z]n4c"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id="/{v:N%7%inLH(t|ENEv6"> <field name="TEXT"> grad im Kinderzimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="LuQdVq8V/[TtGp8ZxcXL"> <value name="IF0"> <block type="get_value" id="E`tewS|IYdlJw8p0qW1z"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_092950995544.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="+Q=FYZeIKj[WQtn#qSQk"> <field name="VAR" id=",m8s*=hEZ~:06V-FZrpy" variabletype="">Badezimmertemperatur</field> <value name="VALUE"> <block type="text_join" id="._Oidy_+=6v7s;sRvu::"> <mutation items="2"></mutation> <value name="ADD0"> <block type="on_source" id="~dVVwD2I`,FSk}1TZ+6x"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD1"> <block type="text" id="6j?9_K+DBx`B)oJu1KLK"> <field name="TEXT"> grad im Badezimmer, </field> </block> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="mVQ1ffZ#^P,yIiNf*u$s"> <value name="IF0"> <block type="get_value" id=";T3K!BKuSD7QLH#5Nx[)"> <field name="ATTR">val</field> <field name="OID">fritzdect.0.Comet_109710179872.actualtemp</field> </block> </value> <statement name="DO0"> <block type="variables_set" id="9%8Nq+=7WQ^2uM/zVj2a"> <field name="VAR" id="K5]i_:2-6FcbTRCv.Y^X" variabletype="">Flurtemperatur</field> <value name="VALUE"> <block type="text_join" id="d1LZ~L7~kJnvA}/1^;.A"> <mutation items="3"></mutation> <value name="ADD0"> <block type="text" id="E_09b9%jLrq%y4?]Fw}a"> <field name="TEXT">und </field> </block> </value> <value name="ADD1"> <block type="on_source" id=";J|+KYq7mNE}wWC,:^aI"> <field name="ATTR">state.val</field> </block> </value> <value name="ADD2"> <block type="text" id="h:dNO,0Aj(,1q=`-VQ:t"> <field name="TEXT"> grad im Flur </field> </block> </value> </block> </value> </block> </statement> <next> <block type="control" id="6F5wJx[5:Wd}:5kj{[R?"> <mutation delay_input="false"></mutation> <field name="OID">0_userdata.0.Wohnungstemperatur</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text_join" id="Kdz0_=6fDoG(5Xx+bD9D"> <mutation items="8"></mutation> <value name="ADD0"> <block type="variables_get" id="`Mef7!-;bX@83Be$}dLM"> <field name="VAR" id="==Js{aiO%5{^?Qy6B*HB" variabletype="">Wonzimmertemperatur</field> </block> </value> <value name="ADD1"> <block type="variables_get" id="CZzB6ne,@|5.!GfIU6i$"> <field name="VAR" id="@:ZMx#zTmR=`I?[4zS(l" variabletype="">Kuechentemperatur</field> </block> </value> <value name="ADD2"> <block type="variables_get" id="JEYo?f#$PqXt*[=f0wL8"> <field name="VAR" id="w^B.:rEHXWiI+A0NG{K3" variabletype="">Schlafzimmertemperatur</field> </block> </value> <value name="ADD3"> <block type="variables_get" id="bZ[6*+Jan.T$R{$?PY_u"> <field name="VAR" id="0e=`[RpmLw~4@a15Y:J%" variabletype="">Kinderzimmertemperatur</field> </block> </value> <value name="ADD4"> <block type="variables_get" id="87N?hq#?bg$^9MN6?,bJ"> <field name="VAR" id=",m8s*=hEZ~:06V-FZrpy" variabletype="">Badezimmertemperatur</field> </block> </value> <value name="ADD5"> <block type="variables_get" id="-;iE5N=j2ykKaVTI/vCg"> <field name="VAR" id="K5]i_:2-6FcbTRCv.Y^X" variabletype="">Flurtemperatur</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml>@Matze1976 sagte:
was mache ich falsch.
Nicht den Wert eines Datenpunktes prüfen, sondern die ID des Triggers vergleichen. Beispiel:

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