When starting the app, change the volume. On exit, set the old volume again.

Effel

New member
Hi folks,
I want a macro to change the media volume when an app starts in the background. When the app is closed, the macro should return to the original media volume.
Unfortunately, the trigger used in the macro does not work. What is the right way? Many thanks for your help
 

Attachments

  • 2024-06-06 22.21.07.jpg
    2024-06-06 22.21.07.jpg
    482.1 KB · Views: 15
  • 2024-06-06 22.21.22.jpg
    2024-06-06 22.21.22.jpg
    402.7 KB · Views: 14
Last edited:

Shiffo

Active member
I think its not possible to know if an app is running in the background...
For your macro though, does it trigger when you open the app and when you close it? If not try removing the constraints, i believe they are very likely preventing the triggers from firing
 
Last edited:

Effel

New member
The app starting in background invokes a message from the Android system: “Blitzer.de PRO wird über anderen Apps angezeigt” (Blitzer.de PRO is displayed above other apps). I tested the trigger “Notification Received” without constraints, but didn't get it to work either. Any Idea what's going wrong or how to handle?
 

Attachments

  • Screenshot_20240607_114835_MacroDroid.jpg
    Screenshot_20240607_114835_MacroDroid.jpg
    561.2 KB · Views: 8
  • Screenshot_20240607_115448_MacroDroid.jpg
    Screenshot_20240607_115448_MacroDroid.jpg
    405.6 KB · Views: 9
  • Screenshot_20240607_115459_MacroDroid.jpg
    Screenshot_20240607_115459_MacroDroid.jpg
    349.8 KB · Views: 8
  • Screenshot_20240607_114508_One UI Home.jpg
    Screenshot_20240607_114508_One UI Home.jpg
    1 MB · Views: 8
  • Screenshot_20240607_120401_One UI Home.jpg
    Screenshot_20240607_120401_One UI Home.jpg
    867.9 KB · Views: 8

Effel

New member
I have improved the macro a little. In the Macrodroid development environment, the macro works perfectly. However, when the Blitzer.de app is started, the “Notification Received” trigger is not recognized, whereas the “Notification Cleared” trigger is.
Is this a bug?
 

Attachments

  • 2024-06-10 21.03.21.jpg
    2024-06-10 21.03.21.jpg
    452.7 KB · Views: 3
  • 2024-06-10 21.03.33.jpg
    2024-06-10 21.03.33.jpg
    401.2 KB · Views: 3
Last edited:

Shiffo

Active member
Solved. The option ‘Ignore ongoing notifications’ must not be selected. Many thanks to the support team.
🤦‍♂️ I thought about that, but I didn't think you hadn't tried that already so I didn't say anything. 😅 Sorry 🙇‍♂️🙇‍♂️
 
Top