SMS Received, play media not working

Viper99

New member
I'm not sure what I'm doing wrong here, but the goal I am trying to achieve is 2 fold:

Phone - Samsung S23, Android14, OneUI 6.0

1. After 17:00 (5pm), this macro should fire.
2. Whether I am in Vibrate Mode or DoNotDistrub, the macro should override the setting and set volume to 50%
3. Play a sound at that volume

What currently happens:
1. Receives SMS
2. Disable/Enable Macros in the Logs
3. Nothing fires in Actions (vibrate enable/disable, volume change, or play media sound)

Could use some assistance here, thank you, I'm sure it's something small i'm missing on the Macro
 

Attachments

  • Screenshot_20240307_140643_MacroDroid.jpg
    Screenshot_20240307_140643_MacroDroid.jpg
    80.6 KB · Views: 7
Last edited:

Jacob L

Moderator (Lawsonator)
Check the channel you're playing media with. If the media is playing through media volume it may not work - it may be mute.

Also there is no contraint tk stop it playing before 5, see time of day in constraints
 

Viper99

New member
Check the channel you're playing media with. If the media is playing through media volume it may not work - it may be mute.

Also there is no contraint tk stop it playing before 5, see time of day in constraints
Thanks, I have double checked channels and disabled the time-of-day constraints. I've modified this to enable max volume across the board and it still does not work, see updated screenshot. I've also tried testing the functionality individually (such as disabling the Vibrate/enable etc.). Each individual action does not fire at all.
 

Attachments

  • Screenshot_20240307_144109_MacroDroid.jpg
    Screenshot_20240307_144109_MacroDroid.jpg
    89.1 KB · Views: 3

Endercraft

Moderator (& bug finder :D)
Thanks, I have double checked channels and disabled the time-of-day constraints. I've modified this to enable max volume across the board and it still does not work, see updated screenshot. I've also tried testing the functionality individually (such as disabling the Vibrate/enable etc.). Each individual action does not fire at all.
Does it work when testing manually?
 

dhj49er

Well-known member
How have you tested the functionality individually?

When you say an action doesn't fire....do you mean when executing a test action, the action doesn't do what you were expecting?

If so, where there any error messages in the system log?

Actions run.

Triggers fire.

As for the macro, my immediate reaction is there is a complete lack of wait actions. Consequently the macro is not giving either MD or the phone OS to run the action or for the phone to respond.

I would suggest adding wait 1s actions after every action. The 1s is a starting point to help get the macro working.
 

Viper99

New member
Does it work when testing manually?
yes, testing manually fires all Actions.
How have you tested the functionality individually?
Functionality was tested by clicking on Test Action which works fine for all Actions. Sending a message to my phone, I can see Macro for from Disabled > Enabled, but nothing else fires
When you say an action doesn't fire....do you mean when executing a test action, the action doesn't do what you were expecting?
No, the test actions work fine, the macro doesn't fire when running non-test.
If so, where there any error messages in the system log?
No Error messages, please see the atttached screenshot.
Actions run.

Triggers fire.

As for the macro, my immediate reaction is there is a complete lack of wait actions. Consequently the macro is not giving either MD or the phone OS to run the action or for the phone to respond.

I would suggest adding wait 1s actions after every action. The 1s is a starting point to help get the macro working.
See my responses in blue, and also I have added waiters. I got this working in Tasker correctly, but was hoping to get Macrodroid working. 14:23 onwards is my sending a SMS to my phone and the Macro attempting to fire.
 

Attachments

  • Screenshot_20240307_160105_MacroDroid.jpg
    Screenshot_20240307_160105_MacroDroid.jpg
    100.3 KB · Views: 4
  • Screenshot_20240307_160135_MacroDroid.jpg
    Screenshot_20240307_160135_MacroDroid.jpg
    195.5 KB · Views: 4
Top