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

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.

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

All the needed flows:

Example flows to test your setup:

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!

4 Likes