MacroDriod not working when getting notifications in the drop-down window

MacroDriod is not working when getting notifications in the drop-down window.
This used to work a few months ago and now no luck.
I’m facing the same issue. I recently enabled MacroDroid to notify me when a person or pet is detected, but I can’t get it to work no matter what. It used to work months ago, but I’m not sure when it broke.

In the attached image, you can see that I’m testing the detection of a vehicle. I also attached a video showing the macro in action, and I clicked on it to test, and it works as expected.

For some reason, it’s no longer detecting or picking up the notification from the dropdown screen, such as “Vehicle Detected on Front Yard.” I even replaced it with “Vehicle Detected Front Yard” but still no luck.

I couldn’t attach the video, but I was able to upload it to imgur.com, the link is attached Video Link Imgur: The magic of the Internet

1 Like

Update, I managed to remove On Front yard and left it on Vehicle Detected and now it is working.

Now, I am trying to figure out. If a vehicle is detected to only open the camera where the alert came in for example Front yard.

1 Like

Also, I wanted to share that I used this website Text to Speech ( TTS Free ) - TTSFree.com to type my message and download as an MP3.
So, I downloaded
Person was detected in the front yard
Person was detected in the back yard etc…

2 Likes

I think this functionality just broke this week. Please review the comments in this thread starting here:

I posted some suggestions of how we could possibly figure out how to fix this in one of the last posts in that thread:

Consider reading that and see if you are willing to test out seeing how the notifications changed by capturing and looking at the raw notification data.

Also, can you confirm that you have Cam Unlimited subscription?

1 Like

Thanks

1 Like

I wonder if this actually started with the v3.2 app. You might want to check these topics, as well, because this reportedly quit working about a month ago:

Edit: I realize that I’m late to the party, but I wanted to share my own experience here in case it’s helpful to others, because my custom notification triggers for MacroDroid are still working as expected, as I described about a month ago, when I was still using Wyze app v3.1.5.569 at the time. I’m currently using Wyze app v3.2.1.581 and MacroDroid v5.48.13, and my macro looks the same as it did before.

Here are some screenshots that may be helpful. This first is a notification from a generic motion event:

Wyze Motion Detected notification

This is what the macro looks like:

More specifically, the trigger looks like this:

Notes:

  • Apparently the v3.2 app didn’t kill my notification macros, as has been previously speculated. (Or possibly v3.2 killed them and the v3.2.1 hotfix resurrected them.) I’m uncertain about this, though, as I haven’t been a consistent MacroDroid user, and I don’t recall specifically testing this while running the v3.2.0 app.
  • I haven’t ever seen any animated notifications appear in any of Wyze’s testing of this feature.
  • I’m not a Cam Plus (or better) subscriber, so my macros are set for generic motion detection on specific cameras only.
  • As I said, I’m specifying the camera (just one in this particular macro trigger) and also using a constraint to narrow the scope of what actually initiates the action.
    • The Trigger is looking only for a Notification Received from the Wyze app, and that notification has to contain the camera’s name as assigned in the Wyze app.
    • The Constraint is looking specifically for “Motion Detected” in the notification title (“{not_title}”).
    • The Action (when these conditions are met) plays a custom MP3 file that I created using a site similar to what @NRHTX mentioned above.
  • I mentioned in another topic that getting this set up initially took some experimentation, but the options I’m showing here (what’s checked and unchecked in the trigger settings) plus the use of the constraint were what gave me the effect I was seeking, and I think being detailed and specific in setting up the macro led to my successful outcome, though I understand that might not meet everyone’s needs, especially if someone wants to use MacroDroid as a conduit to pass information along to some other tool.

I’m sharing this because I haven’t seen anyone else walk through it in quite this way (at least not recently) with these specific screenshots showing the trigger options and use of a constraint, and since it’s working for me I hope this can be helpful to someone else…at least until Wyze does some more mucking about with notifications. :face_exhaling:

2024-11-20T10:56:26Z Edit: @NRHTX, specific to your request in Post #2, I’d try setting up your macro this way:

  1. Edit the Trigger so that it’s looking for Text Content with Contains selected and then include your camera name: Front yard.
  2. Add a Constraint like this: Constraints ➜ MacroDroid Specific ➜ Compare Values ➜
    a. Leave Type as Boolean.
    b. Set Value 1 to {not_title}. (Click the to the right of Value 1 and select Notification title from the list.)
    c. Leave the = (equal) radio button selected.
    d. Set Value 2 to Vehicle Detected.

Your screens (based on what you’ve previously shared) should look like this:

Notes:

  • I unchecked the Case insensitive option on the Trigger because I like being specific. You may or may not wish to leave this checked depending on your habits, and you may want to try checking/unchecking other options in the Trigger setup depending on the results you receive.
  • Likewise, I was careful to capitalize “Vehicle Detected” in the Constraint because that’s exactly how the text appears in the notification screenshot you shared in your initial post.

Try that and let us know how it goes.

2024-11-20T15:05:17Z Edit: Giving this some more thought, I realize that I didn’t actually address exactly what you’re trying to do:

I haven’t yet figured out a way to do this with MacroDroid, and I don’t know if it’s possible (but I’m still a MacroDroid newbie). With what I’m seeing in MacroDroid’s options, my thoughts were…

  1. Have MacroDroid launch a Wyze widget (using a Favorite Device 3 × 3 widget on a launcher/home screen as a means to launch the Wyze app directly to a camera’s Live Stream screen). This doesn’t appear to be an option, at least as I understand it so far.
  2. Use the Action ➜ Applications ➜ Launch Shortcut to launch the app directly to a given camera’s Live Stream. Unfortunately, Wyze doesn’t seem to expose these, though there’s a Wishlist item requesting this: Android App Shortcuts and iOS Quick Actions. (I think it’s a really good idea that could use more votes, especially since Wyze’s widgets implementation is subpar.)

I also wondered about Action ➜ Applications ➜ Launch App Activity, and Wyze does expose some of those, one of which is WyzeDeepLinkPage, so if someone could figure out the right page name and how to properly format the request, then using something like that might be a possibility. I’m not sure where to seek that information, though. Maybe a logging app, like what @carverofchoice mentioned in another topic? I would presume that if you could capture raw notification data, then that might include the deep link back to the appropriate context within the app that a user would expect to see when tapping the notification, and that could potentially be used to script an action in MacroDroid. I’m just speculating about that, though. :man_shrugging:

1 Like

Hello, @Crease

Thank you for your response! Just to clarify, the constraints mean you can ignore notifications like “Vehicle Detected” or “Motion Detected”?

I’m glad you were happy to receive a response and tried the suggestion! However, MacroDroid is still alerting me for everything.

I was trying to figure out if it can ignore Vehicle Detected. I also tried adding a second constraint and no luck.

The Constraint, at least as I’m using it and understand it, is like an additional condition that the Macro has to meet before it takes action. In the case I illustrated, I’m looking for two specific elements of a notification in order for the Macro to actually fire:

Wyze Motion Detected notification

  1. In the Trigger, I want Text Content to match Cam OG White, AND
  2. In the Constraint, I want the Notification title ({not_title}) to match Motion Detected.

In other words, the Constraint is there to add a second condition that must be met before the Macro’s specific action is executed. That’s how I’m using Constraints to specify the Macro focus or scope.

In that case, I would change your first Constraint to look like this:

You want to choose the != (“not equal”) option if you’re trying to exclude a particular value, at least if I understand what you’re trying to do.

1 Like

@Crease Thank you so much—this makes sense!

When I set Value 1 to {not_title}, selected !=, and set Value 2 to Vehicle Detected, it successfully stopped all notifications for passing vehicles. What a relief!

Next, I added another constraint to notify me only when a Person is Detected. I tested it by walking past the camera, and it worked perfectly. However, now I’m receiving alerts again for every vehicle detected. Please see the images below for reference.

I’ve tried several methods, but I haven’t had any luck setting it to notify only for Person Detected.
Thanks for helping!


You’re welcome! I’m glad that it’s making sense and helpful. :+1:

What I suggested before was just to exclude “Vehicle Detected” notifications. If you want to include only “Person Detected” notifications, then I would try a single Constraint configured with {not_title} = Person Detected (i.e., just delete the {not_title} != Vehicle Detected Constraint) and see what that does.

1 Like

HI @Crease I think I’ve figured this out. Even after adding or excluding “Vehicle,” it still behaves the same. I suspect Wyze may have made changes that prevent us from capturing the exact notification name from the notification bar, which used to work before.

I left the settings as you showed me but disabled the Wyze Vehicle notifications within the app to stop receiving Vehicle alerts (see the attached image). Now, when someone walks onto or leaves my porch, I get a “Person Detected” alert. However, it also detects pets and packages, triggering the alert.

To simplify things, I’ve changed the MP3 notification sound to say “Motion Detected” instead of “Person Detected.”

@WyzeJasonJ anyway you can bring this up to the deveopers?

Frontyard device notifications.

That’s not my perception, but I suppose it’s possible given that they’ve been experimenting with the GIF notifications (which I still haven’t experienced). I’m also still running the v3.2.1.581 app, and my MacroDroid Macros are working as expected when I have them enabled.

Since I’m not a subscriber, I also don’t know if the AI-enhanced notifications (“Vehicle Detected”, etc.) have a different structure, because I’ve never experienced those and so haven’t tested them. My expectation is that the notification anatomy would be the same regardless of whether the receiving user was a Cam Plus subscriber or not.

I am aware of longstanding issues with Wyze’s AI (for instance, repeatedly generating package alerts or vehicle alerts for stationary objects in an unchanging camera view, especially if something else in the frame triggers motion or another event), as those seem to be frequently discussed on the Forum. I would suspect that something like that might be messing with you in this case, though at this point I’m not really clear about your ultimate goal with this. :man_shrugging:

1 Like

@Crease At least we tried! Changing the topic a bit—do you happen to know how to trigger a specific notification event to open instead of the entire Wyze app?

For example, when I get a “Person Detected on Front Yard” notification, I currently have it set to open the Wyze app, but that brings up the Wyze camera with all three cams tghat I have. It would be great if it could open directly to the event triggered Front Yard camera.

I experimented with an Android app called App Info, which is amazing. I found the notification for when a person was detected, and when I clicked “Open,” it quickly opened the Wyze camera and then directly showed the event associated with that notification.

I tried using the “Copy to Clipboard” feature, but it only provided the following information:

Person Detected

Frontyard at 1:42 PM

Here is a 9 second video. It would be great to program the Macro like this.

Nope.

As I wrote before, I realized upon re-reading your second post that I'm not currently aware of a way to do this (i.e., script or otherwise generate what would be something like a deep link to a specific part of the Wyze app):

I didn’t see an app in Google Play Store specifically called “App Info”, though I saw several with those words in the name, so I don’t know what you’re using or what its capabilities are. I still think that what you’re requesting might be possible if you can capture and expose details of the notification action for a given event/notification, and I imagine there are tools available that would allow you to do that. It’s not something I’m able to do at present, though, because I’m away from home and can’t reliably test.

1 Like

@Crease
Thank you, this is the app info that I was referring to.

That looks like the app @carverofchoice mentioned in the other topic (described above). I haven’t yet tried it, so I don’t know what kind of information it can capture from notifications. I think what you’d be looking to grab, though, is the intent or activity of a notification (I’m not a developer, so I’m fuzzy on the lingo). Basically, I think what you want to know at this point is what kind of instruction a particular notification is programmed to execute when it’s tapped.

For example, if I get a notification for Motion Detected on a Cam v4, and I tap that notification, then the app might take me directly to the event that was just recorded by the camera. That activity (the instructions that define the thing that happens when you tap the notification tile) is want you want to know so you can tell MacroDroid to do that thing when it intercepts and “reads” a specific kind of notification.

I don’t know if the app you mentioned exposes that kind of detail about a notification. Does it?

3 Likes