NextAlarmdata

Endercraft

Moderator (& bug finder :D)
There is this key in system settings : "next_alarm_formatted" that you can get the value of using the magic text [setting_system=next_alarm_formatted].
Hint : It won't help you.
I think it is used by apps to set whatever alarm they need to trigger later like wait actions in MacroDroid with use alarm option. Correct me on that if I'm wrong.
 

HameleOn

New member
i put in Var and jast show local time not Alarm :(
[setting_system=next_ALARM_ALERT]. ?
 
Last edited:

Endercraft

Moderator (& bug finder :D)
Use this macro to view system setting changes. Set an alarm, and if any setting changes you should be able to use it.
 

HameleOn

New member
when the next alarm goes off I want to display how many hours are left before activation
ClockTask returns a time that differs from the real time in 50 seconds, not like it does not apply to an alarm clock
Help me kindly
 

Dimlos

Well-known member
I made a sample macro.
When an alarm is set or a hand is held over the sensor, the time until the next alarm is displayed.
 

Attachments

  • Macro.jpg
    Macro.jpg
    743.1 KB · Views: 12
  • Next_Alarm.macro
    12.6 KB · Views: 11

Dimlos

Well-known member
If it's Samsung, it's displayed in large size, so you don't need this macro.
If it works well it will show the same time like this.
 

Attachments

  • Clock.jpg
    Clock.jpg
    141 KB · Views: 9

HameleOn

New member
I wand show


I want to show on the main event how much more to work and not use another application, I can go to the clock and see how much is left, but then why do I need md
 

Attachments

  • Screenshot_20230322_061542_Photo Editor.jpg
    Screenshot_20230322_061542_Photo Editor.jpg
    128 KB · Views: 8

Dimlos

Well-known member
There is a language barrier or I am not getting what you want to do.
Please try to explain in more detail.
 

Dimlos

Well-known member
2023-03-23 06:00 > 167951880

167951880 is UnixTime.

UnixTime is the number of seconds elapsed since January 1, 1970 in UTC.
Is this necessary?
 
Top