Alarmtext

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

User avatar
Amenophis86
Posts: 13
Joined: 17 Jun 2016 10:00

Alarmtext

Post by Amenophis86 » 07 May 2017 08:02

Hey,
I tried to find it with google and the search of this board but had no luck, so I have to ask. Is it possible to get the text of an alarm in variable?

Hab mit der Suche leider nix gefunden, bei Google auch nicht. Ich würde gerne den Alarmtext in eine Variable auslesen, alternativ ihn als Condition einbinden. Hat da jemand etwas zu gefunden?

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Alarmtext

Post by bogdyro » 07 May 2017 10:07

Label of the alarm ? Only on a rooted phone I guess

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Alarmtext

Post by Martin » 07 May 2017 11:36

Hi,

You could try to detect the text by extracting the notification text when the alarm is ringing (might not work on all alarm apps).

Regards,
Martin

User avatar
Amenophis86
Posts: 13
Joined: 17 Jun 2016 10:00

Re: Alarmtext

Post by Amenophis86 » 07 May 2017 15:57

I need the text before it rings :)

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Alarmtext

Post by bogdyro » 07 May 2017 18:02

If You have a rooted phone you could read the alarms.db file and get the info, depending on time and app clock.

User avatar
Amenophis86
Posts: 13
Joined: 17 Jun 2016 10:00

Re: Alarmtext

Post by Amenophis86 » 08 May 2017 03:17

Thanks for the information, but rooting is not an option since I need the banking Apps etc.

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Alarmtext

Post by bogdyro » 08 May 2017 19:15

What is the purpose of the flow if I may ask?

User avatar
Amenophis86
Posts: 13
Joined: 17 Jun 2016 10:00

Re: Alarmtext

Post by Amenophis86 » 09 May 2017 11:27

You may. I Start some automation in my Smarthome with my alarm every morning. And by just changing the time, it changes the time for the start in FHEM (Smarthome Software).

But I can not use an other alarms during The Day in my Smartphone right now because every alarm would Start the Flow in my Smarthome. And I dont want to use The calendar for it :) so I am looking for a way to distinguish the alarms.

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Alarmtext

Post by bogdyro » 09 May 2017 19:10

Isn't there a notification that appears when an alarm is about to go off? Like 30 min before. It does that on my phone aosp 7.1 with the default clock app. It has the name and time of the upcoming alarm. And you should look into rooting,there are ways to hide it from
your bank apps.

User avatar
Amenophis86
Posts: 13
Joined: 17 Jun 2016 10:00

Re: Alarmtext

Post by Amenophis86 » 09 May 2017 19:18

I did not see a notification before the alarm goes off, but I will check it again.

Well I use a Sony Xperia Z5 Compact and tried hiding the root. It did not work so I had to unroot it.

Locked