Stop shaking your phone alarm clock.

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
asimov62
Posts: 26
Joined: 10 Jan 2014 11:07

Stop shaking your phone alarm clock.

Post by asimov62 » 25 Feb 2016 19:54

It helped to create a flow that allows me to block the alarm by shaking the phone?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Stop shaking your phone alarm clock.

Post by Martin » 25 Feb 2016 20:47

Hi,

You could use action Start Activity with field action set to android.intent.action.DISMISS_ALARM to dismiss the current alarm.
Probably not all alarm clock apps support this action and it might turn off the upcoming alarm when it's not even alarming.

Alternatively you could also use condition Notification on Statusbar Displayed to check if a notification of the alarm clock app is displayed and then use action Perform Action on Notification on Statusbar: Click DISMISS to dismiss the current alarm.

Regards,
Martin

asimov62
Posts: 26
Joined: 10 Jan 2014 11:07

Re: Stop shaking your phone alarm clock.

Post by asimov62 » 26 Feb 2016 08:54

I tried it both ways, but not good, I created two streams, with the first part when the alarm activates me a stream with the shake mode which activates to follow another stream which mutes the ringer to me, the problem is that however, the alarm continues to function even if silent, if I lower the curtain to lock me up the volume, I would need a command that notifies me on the lock screen without lowering the curtain, I know there (once I used it) but I do not remember the name.

Locked