# Use Homey to set or delete an alarm on Android and start a flow when the alarm rings

**URL:** <https://community.homey.app/t/use-homey-to-set-or-delete-an-alarm-on-android-and-start-a-flow-when-the-alarm-rings/47378>\
**Category:** Questions & Help\
**Created:** [May 13, 2021, 5:43pm UTC](https://community.homey.app/t/use-homey-to-set-or-delete-an-alarm-on-android-and-start-a-flow-when-the-alarm-rings/47378 "2021-05-13T17:43:13Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Leone](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leone/32/21264_2.png) [@Leone](https://community.homey.app/u/Leone)\
**Post date:** [May 17, 2021, 4:01am UTC](https://community.homey.app/t/use-homey-to-set-or-delete-an-alarm-on-android-and-start-a-flow-when-the-alarm-rings/47378/5 "2021-05-17T04:01:40Z")

</div>

I got it done!

- If an alarm clock is set or adjusted in the standard clock app of an Android device, the time and day are also set in a Logic variable in Homey. Homey then shows me a notification to confirm my new alarm.

- When the alarm goes off, a flow will automaticly start in Homey.

- You can use flows to set a new alarm in your standard clock app or delete an existing one based on the time or the name of the alarm clock.

[![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/2/e21f81ddbc728237738e010312590cd870f5c9e7.jpeg "HomeyAlarm") ](https://www.youtube.com/watch?v=C6waMRYYNt8)

What do you need to get this working?

- Tasker
- AutoTools (optional; to calculate the time your alarm will go off minus the given offset in minutes)
- AutoRemote (for communicating with Homey through webhooks)
- AutoAlarm (to retrieve your next alarm in your standard clock app)

You can import the Tasker project via the following link:  
[https://taskernet.com/shares/?user=AS35m8nRu3giFYRoZD%2FtlU%2FAiDGJ4EVpkHarD4YYCfgV6RGlYmqS18YfvC%2BhOmFLQsaG69lY%2BRg%3D&id=Project%3AHomeyAlarm](https://taskernet.com/shares/?user=AS35m8nRu3giFYRoZD%2FtlU%2FAiDGJ4EVpkHarD4YYCfgV6RGlYmqS18YfvC%2BhOmFLQsaG69lY%2BRg%3D&id=Project%3AHomeyAlarm)

All the needed flows:  
[https://homey.app/f/etGtUB/](https://homey.app/f/etGtUB/)  
[https://homey.app/f/b6LtUB/](https://homey.app/f/b6LtUB/)  
[https://homey.app/f/mhOtUB/](https://homey.app/f/mhOtUB/)  
[https://homey.app/f/wsRtUB/](https://homey.app/f/wsRtUB/)  
[https://homey.app/f/Y9TtUB/](https://homey.app/f/Y9TtUB/)  
[https://homey.app/f/gCVtUB/](https://homey.app/f/gCVtUB/)  
[https://homey.app/f/YOXtUB/](https://homey.app/f/YOXtUB/)  
[https://homey.app/f/gf\_tUB/](https://homey.app/f/gf_tUB/)

Example flows to test your setup:  
[https://homey.app/f/4N5uUB/](https://homey.app/f/4N5uUB/)  
[https://homey.app/f/-s8uUB/](https://homey.app/f/-s8uUB/)  
[https://homey.app/f/hVauUB/](https://homey.app/f/hVauUB/)

Logic Variables to add:

NextAlarmTime - Null  
NextAlarmDay - Null  
NewAlarmTime - Null  
NewAlarmName - Null  
DisableAlarmName - Null  
DisableAlarmTime - Null  
AutoRemotePassword - PASSWORD  
AutoRemoteKey - KEY

Feel free to ask questions if you need help getting this working!

---

_[View the full topic](https://community.homey.app/t/use-homey-to-set-or-delete-an-alarm-on-android-and-start-a-flow-when-the-alarm-rings/47378)._
