NEWS
Schalter ausschalten wenn Leistung unter Schwellenwert
-
Hi Zusammen,
aufgrund eines defektes, muss ich meinen TV immer komplett vom Netz nehmen, bevor er sich wieder einschalten lässt. Das Ganze habe ich über einen Shelly (ein/aus), einen Shelly Schalter (Reomte einschalten) und ein Scrip gelöst. Aber ich muss zugeben, ich verstehe die Timeouts offensichtlich noch immer nicht ausreichend.
Generell funktioniert mein Script, aber wenn der TV aus ist und das Script Stomlos shaltet, dann sollte das Script bzw. die Timeouts eigentlich enden. Das tun sid für kurze Zeit aber nicht, sodas ich den TV dann für (ich schätze 3 Minuten) nicht mehr einschalten kann. Habt ihr eine Idee, was an meinem Script nicht stimmt?

Danke euch!
ika
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="}A@C/17elh).o*wM$XZe" x="538" y="338"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="K~MLvRTB,^loYcGj*Y1q"> <field name="oid">shelly.0.SHPLG-S#E868E76EE722#1.Relay0.Power</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="|D@;fw8P3Mcy6sj$y|){"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_multi_or" id=",)QxtiakIQ+{}CcCLk?Q"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation> <value name="OR0"> <block type="logic_compare" id="^uSL7~Y:GwuPe!1iVS;5"> <field name="OP">GTE</field> <value name="A"> <block type="on_source" id="EsCgwcGv{1#jnUW-cBOt"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="mE]PlKI~Ro#*#Ka}qO=e"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="OR1"> <block type="logic_compare" id="li[P/St8,(5BiJhjZ2S^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Pd2Da,^(07_|K)V1OGja"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHPLG-S#E868E76EE722#1.Relay0.Switch</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Ywz(monn^Z0$RuSDCz;}"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="_o@bWQ9E9U2$D)G3WkZ6"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="$#cUBZ+W/r{_p-(Qi;A4"> <field name="TEXT">stop</field> </shadow> </value> <next> <block type="timeouts_cleartimeout" id="04L/YDSh-^FH=-T_f1!`"> <field name="NAME">timeout</field> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_multi_and" id="oA*-gqhMz]JVZ`]VO/pJ"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation> <value name="AND0"> <block type="logic_compare" id="zNeQFc:1=le#$o!s))Za"> <field name="OP">LT</field> <value name="A"> <block type="on_source" id="f!75j]asPK)T:m7u?c|6"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="Cf`c@UH`q83)NY(NiIP%"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="AND1"> <block type="logic_compare" id="jcTbDufv9cE^;FD@xQM}"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="G8uE;stG|m~5lpVBW,eg"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHPLG-S#E868E76EE722#1.Relay0.Switch</field> </block> </value> <value name="B"> <block type="logic_boolean" id="twXXIf2v*L/p/mS=k9|S"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="debug" id="o/Sdz6|R;rLLar0apfdu"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="u;{=:B3;J3y}Qa5#Rd$R"> <field name="TEXT">do</field> </shadow> </value> <next> <block type="timeouts_settimeout" id="HS[O+]YQspz_{vmxlG^."> <field name="NAME">timeout</field> <field name="DELAY">3</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="{,]ZD$.2D|M)W;c`$dyH"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHPLG-S#E868E76EE722#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="m+wQFB(622Xt=cD`nsl)"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="debug" id="|P~yb54yrP{_jh{%T!ei"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="a}(R4uVgRgRt$U_x6%ov"> <field name="TEXT">off</field> </shadow> </value> <next> <block type="timeouts_cleartimeout" id="DU;ygInpRY2ExX~vnEK1"> <field name="NAME">timeout</field> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </statement> </block> -
Hi Zusammen,
aufgrund eines defektes, muss ich meinen TV immer komplett vom Netz nehmen, bevor er sich wieder einschalten lässt. Das Ganze habe ich über einen Shelly (ein/aus), einen Shelly Schalter (Reomte einschalten) und ein Scrip gelöst. Aber ich muss zugeben, ich verstehe die Timeouts offensichtlich noch immer nicht ausreichend.
Generell funktioniert mein Script, aber wenn der TV aus ist und das Script Stomlos shaltet, dann sollte das Script bzw. die Timeouts eigentlich enden. Das tun sid für kurze Zeit aber nicht, sodas ich den TV dann für (ich schätze 3 Minuten) nicht mehr einschalten kann. Habt ihr eine Idee, was an meinem Script nicht stimmt?

Danke euch!
ika
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="}A@C/17elh).o*wM$XZe" x="538" y="338"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="K~MLvRTB,^loYcGj*Y1q"> <field name="oid">shelly.0.SHPLG-S#E868E76EE722#1.Relay0.Power</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="|D@;fw8P3Mcy6sj$y|){"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_multi_or" id=",)QxtiakIQ+{}CcCLk?Q"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation> <value name="OR0"> <block type="logic_compare" id="^uSL7~Y:GwuPe!1iVS;5"> <field name="OP">GTE</field> <value name="A"> <block type="on_source" id="EsCgwcGv{1#jnUW-cBOt"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="mE]PlKI~Ro#*#Ka}qO=e"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="OR1"> <block type="logic_compare" id="li[P/St8,(5BiJhjZ2S^"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Pd2Da,^(07_|K)V1OGja"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHPLG-S#E868E76EE722#1.Relay0.Switch</field> </block> </value> <value name="B"> <block type="logic_boolean" id="Ywz(monn^Z0$RuSDCz;}"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="debug" id="_o@bWQ9E9U2$D)G3WkZ6"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="$#cUBZ+W/r{_p-(Qi;A4"> <field name="TEXT">stop</field> </shadow> </value> <next> <block type="timeouts_cleartimeout" id="04L/YDSh-^FH=-T_f1!`"> <field name="NAME">timeout</field> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_multi_and" id="oA*-gqhMz]JVZ`]VO/pJ"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation> <value name="AND0"> <block type="logic_compare" id="zNeQFc:1=le#$o!s))Za"> <field name="OP">LT</field> <value name="A"> <block type="on_source" id="f!75j]asPK)T:m7u?c|6"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="Cf`c@UH`q83)NY(NiIP%"> <field name="NUM">5</field> </block> </value> </block> </value> <value name="AND1"> <block type="logic_compare" id="jcTbDufv9cE^;FD@xQM}"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="G8uE;stG|m~5lpVBW,eg"> <field name="ATTR">val</field> <field name="OID">shelly.0.SHPLG-S#E868E76EE722#1.Relay0.Switch</field> </block> </value> <value name="B"> <block type="logic_boolean" id="twXXIf2v*L/p/mS=k9|S"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="debug" id="o/Sdz6|R;rLLar0apfdu"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="u;{=:B3;J3y}Qa5#Rd$R"> <field name="TEXT">do</field> </shadow> </value> <next> <block type="timeouts_settimeout" id="HS[O+]YQspz_{vmxlG^."> <field name="NAME">timeout</field> <field name="DELAY">3</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="control" id="{,]ZD$.2D|M)W;c`$dyH"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHPLG-S#E868E76EE722#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="m+wQFB(622Xt=cD`nsl)"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="debug" id="|P~yb54yrP{_jh{%T!ei"> <field name="Severity">warn</field> <value name="TEXT"> <shadow type="text" id="a}(R4uVgRgRt$U_x6%ov"> <field name="TEXT">off</field> </shadow> </value> <next> <block type="timeouts_cleartimeout" id="DU;ygInpRY2ExX~vnEK1"> <field name="NAME">timeout</field> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </statement> </block>
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
