1
Solved

next alarm filter

Hi,

Is there a way to add a filter for the next alarm package provider ?

Because I want to put the date and time of my next morning alarm in a http post, but the %na variables are always overrided by different packages than the clock.

Example :

My next morning alarm is in 2 days.

Now :

- %na_day value is today

- %na_time value is 21:04

- %na_package is com.android.providers.calendar

If I create an alarm today I can sometime have the value of this alarm and the good %na_package : com.android.deskclock but most of the time it will be overrided by the calendar app.

My phone is Xiaomi Pocophone F1

MIUI Global 11.0.5.0 (stable)

Android version 9 PKQ1.180729.001

Regards,

Charles

1 reply

Unfortunately you can't filter. What you can do is ignore the packages that you want and keep checking until the package you need is returned. Otherwise you can do this: https://notenoughtech.com/tasker/how-to-sync-android-alarm-with-nodered/

That shows how to get all alarms that are set by the clock :)

Topic is closed for comments