NEWS
Probleme mit Wecker (erledigt)
-
Hallo zusammen,
mein Wecker will nicht um 6:00 auslösen???

Ich will den Wecker um 6:00 oder manuell den Weckvorgang starten können:
Hier der komplette Code:
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="on_ext" id="%z/LwTYQAAai?H9OrWZ/" x="-337" y="-87"><mutation items="2"></mutation> <field name="CONDITION">ne</field> <value name="OID0"><shadow type="field_oid" id="SI/S3|C%+~3jmLni:5}o"><field name="oid">default</field></shadow> <block type="field_cron" id="kgJ/{zL54A450|TOU*O?"><field name="CRON">0 6 * * *</field></block></value> <value name="OID1"><shadow type="field_oid" id="dGGmK#d*)zs3[[jwcUAb"><field name="oid">javascript.0.Alexa_ruft.Melissa_aufstehen</field></shadow></value> <statement name="STATEMENT"><block type="controls_if" id="X7^j7K]M}EwpNCaht|)p"><value name="IF0"><block type="logic_operation" id="Dv=Uc,m7l59nVRe`d2?a" inline="false"><field name="OP">AND</field> <value name="A"><block type="logic_operation" id="G82#6%)Wf*NAx**0G56R" inline="false"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="@D/=*{z|is_Z3vA`@-Fz"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="]~Mape-R2duT/W=-iJ4-"><field name="ATTR">val</field> <field name="OID">javascript.0.Berechnungen.Freier_Tag</field></block></value> <value name="B"><block type="logic_boolean" id="KRWIdTZ^aLff#mn_{FZP"><field name="BOOL">FALSE</field></block></value></block></value> <value name="B"><block type="logic_compare" id="Ude?1z%jDt]Gqc{6RUs4"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="jRDa^fMG3OpNt}/Nlve;"><field name="ATTR">val</field> <field name="OID">ical.0.events.Kinder bei mir</field></block></value> <value name="B"><block type="logic_boolean" id="RLIXwdwyaS`zUq,YMa?j"><field name="BOOL">TRUE</field></block></value></block></value></block></value> <value name="B"><block type="logic_operation" id="[pjyGpA=NPN5Z}vorPgr"><field name="OP">AND</field> <value name="A"><block type="time_compare_ex" id="rm|z,0+i@bs%lJAk5W};"><mutation end_time="false" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION">>=</field> <value name="START_TIME"><shadow type="text" id="P}^^#wIOGALm^?Ct(`V/"><field name="TEXT">06:00</field></shadow></value></block></value> <value name="B"><block type="time_compare_ex" id="1(X.wy2^KOAC@kP#G7=v"><mutation end_time="false" actual_time="true"></mutation> <field name="USE_ACTUAL_TIME">TRUE</field> <field name="OPTION"><=</field> <value name="START_TIME"><shadow type="text" id="nD6ycIDk]JqhCZC/n/ti"><field name="TEXT">06:03</field></shadow></value></block></value></block></value></block></value> <statement name="DO0"><block type="controls_if" id="NRJU[-_/uB.k9XM^1?Xd"><value name="IF0"><block type="logic_operation" id="iZZiE~kZ0r+!pNZl{LJc" inline="false"><field name="OP">AND</field> <value name="A"><block type="logic_compare" id="o:b?K[rZ;8Z6rm5:DVJv"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="g/zk9axlVdl9|b:DN-?p"><field name="ATTR">val</field> <field name="OID">javascript.0.Berechnungen.Freier_Tag</field></block></value> <value name="B"><block type="logic_boolean" id="fS%E2pW4*a,oxht0?67%"><field name="BOOL">FALSE</field></block></value></block></value> <value name="B"><block type="logic_compare" id="i0*BL0|0Mb3,K/v*h=O+"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="EUqL,P+l?!#{Sy@N,vf="><field name="ATTR">val</field> <field name="OID">ical.0.events.Kinder bei mir</field></block></value> <value name="B"><block type="logic_boolean" id="V)y0;mdE?-uV_OJp1MH;"><field name="BOOL">TRUE</field></block></value></block></value></block></value> <statement name="DO0"><block type="control" id="SS:I*J)DHzmmBklzW9hK"><mutation delay_input="false"></mutation> <field name="OID">hm-rpc.0.OEQ0541831.1.LEVEL</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="math_number" id="}1ww5-@.M^jwt8e4Cbhy"><field name="NUM">100</field></block></value> <next><block type="control" id="?0{UlHNV~d?F|Virf~8p"><mutation delay_input="true"></mutation> <field name="OID">hm-rpc.0.MEQ0361861.1.STATE</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"><block type="logic_boolean" id="f#AQzUvV/t0b;M1J3.5t"><field name="BOOL">TRUE</field></block></value> <next><block type="control" id="-vO*)Fr}x^bmrE{(;%Le"><mutation delay_input="true"></mutation> <field name="OID">alexa2.1.Echo-Devices.G090L910720405N1.Music-Provider.Spotify</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"><block type="text" id="FD{og+CQ,)Kei@Jkl`8L"><field name="TEXT">Guten Morgen liebe Sorgen</field></block></value> <next><block type="control" id="B_|OKlO8v=%ywD/H@h6L"><mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G090LB097414030P.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="ML1m/~=elV7Wj9m~mdwy"><field name="TEXT">Melissa wurde geweckt</field></block></value> <next><block type="control" id="w}Wyp4+]~=)|Z1?@z}Je"><mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G070RQ118097068H.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="8=hI|CI=Xs0U6JZ:NjGs"><field name="TEXT">Melissa wurde geweckt</field></block></value> <next><block type="control" id="F%Us7]AUE)g8.,~c5K#@"><mutation delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G000MW0773420FA7.Commands.speak</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"><block type="text" id="~tzad;}#0`sEC`,]rwTR"><field name="TEXT">Melissa wurde geweckt</field></block></value> <next><block type="controls_if" id="[Hex,sc,B(`O2,rKT@.o"><value name="IF0"><block type="logic_compare" id="@:xEG;^5~Y2U_anV)s*O"><field name="OP">EQ</field> <value name="A"><block type="get_value" id="oC[oNSPg9gIs4f53YCXJ"><field name="ATTR">val</field> <field name="OID">javascript.0.Alexa_ruft.Melissa_aufstehen</field></block></value> <value name="B"><block type="logic_boolean" id="vA%vUC(^-c*8UXh=5x.t"><field name="BOOL">TRUE</field></block></value></block></value> <statement name="DO0"><block type="control" id="a6J(jl7Ds7m;DLruasOV"><mutation delay_input="true"></mutation> <field name="OID">javascript.0.Alexa_ruft.Melissa_aufstehen</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">4</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"><block type="logic_boolean" id="6~gGT?mQrTcx.5?;nQaQ"><field name="BOOL">FALSE</field></block></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></statement></block></statement></block></xml>Der Hinweis mit Ausführen war Gold wert, aber dann war da noch die falsche Zeitzone auf dem PI eingestellt. Auf Europa/Berlin geändert und es passt.
Danke
-
Hi,
verstehe leider nur Bahnhof….
Falls Object ist ein Datenpunkttrigger und kann nicht mit CRON verwendet werden. Dazu braucht es zwei Trigger. Die Prüfungen und Aktionen "Wecken" packt man am Besten in eine Funktion, die aus beiden Triggern aufgerufen wird. `
-
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

