Announce time every 5 minutes

Post your questions and help other users.

Moderator: Martin

Post Reply
cjt7777
Posts: 19
Joined: 09 Aug 2016 12:50

Announce time every 5 minutes

Post by cjt7777 » 04 Nov 2018 19:07

I use my phone whilst in the gym but its awkward to access my phone and there's no easily visible clocks. So, I'd like a simple flow that announces the time every 5 mins so I know when I have to leave to get back to work.

Any help is appreciated!

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

Re: Announce time every 5 minutes

Post by digitalstone » 04 Nov 2018 22:57

From your trigger, place a "Speech Output" action of which text is like:

Code: Select all

The time is {getDate(),dateformat,HH:mm}
Then simply connect it to a "Sleep" action for the x-amount of minutes.
And loop this one back to the Speech Output action.
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

User avatar
Helios
Posts: 17
Joined: 22 Oct 2018 09:41

Re: Announce time every 5 minutes

Post by Helios » 05 Nov 2018 10:40

You probably want to have a look into this trigger:

https://automagic4android.com/en/help/c ... odic_timer

You can configure it to run every 5min. The connect this trigger to the speech output action as indicated by digitalstone.

The main problem with the "sleep+loop" approach is that the flow keeps running all the time, thus consuming more energy.
The periodic timer should - as far as I know - be more efficient.

cjt7777
Posts: 19
Joined: 09 Aug 2016 12:50

Re: Announce time every 5 minutes

Post by cjt7777 » 05 Nov 2018 11:30

Thank you both,

Will give these a try and report back... :D

cjt7777
Posts: 19
Joined: 09 Aug 2016 12:50

Re: Announce time every 5 minutes

Post by cjt7777 » 06 Nov 2018 08:58

Cheers guys,

I've got this working!

Post Reply