Macro is run but activity not executed

Nolan

Member
Hi
I have a macro that runs upon calendar event notification. I can see the macro is run but the sound that was supposed to fire does not fire. If I in the macro manually executes the activity it fires fine. It is a macro that should run during do not disturb mode. I have set the app to fire through the DND mode on my phone a Samsung galaxy S21 ultra

Any idea?

It used to work some months ago
 

Nolan

Member
Hi

sure, attached macros and a screenshot showing both have been evoked as supposed. Hope you can help find any explanation and solution to this
 

Attachments

  • Kalender_missed_reminder_standard.macro
    3.9 KB · Views: 2
  • X_Kalender_missed_reminder_standard.macro
    2.1 KB · Views: 1
  • photo_2023-07-30_16-32-07.jpg
    photo_2023-07-30_16-32-07.jpg
    174.6 KB · Views: 10

Qarboz

Well-known member
Try to change "Play Sound Audio Stream" to "Media/Music". In DND mode the notification volume is 0%
 

Nolan

Member
I enabled "allow notifocation" in DND and no difference.

But pls see attached seems theres an error in the log. As you can see the second macro (last activated 48 min ago) is not even evoked by the first (activated by trigger 1 min ago) as it should

Can you make anything of this ?
 

Attachments

  • photo_2023-07-31_14-19-59.jpg
    photo_2023-07-31_14-19-59.jpg
    106.6 KB · Views: 8
  • photo_2023-07-31_14-19-48.jpg
    photo_2023-07-31_14-19-48.jpg
    168.1 KB · Views: 8

Endercraft

Moderator (& bug finder :D)
Seems it's because the volume level is not more than 2%. The constraint fail shows that right under the macro run action entry.
 

Endercraft

Moderator (& bug finder :D)
You are using the ringer volume in your constraint. You can check the current volume using the [vol_ring] magic text for exemple in a popup action.
 

Nolan

Member
Are there still errors in the system log?
very strange there must be a gub in MD. The macro did not fire because constraint was not met which was ringer vol > 2 %. I made a popup reading the ringer vol which said 80 %.

Something more: when the forst macro is tun by the trigger it does not seem to launch the embedded macro. If i open the first macro and press "test macro" it rund the embedded macro fine

must be a bug in MD?

Could be that the constraint ringer vol reads wrong, because limit is set to run if ringer vol >2 % and the reading by MD sais its 80 %, but maybe the macro reads the values wrong?
 
Last edited:

Qarboz

Well-known member
very strange there must be a gub in MD. The macro did not fire because constraint was not met which was ringer vol > 2 %. I made a popup reading the ringer vol which said 80 %.

Something more: when the forst macro is tun by the trigger it does not seem to launch the embedded macro. If i open the first macro and press "test macro" it rund the embedded macro fine

must be a bug in MD?

Could be that the constraint ringer vol reads wrong, because limit is set to run if ringer vol >2 % and the reading by MD sais its 80 %, but maybe the macro reads the values wrong?
Very strange
It could be a MacroDroid bug. Submit a bug report from the app
 
Top