HASS alarm/command that make an Android phone ring, how to?

I used my android phone timer as an alarm when the home away sensor triggers, way better than repeat notification sound, wrote a blog about it with all the automations.

3 Likes

Really nice functionality @mmahmoodictbd !

is it possible to pick a specific ringtone because it select always ā€œHomecomingā€ā€¦and this is for my wake up, sweet, and i want to select a more ā€œagressiveā€ one for my doorbell please

I think itā€™s possible to set a notification channel, in there you have the option to choose Sound.

1 Like

Hello from the future!
If you are still here, Mahmood, thanks for the blog post, but should the data lines not be intent_action, intent_extras etc, rather than channel tag and group?

        intent_package_name: "com.google.android.deskclock"
        intent_action: "android.intent.action.SET_TIMER"
        intent_extras: "android.intent.extra.alarm.LENGTH:1"

Also, my galaxy phone doesnā€™t seem to have the deskclock package, but actually commenting that line out and just asking to set a timer works anyway, as long as you only have one clock/alarm app installed.