Hallo
Dies ist mein 1. Blockly ohne Copy/Paste
Die Erinnerung auf Telegram, Enigma und Echo soll 1 Tag vor Abholung um 20:15 erfolgen.
Passt das so mit dem Timeout, dass nach 30 Sekunden die Lautstärke wieder auf 30 reduziert wird?
Blockly
<xml xmlns="http://www.w3.org/1999/xhtml">
<variables>
<variable type="undefined" id="timeout">timeout</variable>
</variables>
<block type="schedule" id="$cRvg#e_=x%02MW$?)o0" x="638" y="13">
<field name="SCHEDULE">15 20 * * *</field>
<statement name="STATEMENT">
<block type="controls_if" id="_p8;[01X2dY-?nB?f[j!">
<value name="IF0">
<block type="logic_compare" id="9}H{cXQ{mh`5wYB1G$Wf">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="45+w|a1lFMX9}gz8UCWj">
<field name="ATTR">val</field>
<field name="OID">trashschedule.0.type.Altpapier.daysleft</field>
</block>
</value>
<value name="B">
<block type="math_number" id="?)^$h.NTy:Q..75^h$=T">
<field name="NUM">1</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="telegram" id="N{E:%eIfk5[,j(ce48y(">
<field name="INSTANCE"></field>
<field name="LOG"></field>
<field name="SILENT">FALSE</field>
<field name="PARSEMODE">default</field>
<value name="MESSAGE">
<shadow type="text" id="AJ/2^9]#/9427{7jH2fW">
<field name="TEXT">Morgen wird Altpapier abgeholt!</field>
</shadow>
</value>
<next>
<block type="enigma2" id="z];(sgT;IO=lVUSEb=PX">
<field name="INSTANCE">.0</field>
<field name="MSGTYPE">1</field>
<field name="LOG"></field>
<value name="MESSAGE">
<shadow type="text" id="tzv!TJo^^j(G45$ur$EW">
<field name="TEXT">Morgen wird Altpapier abgeholt!</field>
</shadow>
</value>
<value name="TIMEOUT">
<shadow type="math_number" id="gVS9#zlqiECvVyI{j0{3">
<field name="NUM">30</field>
</shadow>
</value>
<next>
<block type="control" id="[sV{K^:c=12{ys*Znd%$">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.90cc995371d948e8ad4aa7630c564b57.Player.volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="SR!Od?kkCAoS~nK({c2?">
<field name="NUM">50</field>
</block>
</value>
<next>
<block type="control" id="T=~=8WW9#a(kA6L9hE1v">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.90cc995371d948e8ad4aa7630c564b57.Commands.speak</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="text" id="vf(X67s:Fw%b(c:}SQF^">
<field name="TEXT">Morgen wird Altpapier abgeholt!</field>
</block>
</value>
<next>
<block type="timeouts_settimeout" id="hP;z$*QDU9oj{CQP=%vi">
<field name="NAME">timeout</field>
<field name="DELAY">15</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="control" id="[[BJ5G+T{rtQd9.xFcp-">
<mutation delay_input="false"></mutation>
<field name="OID">alexa2.0.Echo-Devices.90cc995371d948e8ad4aa7630c564b57.Player.volume</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="@_:q?4wQ}{QT4P1?V.TM">
<field name="NUM">30</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Danke schonmal