- ioBroker Community Home
- Deutsch
- Skripten / Logik
- Blockly
- Suche Hilfe für 2 Scripte
NEWS
Suche Hilfe für 2 Scripte
-
@paul53 Hallo Paul wie gehts wie stehts ich danke dir hast du den code zum pasten
-
@paul53 said in Suche Hilfe für 2 Scripte:
@bernd-1337 sagte: nur einmal ausführen
Vorschlag:

Meine Blockly Kenntnisse wachsen zwar, aber sie sind noch nicht besonders groß
Kann man das "wurde aktualisert" bei der Temperatur nicht durch ein "wurde geändert" ersetzen. Das würde ggfs. unnötige Schleifen-Durchläufe mit unveränderter, aber durch das Thermometer aktualiserter Temperatur vermeiden.Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
Virtualization : unprivileged lxc container (debian 12 on Proxmox 8.4.13)
kernel Linux pve 6.8.12-15-pve
6 GByte RAM für den Container
Fritzbox 6591 FW 8.03 (Vodafone Leih-Box)
Remote-Access über Wireguard der Fritzbox -
@paul53 Hallo Paul wie gehts wie stehts ich danke dir hast du den code zum pasten
@bernd-1337 sagte: code zum pasten
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="Zi?er=85ri4#;:L-lujS">pumpe</variable> <variable id="b+p{2kokZZ/7}+`bs,q1">ED</variable> </variables> <block type="variables_set" id=")(u1lT,t6M+geY80]*9+" x="87" y="-113"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> <value name="VALUE"> <block type="get_value_var" id="=]54i_^*7ptgCq[HE[pK"> <field name="ATTR">val</field> <value name="OID"> <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc("> <field name="oid">Object ID</field> </shadow> <block type="text" id="ssLnDm(98pbzo7B-P3)i"> <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> </block> </value> </block> </value> <next> <block type="on_ext" id="jG7O3%s:Pbmj3oHF}3(5"> <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="2B(hVGZ#zfmp7Gt?:%y;"> <field name="oid">Temperatur.0.Wohnzimmer</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="tGnT93N}Y)U=pJC8C{za"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="+,Y9zYS!qd$z_NukE~VT"> <field name="OP">LT</field> <value name="A"> <block type="on_source" id="Qg_}b|+X5n#o8uIM_G/O"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="get_value" id="2p-T:/uSdpaJuFjVG1+_"> <field name="ATTR">val</field> <field name="OID">Heizung.0.PumpeEin</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="3DNjQV/nt8fTs_e1%LRg"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> <value name="VALUE"> <block type="logic_boolean" id="l#xUro$Y`c:[fVxCG(JG"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id=")_9$C6/74/kUx|:DWdZb"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="LL`FN2c*wM}]VekvNJ7j"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="get_value" id="kMVtfs~rYz#.^m;9lBde"> <field name="ATTR">val</field> <field name="OID">Heizung.0.PumpeAus</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="{3J?ejPQUpfLmg/zLGST"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> <value name="VALUE"> <block type="logic_boolean" id="aabeoH8/GZ8mC}+n@^h0"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="8BP[L!WM!%#l`hS$7`5G"> <value name="IF0"> <block type="logic_compare" id="ZX*uIqKwE:@M]4)PONG%"> <field name="OP">NEQ</field> <value name="A"> <block type="variables_get" id="kKT~V_JYAN6RGAXQ#x5?"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> </block> </value> <value name="B"> <block type="get_value_var" id="|pp=r]dL51a6ep-2@|.H"> <field name="ATTR">val</field> <value name="OID"> <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc("> <field name="oid">Object ID</field> </shadow> <block type="text" id="`zNJX(Lyyd~Jv*;0SfX5"> <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="Z_]VP.(4N~vSC)?iplx*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="ofmhxzd2Rhi6~e=JK_pg"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> </block> </value> <next> <block type="update" id="gztvu]E-h@nsf9d^Ub#s"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.example_state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_ternary" id="q|F_I1%@gL2ak:u)Fmmi" inline="false"> <value name="IF"> <block type="variables_get" id="YW=j,g)uSD2EBdC{pgPd"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> </block> </value> <value name="THEN"> <block type="text" id="/P$!j2QirQXhw!6k4{]*"> <field name="TEXT">Pumpe Eingeschaltet!</field> </block> </value> <value name="ELSE"> <block type="text" id="[.#~j$~cWN9ciZ;%O.cz"> <field name="TEXT">Pumpe Ausgeschaltet!</field> </block> </value> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </statement> <next> <block type="on_ext" id="Ew(8wzpEg5ZIbL.ES.Iz"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">lt</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="@2:.[_e_iBqa+PV0_QdU"> <field name="oid">default</field> </shadow> <block type="text" id="41z;VS7xQCfcmf$v_GP}"> <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> </block> </value> <statement name="STATEMENT"> <block type="comment" id="!oZyhCu-2g;n~*=xdC`0"> <field name="COMMENT">Einschaltdauer in Minuten</field> <next> <block type="variables_set" id="LwAj8jvjv)UMZnz;c2$."> <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field> <value name="VALUE"> <block type="math_arithmetic" id="$T.em/Os1%,qTga3iO^L"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="c,[x(gN]AAH_p@,m|a6p"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="$QY=tBqBq$M,#o=%y[h-"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="aTm~|X^J*iE.X,zPF8Oy"> <field name="NUM">1</field> </shadow> <block type="on_source" id="X#,J95zacy~0`hH9O0$x"> <field name="ATTR">state.lc</field> </block> </value> <value name="B"> <shadow type="math_number" id="!9kM*J}lKDp_$h@cSGe4"> <field name="NUM">1</field> </shadow> <block type="on_source" id="qKM9@Y$`Ec4-w+A!V9Bb"> <field name="ATTR">oldState.lc</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="re+7.()^*X(cU?Z,S2wG"> <field name="NUM">60000</field> </shadow> </value> </block> </value> <next> <block type="update" id="D^PL^={BRP|x+z,`VeTr"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Object ID</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_round" id="N-GI{5guRWjB,,Z4P)Ra"> <field name="OP">ROUND</field> <value name="NUM"> <shadow type="math_number" id="ka!fy+O[v%~dU=x[CZs]"> <field name="NUM">3.1</field> </shadow> <block type="variables_get" id="HzH;c!?qGF9K4`DFg}tr"> <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </xml>Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs -
@bernd-1337 sagte: code zum pasten
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="Zi?er=85ri4#;:L-lujS">pumpe</variable> <variable id="b+p{2kokZZ/7}+`bs,q1">ED</variable> </variables> <block type="variables_set" id=")(u1lT,t6M+geY80]*9+" x="87" y="-113"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> <value name="VALUE"> <block type="get_value_var" id="=]54i_^*7ptgCq[HE[pK"> <field name="ATTR">val</field> <value name="OID"> <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc("> <field name="oid">Object ID</field> </shadow> <block type="text" id="ssLnDm(98pbzo7B-P3)i"> <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> </block> </value> </block> </value> <next> <block type="on_ext" id="jG7O3%s:Pbmj3oHF}3(5"> <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="2B(hVGZ#zfmp7Gt?:%y;"> <field name="oid">Temperatur.0.Wohnzimmer</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="tGnT93N}Y)U=pJC8C{za"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="+,Y9zYS!qd$z_NukE~VT"> <field name="OP">LT</field> <value name="A"> <block type="on_source" id="Qg_}b|+X5n#o8uIM_G/O"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="get_value" id="2p-T:/uSdpaJuFjVG1+_"> <field name="ATTR">val</field> <field name="OID">Heizung.0.PumpeEin</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="3DNjQV/nt8fTs_e1%LRg"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> <value name="VALUE"> <block type="logic_boolean" id="l#xUro$Y`c:[fVxCG(JG"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id=")_9$C6/74/kUx|:DWdZb"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="LL`FN2c*wM}]VekvNJ7j"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="get_value" id="kMVtfs~rYz#.^m;9lBde"> <field name="ATTR">val</field> <field name="OID">Heizung.0.PumpeAus</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="{3J?ejPQUpfLmg/zLGST"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> <value name="VALUE"> <block type="logic_boolean" id="aabeoH8/GZ8mC}+n@^h0"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="8BP[L!WM!%#l`hS$7`5G"> <value name="IF0"> <block type="logic_compare" id="ZX*uIqKwE:@M]4)PONG%"> <field name="OP">NEQ</field> <value name="A"> <block type="variables_get" id="kKT~V_JYAN6RGAXQ#x5?"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> </block> </value> <value name="B"> <block type="get_value_var" id="|pp=r]dL51a6ep-2@|.H"> <field name="ATTR">val</field> <value name="OID"> <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc("> <field name="oid">Object ID</field> </shadow> <block type="text" id="`zNJX(Lyyd~Jv*;0SfX5"> <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="Z_]VP.(4N~vSC)?iplx*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="ofmhxzd2Rhi6~e=JK_pg"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> </block> </value> <next> <block type="update" id="gztvu]E-h@nsf9d^Ub#s"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.example_state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_ternary" id="q|F_I1%@gL2ak:u)Fmmi" inline="false"> <value name="IF"> <block type="variables_get" id="YW=j,g)uSD2EBdC{pgPd"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> </block> </value> <value name="THEN"> <block type="text" id="/P$!j2QirQXhw!6k4{]*"> <field name="TEXT">Pumpe Eingeschaltet!</field> </block> </value> <value name="ELSE"> <block type="text" id="[.#~j$~cWN9ciZ;%O.cz"> <field name="TEXT">Pumpe Ausgeschaltet!</field> </block> </value> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </statement> <next> <block type="on_ext" id="Ew(8wzpEg5ZIbL.ES.Iz"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">lt</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="@2:.[_e_iBqa+PV0_QdU"> <field name="oid">default</field> </shadow> <block type="text" id="41z;VS7xQCfcmf$v_GP}"> <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> </block> </value> <statement name="STATEMENT"> <block type="comment" id="!oZyhCu-2g;n~*=xdC`0"> <field name="COMMENT">Einschaltdauer in Minuten</field> <next> <block type="variables_set" id="LwAj8jvjv)UMZnz;c2$."> <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field> <value name="VALUE"> <block type="math_arithmetic" id="$T.em/Os1%,qTga3iO^L"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="c,[x(gN]AAH_p@,m|a6p"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="$QY=tBqBq$M,#o=%y[h-"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="aTm~|X^J*iE.X,zPF8Oy"> <field name="NUM">1</field> </shadow> <block type="on_source" id="X#,J95zacy~0`hH9O0$x"> <field name="ATTR">state.lc</field> </block> </value> <value name="B"> <shadow type="math_number" id="!9kM*J}lKDp_$h@cSGe4"> <field name="NUM">1</field> </shadow> <block type="on_source" id="qKM9@Y$`Ec4-w+A!V9Bb"> <field name="ATTR">oldState.lc</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="re+7.()^*X(cU?Z,S2wG"> <field name="NUM">60000</field> </shadow> </value> </block> </value> <next> <block type="update" id="D^PL^={BRP|x+z,`VeTr"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Object ID</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_round" id="N-GI{5guRWjB,,Z4P)Ra"> <field name="OP">ROUND</field> <value name="NUM"> <shadow type="math_number" id="ka!fy+O[v%~dU=x[CZs]"> <field name="NUM">3.1</field> </shadow> <block type="variables_get" id="HzH;c!?qGF9K4`DFg}tr"> <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </xml>@paul53 danke dir du bist wie immer der retter in der not Funzt bestens so wie es soll
-
@bernd-1337 sagte: code zum pasten
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="Zi?er=85ri4#;:L-lujS">pumpe</variable> <variable id="b+p{2kokZZ/7}+`bs,q1">ED</variable> </variables> <block type="variables_set" id=")(u1lT,t6M+geY80]*9+" x="87" y="-113"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> <value name="VALUE"> <block type="get_value_var" id="=]54i_^*7ptgCq[HE[pK"> <field name="ATTR">val</field> <value name="OID"> <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc("> <field name="oid">Object ID</field> </shadow> <block type="text" id="ssLnDm(98pbzo7B-P3)i"> <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> </block> </value> </block> </value> <next> <block type="on_ext" id="jG7O3%s:Pbmj3oHF}3(5"> <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="2B(hVGZ#zfmp7Gt?:%y;"> <field name="oid">Temperatur.0.Wohnzimmer</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="tGnT93N}Y)U=pJC8C{za"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="+,Y9zYS!qd$z_NukE~VT"> <field name="OP">LT</field> <value name="A"> <block type="on_source" id="Qg_}b|+X5n#o8uIM_G/O"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="get_value" id="2p-T:/uSdpaJuFjVG1+_"> <field name="ATTR">val</field> <field name="OID">Heizung.0.PumpeEin</field> </block> </value> </block> </value> <statement name="DO0"> <block type="variables_set" id="3DNjQV/nt8fTs_e1%LRg"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> <value name="VALUE"> <block type="logic_boolean" id="l#xUro$Y`c:[fVxCG(JG"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id=")_9$C6/74/kUx|:DWdZb"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="LL`FN2c*wM}]VekvNJ7j"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="get_value" id="kMVtfs~rYz#.^m;9lBde"> <field name="ATTR">val</field> <field name="OID">Heizung.0.PumpeAus</field> </block> </value> </block> </value> <statement name="DO1"> <block type="variables_set" id="{3J?ejPQUpfLmg/zLGST"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> <value name="VALUE"> <block type="logic_boolean" id="aabeoH8/GZ8mC}+n@^h0"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="8BP[L!WM!%#l`hS$7`5G"> <value name="IF0"> <block type="logic_compare" id="ZX*uIqKwE:@M]4)PONG%"> <field name="OP">NEQ</field> <value name="A"> <block type="variables_get" id="kKT~V_JYAN6RGAXQ#x5?"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> </block> </value> <value name="B"> <block type="get_value_var" id="|pp=r]dL51a6ep-2@|.H"> <field name="ATTR">val</field> <value name="OID"> <shadow type="field_oid" id="@9qPzg52ZTPA2*u,{xc("> <field name="oid">Object ID</field> </shadow> <block type="text" id="`zNJX(Lyyd~Jv*;0SfX5"> <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="Z_]VP.(4N~vSC)?iplx*"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="variables_get" id="ofmhxzd2Rhi6~e=JK_pg"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> </block> </value> <next> <block type="update" id="gztvu]E-h@nsf9d^Ub#s"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.example_state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_ternary" id="q|F_I1%@gL2ak:u)Fmmi" inline="false"> <value name="IF"> <block type="variables_get" id="YW=j,g)uSD2EBdC{pgPd"> <field name="VAR" id="Zi?er=85ri4#;:L-lujS">pumpe</field> </block> </value> <value name="THEN"> <block type="text" id="/P$!j2QirQXhw!6k4{]*"> <field name="TEXT">Pumpe Eingeschaltet!</field> </block> </value> <value name="ELSE"> <block type="text" id="[.#~j$~cWN9ciZ;%O.cz"> <field name="TEXT">Pumpe Ausgeschaltet!</field> </block> </value> </block> </value> </block> </next> </block> </statement> </block> </next> </block> </statement> <next> <block type="on_ext" id="Ew(8wzpEg5ZIbL.ES.Iz"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">lt</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="@2:.[_e_iBqa+PV0_QdU"> <field name="oid">default</field> </shadow> <block type="text" id="41z;VS7xQCfcmf$v_GP}"> <field name="TEXT">shelly.0.SHSW-25#3494547971EC#1.Relay1.Switch</field> </block> </value> <statement name="STATEMENT"> <block type="comment" id="!oZyhCu-2g;n~*=xdC`0"> <field name="COMMENT">Einschaltdauer in Minuten</field> <next> <block type="variables_set" id="LwAj8jvjv)UMZnz;c2$."> <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field> <value name="VALUE"> <block type="math_arithmetic" id="$T.em/Os1%,qTga3iO^L"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="c,[x(gN]AAH_p@,m|a6p"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="$QY=tBqBq$M,#o=%y[h-"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="aTm~|X^J*iE.X,zPF8Oy"> <field name="NUM">1</field> </shadow> <block type="on_source" id="X#,J95zacy~0`hH9O0$x"> <field name="ATTR">state.lc</field> </block> </value> <value name="B"> <shadow type="math_number" id="!9kM*J}lKDp_$h@cSGe4"> <field name="NUM">1</field> </shadow> <block type="on_source" id="qKM9@Y$`Ec4-w+A!V9Bb"> <field name="ATTR">oldState.lc</field> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="re+7.()^*X(cU?Z,S2wG"> <field name="NUM">60000</field> </shadow> </value> </block> </value> <next> <block type="update" id="D^PL^={BRP|x+z,`VeTr"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">Object ID</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_round" id="N-GI{5guRWjB,,Z4P)Ra"> <field name="OP">ROUND</field> <value name="NUM"> <shadow type="math_number" id="ka!fy+O[v%~dU=x[CZs]"> <field name="NUM">3.1</field> </shadow> <block type="variables_get" id="HzH;c!?qGF9K4`DFg}tr"> <field name="VAR" id="b+p{2kokZZ/7}+`bs,q1">ED</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </xml>@paul53 habe gesehen das du das Zeit script mit dran gehangen hast kann das nur Minuten und keine sekunden
-
@paul53 habe gesehen das du das Zeit script mit dran gehangen hast kann das nur Minuten und keine sekunden
@bernd-1337 sagte: kann das nur Minuten und keine sekunden
Es wird auf ganze Minuten gerundet, was du natürlich ändern kannst.
Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs -
@bernd-1337 sagte: kann das nur Minuten und keine sekunden
Es wird auf ganze Minuten gerundet, was du natürlich ändern kannst.
@paul53 hab ich ja schon gemacht auf 1000 gestellt aber ginge das nicht von mir aus auch 2 datenpunkte 1 für min und 1 für sekunden
-
@bernd-1337 sagte: kann das nur Minuten und keine sekunden
Es wird auf ganze Minuten gerundet, was du natürlich ändern kannst.
@paul53 so das ich im habpanel anzeigen lassen kann zb 1:09