- Home
- Deutsch
- Skripten / Logik
- Blockly
- Blockly Konvertierung Zahl in String
Blockly Konvertierung Zahl in String
-
Hallo Freunde der bunten Blöcke,
ich steh mal wieder auf dem Schlauch, ich habe mir ein Script zusammengestellt welches mich per Telegram
bei Änderung der Betriebsart meiner Heizkreise benachrichtigt. Funktioniert auch ganz gut jedoch nur als Zahlen mir fehlt also eine Konvertierung zu Text da jede Zahl eine Bestimmte Bedeutung hat.
0 = Standby
1 = Automatikbetrieb
2 = Heizbetrieb
3 = SparbetriebDie Frage wäre, wie bekomme ich diese Informationen an den "Erstelle Text aus" Baustein?
MFG
-
Mit einer Variablen.
-
@Lollo79 sagte:
per Telegram bei Änderung der Betriebsart meiner Heizkreise benachrichtigt.
-
Hallo Paul & Ralla ,
habe schon einen eigenen Lösungsansatz verwirklicht, eure sind aber auch nicht schlecht werde sie testen.
MFG Silvio
P.S.: Mein Eigener Lösungsansatz beinhaltet noch eine Entprellung welche aber noch nicht ganz meinen Wünschen entspricht.
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="" id="9Fzzv.(;ar)P7.FES0=B">Entprellen_2</variable>
<variable type="" id="m4.Ui/z9-Wn=n.bdp!vQ">BA_FBH_Text</variable>
<variable type="" id="SFWg[DIw5l?UNer}oPs">Merker_Standby_FBH</variable> <variable type="" id=";=-o]MJM^OcSkjqoz!mU">Merker_Auto_FBH</variable> <variable type="" id="-q$yD!*_6$h,o8@1t@^}">Merker_Heizen_FBH</variable> <variable type="" id="axQeS{;lur_hcVdvt=gD">Merker_Sparen_FBH</variable> <variable type="" id="@27*109Yiip+(RitQ@Qo">Entprellen_BA</variable> <variable type="undefined" id="timeout2">timeout2</variable> </variables> <block type="variables_set" id="ynso-qbYJA+*XAY_YwKQ" x="-362" y="-437"> <field name="VAR" id="9Fzzv.(;ar)P7.FES0=B" variabletype="">Entprellen_2</field> <value name="VALUE"> <block type="logic_boolean" id="gxfe_3A;QtxDNQw,][V^"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="on_ext" id="m;%!Gt:?$s*f/w@*);3x"> <mutation items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="vl]D2d0f/sC^3WC
MA$P">
<field name="oid">wolf.0.bm2.70</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="variables_set" id="i9lG+q]qxzJu0M,1)$d(">
<field name="VAR" id="m4.Ui/z9-Wn=n.bdp!vQ" variabletype="">BA_FBH_Text</field>
<value name="VALUE">
<block type="text" id="!FB,lJYUTwv{90{Zq/r.">
<field name="TEXT">nicht definiert</field>
</block>
</value>
<next>
<block type="controls_if" id="WVumFJAt*:82hX/h:etb">
<mutation elseif="3"></mutation>
<value name="IF0">
<block type="logic_compare" id="cm}vkx}ddlW,$JkoxA"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="~oqNJ/g:v}/df|j!PrAN"> <field name="ATTR">val</field> <field name="OID">wolf.0.bm2.70</field> </block> </value> <value name="B"> <block type="math_number" id="k+@W7ODDNYntPHyxw9aD"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="TAu^U.Wh+DY_^K5|Ko:C"> <field name="VAR" id="m4.Ui/z9-Wn=n.bdp!vQ" variabletype="">BA_FBH_Text</field> <value name="VALUE"> <block type="text" id="io86k5?Qayw!EkeyYB5{"> <field name="TEXT">Standby</field> </block> </value> <next> <block type="variables_set" id="lmSc8tJSmPZ(y{fMc{MJ"> <field name="VAR" id="SFW
g[DIw5l?UNer}oPs" variabletype="">Merker_Standby_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id="[%r}M:).:1)NGKz0vtAG">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="variables_set" id="kucXG{S8@7c6mqRx({p6">
<field name="VAR" id=";=-o]MJM^OcSkjqoz!mU" variabletype="">Merker_Auto_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id="6e)mFjpii!jY0H4sEhBa">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="?2XtV5z=tM;X0aSm!?s_">
<field name="VAR" id="-q$yD!6$h,o8@1t@^}" variabletype="">Merker_Heizen_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id="dO:#H4yDvMzD1@C@KM68">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id=".Q9(zS9-T!r+PU]~imk"> <field name="VAR" id="axQeS{;lur_hcVdvt=gD" variabletype="">Merker_Sparen_FBH</field> <value name="VALUE"> <block type="logic_boolean" id="wj0Buy%T#}q:v?lN8
tJ">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_compare" id="?1[VP+tUL]6MVSzD0^pn">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="un*s^e/+9s,fE6qPjM]m">
<field name="ATTR">val</field>
<field name="OID">wolf.0.bm2.70</field>
</block>
</value>
<value name="B">
<block type="math_number" id="l|9XJ;}z;EexXC{DgKsV">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="variables_set" id="nCF(R:9)$$-yzTwnMfU"> <field name="VAR" id="m4.Ui/z9-Wn=n.bdp!vQ" variabletype="">BA_FBH_Text</field> <value name="VALUE"> <block type="text" id="kM
SEV%FOWv]w-zl^wTq">
<field name="TEXT">Automatikbetrieb</field>
</block>
</value>
<next>
<block type="variables_set" id="v9jSZaqye)TpUa0b{D5|">
<field name="VAR" id=";=-o]MJM^OcSkjqoz!mU" variabletype="">Merker_Auto_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id="LEr:[oD-H8/s=~-oJzWL">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="variables_set" id=")u:Qqr7si+Q]-E[B3HIJ">
<field name="VAR" id="SFWg[DIw5l?UNer}oPs" variabletype="">Merker_Standby_FBH</field> <value name="VALUE"> <block type="logic_boolean" id="Qif:Uo/b:LV|vcct6Hcm"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="IzyjshPu.aEHfIUxsBte"> <field name="VAR" id="-q$yD!*_6$h,o8@1t@^}" variabletype="">Merker_Heizen_FBH</field> <value name="VALUE"> <block type="logic_boolean" id="/[2-w*$_yUpXZ0[CX]tL"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="2O:jgx,T8As^VgR:_GBI"> <field name="VAR" id="axQeS{;lur_hcVdvt=gD" variabletype="">Merker_Sparen_FBH</field> <value name="VALUE"> <block type="logic_boolean" id="aSLU5uhR-8FrcZJj6eRf"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="IF2"> <block type="logic_compare" id="pB{p:qmchyNl1ksausoI"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="b@.nr@+$W/4bM7vC33Dt"> <field name="ATTR">val</field> <field name="OID">wolf.0.bm2.70</field> </block> </value> <value name="B"> <block type="math_number" id="mkz;5FU(Zs2rA7*KCA)*"> <field name="NUM">2</field> </block> </value> </block> </value> <statement name="DO2"> <block type="variables_set" id="vYM,T)@eg/[j-q/
dgXW">
<field name="VAR" id="m4.Ui/z9-Wn=n.bdp!vQ" variabletype="">BA_FBH_Text</field>
<value name="VALUE">
<block type="text" id="le5;;jio7LD92OppeQS"> <field name="TEXT">Heizbetrieb</field> </block> </value> <next> <block type="variables_set" id="-[HJAA!a*NH0N|zZ.K,M"> <field name="VAR" id="-q$yD!*_6$h,o8@1t@^}" variabletype="">Merker_Heizen_FBH</field> <value name="VALUE"> <block type="logic_boolean" id="=0
5]a[~*8zBxp}u{Y@@">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="variables_set" id="OlWBxsUq%zU]T;hhU9t"> <field name="VAR" id="SFW
g[DIw5l?UNer}oPs" variabletype="">Merker_Standby_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id="I7!{MId7GBquy*}jfhF"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="Hn$,V
T.hdR;MP4gFSsj">
<field name="VAR" id=";=-o]MJM^OcSkjqoz!mU" variabletype="">Merker_Auto_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id="%P{KYcm!vt3i%cnggs[-">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="WI]dvQ[(9?+gx5l0S=0t">
<field name="VAR" id="axQeS{;lur_hcVdvt=gD" variabletype="">Merker_Sparen_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id=".BUZ_y6$oBE2-zZv9D?"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <value name="IF3"> <block type="logic_compare" id="@BBtU+Tjb-ZbPpglS}__"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="/:97MbgL1F;]5q:S?_*U"> <field name="ATTR">val</field> <field name="OID">wolf.0.bm2.70</field> </block> </value> <value name="B"> <block type="math_number" id="8aXvTQr+y5C$fI*EFl6R"> <field name="NUM">3</field> </block> </value> </block> </value> <statement name="DO3"> <block type="variables_set" id="maOW(Ez868oJl;cM@
Y]">
<field name="VAR" id="m4.Ui/z9-Wn=n.bdp!vQ" variabletype="">BA_FBH_Text</field>
<value name="VALUE">
<block type="text" id=",+DwWK}E9/.F,jo2|xA">
<field name="TEXT">Sparbetrieb</field>
</block>
</value>
<next>
<block type="variables_set" id="T$MUIKedjQ(j!@;f},Bt">
<field name="VAR" id="axQeS{;lur_hcVdvt=gD" variabletype="">Merker_Sparen_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id="9G),;{#Q+8nLRW6qNd;"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="#leLJ/A.|AnU2.(ZX0;l"> <field name="VAR" id="SFW
g[DIw5l?UNer}oPs" variabletype="">Merker_Standby_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id="d;wtOTi5g=!%:)Q15N8">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="rl[.]g5ZkXLlQ?0m72z">
<field name="VAR" id=";=-o]MJM^OcSkjqoz!mU" variabletype="">Merker_Auto_FBH</field>
<value name="VALUE">
<block type="logic_boolean" id="~ck-D6A_y5b#3Yqi-m_U">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="K,n6KY7OJ1a?Kmu!yx%"> <field name="VAR" id="-q$yD!*_6$h,o8@1t@^}" variabletype="">Merker_Heizen_FBH</field> <value name="VALUE"> <block type="logic_boolean" id="nwXp8a]RAU}p3uqg
n^C">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="controls_if" id="h;xpa0{4srhW+IfuRYHz" collapsed="true">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="fGO0}x1u}?;Irw|]qEiO" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="3sm.pD=#dq|290AfHLJ">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="#o5]jVqd2GgZu6Y]y%l|">
<field name="VAR" id="SFWg[DIw5l?UNer}oPs" variabletype="">Merker_Standby_FBH</field> </block> </value> <value name="B"> <block type="logic_boolean" id="
D6_M2X/FX|lVk_8u3PS">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="MTuGs,l+C]Df7#a(qOS" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="j#vu,S8.,uI7qJ92HT[C">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="C+ld@Hx1XqqUQHBJ-YRO">
<field name="VAR" id=";=-o]MJM^OcSkjqoz!mU" variabletype="">Merker_Auto_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="w+99+}io,I^pDx[zBL:3">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="m)5M3hUf1.H?KQjs26_]" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="kYgxz#;)}C?9q^uCMGN!">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id=",!$?U(3W0(H=Y~Y-cv1]">
<field name="VAR" id="-q$yD!_6$h,o8@1t@^}" variabletype="">Merker_Heizen_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=";RaYdbm.k,BqgpMvvrf"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="#j=-.V#dO
THo/q~ZrS$">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="v/YS?5Y]aefJMh~4(F_7">
<field name="VAR" id="axQeS{;lur_hcVdvt=gD" variabletype="">Merker_Sparen_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="oGTO5=,5_xPHn!|ohL!">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id=",^!F[as^6bXAD^!{1|H"> <field name="VAR" id="@27*109Yiip+(RitQ@Qo" variabletype="">Entprellen_BA</field> <value name="VALUE"> <block type="logic_boolean" id="MB9ZXYx6d?J:h8
^abIa">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="6N[f(%HKag@fTXWNqo+">
<field name="VAR" id="@27109Yiip+(RitQ@Qo" variabletype="">Entprellen_BA</field>
<value name="VALUE">
<block type="logic_boolean" id="f?SWxC#ms9x)A;PL]/VP">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="TMRvv1y9+]|Tg:mF;O" collapsed="true">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="a+(t6p^/KI%r;bSD61" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="TE;fzt#v3hMmJ{[5%^C"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="MhkP$8YFz8NS_./,.qU:"> <field name="VAR" id="SFW
g[DIw5l?UNer}oPs" variabletype="">Merker_Standby_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="gcoCUFtPkm?#%|,(2ds">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="#0hXt)0SfYMmR]hjMS9y" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="by2v{rFgL9=+h^?o7Qhr">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id=")]H:O$uL3OZGD%?LJe(t">
<field name="VAR" id=";=-o]MJM^OcSkjqoz!mU" variabletype="">Merker_Auto_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="C(apUC7B@z~vs@RriV(@">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="RNNOB3eSpIt7I9%{o)[p" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="FbBV4B$;M71sGjk%}EXr">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="moWx4ZxbF18]2?$Ody}">
<field name="VAR" id="-q$yD!_6$h,o8@1t@^}" variabletype="">Merker_Heizen_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="H{ulFO[qxfPdIU]jH(@"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="wkZ|=DfIsu*z;WpC:n)t"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="q8[]e/,}uWXJ)@A{q7ve"> <field name="VAR" id="axQeS{;lur_hcVdvt=gD" variabletype="">Merker_Sparen_FBH</field> </block> </value> <value name="B"> <block type="logic_boolean" id="gnX9bOjfq=kWk0v:.wVL"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id=")2zSB|f1ITSmL)S4q;Ws"> <field name="VAR" id="@27*109Yiip+(RitQ@Qo" variabletype="">Entprellen_BA</field> <value name="VALUE"> <block type="logic_boolean" id="V9xnarl{oiaeYW#6ir!E"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="variables_set" id="wig3y;:i,2g[eu-NJN+q"> <field name="VAR" id="@27*109Yiip+(RitQ@Qo" variabletype="">Entprellen_BA</field> <value name="VALUE"> <block type="logic_boolean" id="H1-X2u;Q{CA=N$[gNF[Y"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="Vdm:Q!C_4Kfa+.!i:dQ#" collapsed="true"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="3eK=:5v4kL$l-GYsG$=J" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="g7lXuEk*8M3NrmL)AHXL"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="cnAuOBj()r%{^P]RCf4S"> <field name="VAR" id="SFW
g[DIw5l?UNer}oPs" variabletype="">Merker_Standby_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="ATtcq;2:MCrqXg#
g_i">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="9Js+NK.a9jh$CA_1HW1" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="x
V/:^|AL[IFT:glY-jK">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="D}|@c7L3#4EXP1s#rdbb">
<field name="VAR" id=";=-o]MJM^OcSkjqoz!mU" variabletype="">Merker_Auto_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="9@m=c9hoJwNExs)@?aOq">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id=",QIc.@OGH?1xrSZi8j)I" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="E^~x3B80!d7FXU])GM="> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="9O?G~+7r)kdEl4[vErYa"> <field name="VAR" id="-q$yD!*_6$h,o8@1t@^}" variabletype="">Merker_Heizen_FBH</field> </block> </value> <value name="B"> <block type="logic_boolean" id="2fHEZ3x-s1O{k*EK?a:H"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="7TeLQC62S|PvnA;W?BdH"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="R@qZP@Zak$1rhmHFB8!("> <field name="VAR" id="axQeS{;lur_hcVdvt=gD" variabletype="">Merker_Sparen_FBH</field> </block> </value> <value name="B"> <block type="logic_boolean" id="yAK+U0Sv
ZZ_aPF;2Y/7">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id=";TNK}R+Wm+C#vM5j-bZr">
<field name="VAR" id="@27109Yiip+(RitQ@Qo" variabletype="">Entprellen_BA</field>
<value name="VALUE">
<block type="logic_boolean" id="XqiB2h^ujBsY58JOaapX">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="L_//nlDC25(@c8/pu_6{">
<field name="VAR" id="@27109Yiip+(RitQ@Qo" variabletype="">Entprellen_BA</field>
<value name="VALUE">
<block type="logic_boolean" id="fAk}^s6C9}maN[=-c8(^">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="kG[|$fr7IVC4[H4HNxMB" collapsed="true">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="3A~19/vQ71LC/Rf1MU}3" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="Sbz!(fHxwA8q^}B.{)b"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="INBnNhZeS!w{++9;jzAz"> <field name="VAR" id="SFW
g[DIw5l?UNer}oPs" variabletype="">Merker_Standby_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="{CG@]M^UVA/kp10n4k7@">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="x{HK=YwR-z:XEfBqds" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="KpU1H)%!xRsN2@!};@LG"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="_$u~teT9Kom=
L[mllbO">
<field name="VAR" id=";=-o]MJM^OcSkjqoz!mU" variabletype="">Merker_Auto_FBH</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id=":dY.de!NcksKu5|dVdT9">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="X|TursOjtkBuTAx3.Oz" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="^;2ewRmH}Jx7pw3xbu">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="E1I$[@nPh)}1t(:,yD"> <field name="VAR" id="-q$yD!*_6$h,o8@1t@^}" variabletype="">Merker_Heizen_FBH</field> </block> </value> <value name="B"> <block type="logic_boolean" id="#J_hA#_p?g-K_)jp*cwG"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="ADXYNgk[_/WcIo?Q6CK4"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="K161*,rLPMhGr+=IyOtY"> <field name="VAR" id="axQeS{;lur_hcVdvt=gD" variabletype="">Merker_Sparen_FBH</field> </block> </value> <value name="B"> <block type="logic_boolean" id="??Z)JR~0$KD=ou{eMPNf"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="/IFh7?$AWbASB
|ln)CN">
<field name="VAR" id="@27109Yiip+(RitQ@Qo" variabletype="">Entprellen_BA</field>
<value name="VALUE">
<block type="logic_boolean" id="M8ze9S12Iorb_L[Sr;t">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="Ng1]o9?WWXH9:A:5CJuc">
<field name="VAR" id="@27109Yiip+(RitQ@Qo" variabletype="">Entprellen_BA</field>
<value name="VALUE">
<block type="logic_boolean" id="fovx4U5i)D}WW8vyE8oX">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="(p)zAH+,{Uh[dHn)D4IY">
<value name="IF0">
<block type="logic_operation" id="Vz2+fA7V/MLNkMp+(H@"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="r!]:SUfmj/7s-cp2#O+T"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="@9xw:FJE85%~z[dI*WfG"> <field name="VAR" id="9Fzzv.(;ar)P7.FES0=B" variabletype="">Entprellen_2</field> </block> </value> <value name="B"> <block type="logic_boolean" id="di8p9KEYwRA]v]uhtDfB"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="zgDx-IA#QHYJDTU(,[7?"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="6Wi?08*NF10g}Dr1zRK/"> <field name="VAR" id="@27*109Yiip+(RitQ@Qo" variabletype="">Entprellen_BA</field> </block> </value> <value name="B"> <block type="logic_boolean" id="/B2H$Fl[AORQXvONoydm"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="5Mn
Waf3:}NU3@HtTR8o">
<field name="VAR" id="9Fzzv.(;ar)P7.FES0=B" variabletype="">Entprellen_2</field>
<value name="VALUE">
<block type="logic_boolean" id="613kq.8(Cck$gc+x}IYe">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="telegram" id="CjnvN.g,R$zGJ[A8p{Ju">
<field name="INSTANCE">.0</field>
<field name="LOG"></field>
<field name="SILENT">FALSE</field>
<field name="PARSEMODE">default</field>
<value name="MESSAGE">
<shadow type="text" id="oHU@@7sY2@S0hcvoLzR$">
<field name="TEXT">Badfenster schließen</field>
</shadow>
<block type="text_join" id="Y(=ke@s=JdLR#keeFUH"> <mutation items="2"></mutation> <value name="ADD0"> <block type="text" id="G?
Yq^0lJlS5TPSv,|bc">
<field name="TEXT">Betriebsart FBH => </field>
</block>
</value>
<value name="ADD1">
<block type="variables_get" id="gXYZVT[iiIU)X+py%EI">
<field name="VAR" id="m4.Ui/z9-Wn=n.bdp!vQ" variabletype="">BA_FBH_Text</field>
</block>
</value>
</block>
</value>
<next>
<block type="timeouts_settimeout" id="j8X_I)8R)nwz~Y%icI!Z">
<field name="NAME">timeout2</field>
<field name="DELAY">15</field>
<field name="UNIT">min</field>
<statement name="STATEMENT">
<block type="variables_set" id="iOeBO#p5j0iA1Z1eyix*">
<field name="VAR" id="9Fzzv.(;ar)P7.FES0=B" variabletype="">Entprellen_2</field>
<value name="VALUE">
<block type="logic_boolean" id=",k/p#OVAy|9r*#iTLXya">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</xml>
-
Moin!
Kann mir jemand helfen?
-
@maeuseking
Schau mal in den "richtigen" ioBroker-Log, da sollte mehr stehen. -
@maeuseking Hmm, ich kann meinen eigenen Beitrag nicht löschen... Ich hatte eine Blockly Vorlage weiter unten importiert, deswegen die Fehler. Muss nun also auf eine Änderung warte um zu sehen, ob es funktioniert... Wobei ich noch nicht checke, was es mit der Variable auf sich hat. Wird diese dann unter Objekten sichtbar?
-
@maeuseking sagte:
was es mit der Variable auf sich hat. Wird diese dann unter Objekten sichtbar?
Nein, das ist nur eine Script-Variable, die zum Schluss (innerhalb des Triggers) in einen Datenpunkt geschrieben werden muss.
-
@paul53 Super, vielen Dank. Dann heißt es nun abwarten, wohl bis morgen früh...
-
Kann man sich denn auch die Variable sparen und müsste es auch so funktionieren?
-
@maeuseking
springst ja gut hin und her. -
@Ralla66 Scheint auch so zu funktionieren... Er hat bereits den Status "Batterie Standby" in den Datenpunkt geschrieben...
-
@maeuseking sagte:
müsste es auch so funktionieren?
Ja, es funktioniert auch so, verbraucht aber mehr Ressourcen.
-
@paul53 Also besser dann wie oben mit der Variablen?
-