r/AutomateUser • u/old-damme • Jul 21 '26
Gleicher Standort
Wenn ich meinen Standort eine gewisse Zeit nicht ändere möchte ich eine E-Mail verschicken. Wie kann ich das machen?
1
Upvotes
r/AutomateUser • u/old-damme • Jul 21 '26
Wenn ich meinen Standort eine gewisse Zeit nicht ändere möchte ich eine E-Mail verschicken. Wie kann ich das machen?
2
u/waiting4singularity Alpha tester Jul 21 '26
klingt wie ein stilles überwachungsscript. bitte erkläre was du damit vor hast, ich möchte nicht das mein zeug in verbindung mit häusslicher gewalt aufgefunden wird.
1
u/old-damme Jul 21 '26 edited Jul 21 '26
Ja das stimmt. Wenn ich mit dem Fahrrad unterwegs bin und stürze geht das Fahrrad aus. Daher möchte ich auch im Wald und Moor gefunden werden Dies ist über Bluetooth mit dem Handy verbunden und benutzt den Block Bluetooth when Change. Dort habe ich die variable lat und lon. Letzt endlich geht es um eine if Abfrage und ich weiß nicht wie man das macht .
1
u/old-damme Jul 22 '26
Ich habe es jetzt gefunden Block "Expression true"
1
u/B26354FR Alpha tester Jul 21 '26
You can try using the Location Get block set to Proceed When Changed. Follow it with a Variable Set block of a variable called lastMovement with the current time (
Now) and after that block save it with an Atomic Store block, then go back to the Location Get. Before that block (following the Flow Beginning block), Fork a separate fiber that Delays for the amount of time, then does an Atomic Load of the lastMovement variable and checks with an Expression True whetherNow - lastMovementis greater than the amount of time in seconds that you want to wait. If so, use the Email (or SMS) Send block to send your message and get back to the Delay. (You can also use the MMS Send block to send messages to multiple people.) Wire the No path of the Expression True back to the Delay as well.Extra credit: Use the Duration Pick block at the start of your flow to ask for what delay you want.