Disable/Enable Alarm from Automation

Do I need to set additional parameters? Such as alarm_enabledDo I need to set additional parameters? Such as " alarm_enabled "

You mean MacroDroid? Yes I think it shoudl be possible although I did not test this pecifically…

Disable Alarm (when not currently ringing)

com.urbandroid.sleep.alarmclock.ALARM_STATE_CHANGE

  • Extras:

    • alarm_label: String representing a label of alarm to be changed. If there are more such alarms, only one of them is going to be changed (no guarantees which).
    • alarm_enabled: Boolean saying whether alarm should be enabled or disabled.

It doesn’t work for me at all, I don’t know what to do anymore

OK can you share a screen of what you are doing?

The intent action needs to be
com.urbandroid.sleep.alarmclock.ALARM_STATE_CHANGE

alarm_label is a string extra and need to match the label of the alarm in the app
alarm_enabled is a boolean extra

please note that you need to include apps package name com.urbandroid.sleep

if this does not work, please send me a bug report…

I’m sorry it’s so late

Hello, the type of the intent needs to be broadcast not activity…

Nothing happens, fixed for broadcast

Can you please send system language to English and send me the screenshot once again?

Yes, of course, thank you for your help

Uploading: Screenshot_20241206-172343.png…

See above

What is under the auto-detect dropdown? Is it a type of the extra? Please note that alarm_enabled is a boolean type and should be set to true or false…



so I chose a string and a logical one

Sounds good… please also check that the full name of the action is com.urbandroid.sleep.alarmclock.ALARM_STATE_CHANGE

I trusted and got up again the same thing, I’ll throw you a macro then please look at it just delete it “.jpg”
https://4pda.to/forum/dl/post/32080492/Буд.macro.png

I do not see the link,but if this is still not working can you please send us another bug report?

I found a solution, there was no amler id

Hello, alarm_id is not mandatory if you specify correct alarm_label

It’s only with id that everything worked for me