#Setting andriod alarm with companion app
1 messages · Page 1 of 1 (latest)
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
Thanks for your answer. I don't get your code runing. Could you please repost it using code tags/blocks ?
Want to inject some flavor into your everyday text chat? You're in luck! Discord uses Markdown, a simple plain text formatting system that'll help you make your sentences stand out. Here's how to d...