#Setting andriod alarm with companion app

1 messages · Page 1 of 1 (latest)

white wadi
#

Is it possible to set an alarm from homeassistant at a specific time using one of my time sensors? I would like the alarm to be made on the default andriod alarm not being set on sleepasandriod. Is this possible?

pearl sigil
#

I have an automation which runs every night and calls a script, if it is monday to friday it sets my work alarm, but if it is sat, it sets my training alarm. I have a few conditions, so it wont set if I am on holidays, or away from my home. The commands to run are like the following

#

intent_package_name: com.google.android.deskclock
intent_action: android.intent.action.SET_ALARM
intent_extras: >-
android.intent.extra.alarm.HOUR:{{ 7 }},android.intent.extra.alarm.MINUTES:{{
10
}},android.intent.extra.alarm.SKIP_UI:true,android.intent.extra.alarm.RINGTONE:VALUE_RINGTONE_SILENT,
android.intent.extra.alarm.SEARCH_MODE:android.label,android.intent.extra.alarm.MESSAGE:Work_Alarm

worldly rampart