NEWS
[Gelöst]Hinweis Telegram Haustüre schliessen mit Wiederh.
-
Hallo Leute
Habe mir ein Blockly geschrieben aber leider funktioniert es nicht ganz nach Wunsch:
Es sollte mir eine Nachricht per Telegramm zugestellt werden, wenn die Türe um 21:45 noch nicht zugesperrt ist und dies soll sich dann alle 10 Minuten wiederholen bis die Türe geschlossen wird. Dies aber auch nur zwischen 21:45 und 02:00 Uhr.
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="timeout" id="timeout">timeout</variable> <variable type="interval" id="Intervall">Intervall</variable> </variables> <block type="on" id="Xp~|MH-_w5a?OU):5!?$" x="-563" y="-363"> <field name="OID">nuki-extended.0.smartlocks.haustüre.state.lockState</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="j@sl+Z!,hQKC]/8qh;Cn"> <value name="IF0"> <block type="logic_operation" id="b?$uA,)ig~,yEF}QZ%=D"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="h0@G2ALdh,sjV`h?42ZR"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="QQz3uk3vdPfa@BbaEu6v"> <field name="ATTR">val</field> <field name="OID">nuki-extended.0.smartlocks.haustüre.state.lockState</field> </block> </value> <value name="B"> <block type="math_number" id="$i6N@7Iz/9#=BA,pC0^)"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block type="time_compare" id="|$kAMk8!@2h7c1;pQ@d="> <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation> <field name="OPTION">not between</field> <field name="START_TIME">02:00</field> <field name="END_TIME">21:45</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="K54JJ:)|L@(7O`3:*BYm"> <field name="NAME">timeout</field> <field name="DELAY">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="timeouts_setinterval" id="O%r:?FJKLK*.w$,%$+e6"> <field name="NAME">Intervall</field> <field name="INTERVAL">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="telegram" id="h(fsT]ZS0cY:e!gWNgOC"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <field name="ESCAPING">FALSE</field> <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field> <value name="MESSAGE"> <shadow type="text" id="F8GF9nZqxGhJxu^vMbb]"> <field name="TEXT">Haustüre bitte noch zusperren!</field> </shadow> </value> <value name="USERNAME"> <block type="text" id=",e#fj.QL01O?EXL0:ebZ"> <field name="TEXT">Musterhans</field> </block> </value> </block> </statement> </block> </statement> </block> </statement> <next> <block type="controls_if" id="@.$C6DyTyUwp2nD1lJR_"> <value name="IF0"> <block type="logic_compare" id="s/2(yY;~Y^.nBTckEe/q"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@/n^O#ejF:i|lWJc7[:G"> <field name="ATTR">val</field> <field name="OID">nuki-extended.0.smartlocks.haustüre.state.lockState</field> </block> </value> <value name="B"> <block type="math_number" id="p*:{Pe8Bi%r5z.{bIDSK"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="telegram" id="Kso[Y+-}`nEAO+)8keg0"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <field name="ESCAPING">FALSE</field> <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field> <value name="MESSAGE"> <shadow type="text" id="1M%([PpYwUCf?y}ZSWCx"> <field name="TEXT">Haustüre wurde zugesperrt!</field> </shadow> </value> <value name="USERNAME"> <block type="text" id="$m}(=w1bEm[i@oi0NyGN"> <field name="TEXT">Claudio</field> </block> </value> <next> <block type="timeouts_clearinterval" id="{EoH%+3QF0~`B}G)!=kQ"> <field name="NAME">Intervall</field> <next> <block type="timeouts_cleartimeout" id="E$EZX0:sCAkx{x?UM,ZL"> <field name="NAME">timeout</field> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </xml> -
Hallo Leute
Habe mir ein Blockly geschrieben aber leider funktioniert es nicht ganz nach Wunsch:
Es sollte mir eine Nachricht per Telegramm zugestellt werden, wenn die Türe um 21:45 noch nicht zugesperrt ist und dies soll sich dann alle 10 Minuten wiederholen bis die Türe geschlossen wird. Dies aber auch nur zwischen 21:45 und 02:00 Uhr.
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="timeout" id="timeout">timeout</variable> <variable type="interval" id="Intervall">Intervall</variable> </variables> <block type="on" id="Xp~|MH-_w5a?OU):5!?$" x="-563" y="-363"> <field name="OID">nuki-extended.0.smartlocks.haustüre.state.lockState</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="j@sl+Z!,hQKC]/8qh;Cn"> <value name="IF0"> <block type="logic_operation" id="b?$uA,)ig~,yEF}QZ%=D"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="h0@G2ALdh,sjV`h?42ZR"> <field name="OP">NEQ</field> <value name="A"> <block type="get_value" id="QQz3uk3vdPfa@BbaEu6v"> <field name="ATTR">val</field> <field name="OID">nuki-extended.0.smartlocks.haustüre.state.lockState</field> </block> </value> <value name="B"> <block type="math_number" id="$i6N@7Iz/9#=BA,pC0^)"> <field name="NUM">1</field> </block> </value> </block> </value> <value name="B"> <block type="time_compare" id="|$kAMk8!@2h7c1;pQ@d="> <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation> <field name="OPTION">not between</field> <field name="START_TIME">02:00</field> <field name="END_TIME">21:45</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="K54JJ:)|L@(7O`3:*BYm"> <field name="NAME">timeout</field> <field name="DELAY">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="timeouts_setinterval" id="O%r:?FJKLK*.w$,%$+e6"> <field name="NAME">Intervall</field> <field name="INTERVAL">1</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="telegram" id="h(fsT]ZS0cY:e!gWNgOC"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <field name="ESCAPING">FALSE</field> <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field> <value name="MESSAGE"> <shadow type="text" id="F8GF9nZqxGhJxu^vMbb]"> <field name="TEXT">Haustüre bitte noch zusperren!</field> </shadow> </value> <value name="USERNAME"> <block type="text" id=",e#fj.QL01O?EXL0:ebZ"> <field name="TEXT">Musterhans</field> </block> </value> </block> </statement> </block> </statement> </block> </statement> <next> <block type="controls_if" id="@.$C6DyTyUwp2nD1lJR_"> <value name="IF0"> <block type="logic_compare" id="s/2(yY;~Y^.nBTckEe/q"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="@/n^O#ejF:i|lWJc7[:G"> <field name="ATTR">val</field> <field name="OID">nuki-extended.0.smartlocks.haustüre.state.lockState</field> </block> </value> <value name="B"> <block type="math_number" id="p*:{Pe8Bi%r5z.{bIDSK"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="telegram" id="Kso[Y+-}`nEAO+)8keg0"> <field name="INSTANCE"></field> <field name="LOG"></field> <field name="SILENT">FALSE</field> <field name="PARSEMODE">default</field> <field name="ESCAPING">FALSE</field> <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field> <value name="MESSAGE"> <shadow type="text" id="1M%([PpYwUCf?y}ZSWCx"> <field name="TEXT">Haustüre wurde zugesperrt!</field> </shadow> </value> <value name="USERNAME"> <block type="text" id="$m}(=w1bEm[i@oi0NyGN"> <field name="TEXT">Claudio</field> </block> </value> <next> <block type="timeouts_clearinterval" id="{EoH%+3QF0~`B}G)!=kQ"> <field name="NAME">Intervall</field> <next> <block type="timeouts_cleartimeout" id="E$EZX0:sCAkx{x?UM,ZL"> <field name="NAME">timeout</field> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </xml> -
-
@vazi mit einem Cron als Trigger die Abfrage ob offen ist und einem zweiten Trigger direkt auf das Nuki wenn geschlossen wurde
so z.B.

Vielen Dank für die prompte Antwort und Lösung. Soweit sieht es gut aus... was ich noch nicht ganz hinbekommen habe, ist der Crown.... Kannst Du mir diesen bitte noch als Code noch ausgeben? Habe bis jetzt noch nicht viel Erfahrung mit Crown und selten bzw. in dieser Form noch nie angewandt. Dankeschön.
-
Vielen Dank für die prompte Antwort und Lösung. Soweit sieht es gut aus... was ich noch nicht ganz hinbekommen habe, ist der Crown.... Kannst Du mir diesen bitte noch als Code noch ausgeben? Habe bis jetzt noch nicht viel Erfahrung mit Crown und selten bzw. in dieser Form noch nie angewandt. Dankeschön.
-
Super, vielen herzlichen Dank. Werde es heute Abend testen.
Update, 20.10.23: Funktioniert einwandfrei! TOP! Herzlichen Dank djmarc75

Gruss
Vazi
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
