Frigate Mobile App Notifications 2.0

Hey Sarge, so ever since I’ve installed your blueprint, I’m not get notifications across any of my cameras.
I even tried recreating my automation from earlier with the old version of the frigate notification, and I get nothing. I’m getting events to the frigate addon in HA, because I can see all the clips on the dashboard.

I can test send a notification to my notify.family group configured in my configuration.yaml file, and those come through. Any suggestions where to look to track down where the failure is occuring?

Send me a message with your blueprint config. (automation yaml)

Also your config for the family group.

Let me know if my reply made it to you. I was only able to embed one object at a time. Thanks again.

I just wanted to post back here after much back and forth with SgtBatten and I ruling things out we came to the conclusion that dashes (-) in camera name cause the blueprint to not work. The solution was to rename the cameras in the frigate.yml from front-camera to frontcam and it immediately started working.

Thanks for your patience and help SgtBatten.

1 Like

Oh cool.

I thought I had it figured out to resolve hyphens using the beta blueprint though so that’s a bummer.

Aaah this could be why @SgtBatten Blueprint never worked for me… All my cameras have hyphens in them…

Any other workaround? Instead of renaming cameras and possibly breaking other Automations…

As far as I know the original doesn’t work with hyphens either based on earlier discussion in this thread.

Did you try my beta? I tried to resolve it in that one.

The original did seem to work for me with Hyphens.

I have now updated to the Beta one and will see if it works, thanks!

Oh yes because you have to type the name of the camera in that rather than select the entity. I remember now.

In any case. I can fix the blueprint for you, just let me know how it goes with beta

1 Like

@SgtBatten Good day. I was able to install your revised blueprint and it worked wonderfully. Thanks for taking time to support this!

2 Likes

Got it working thanks for the assistance @SgtBatten

Now trying to get the disable_times working, I set them from 5 - 19 - Thus I only want notifications outside of these time.

Yet the condition seems to be True all the time:

conditions/3
Executed: January 6, 2023 at 14:07:07
Result:
result: true
entities: []

When I enter the values into the Developer Tools, then I get the expected result of False:

When I replace this condition

"{{ not disable_times|length or not now().hour in disable_times }}"

with this

"{{'false' if now().hour in [5,6,7,8,9,10,11,12,13,14,15,16,17,18,19] else 'true'}}"

image

Interesting… What was your automation yaml during the traces where it went true

Edit: just tested myself and same issue.

I think I see the problem. Current user facing selection menu creates a list of strings not integers. Will look into it later today.

Edit 2:
I think I have resolved it with beta 8j

2 Likes

After updating on Frigate 12 Beta the blueprint stopped working for me.
Can anyone confirm this?

Which blueprint? If the original one by hunterjm there is an issue with frigate since 0.11. it doesn’t seem to affect everybody but I have fixed it in my fork if that is indeed your problem.

If not then we need to understand what’s not working and if there are any errors in the log or in the blueprint trace. Also we need to understand what changes with frigate 12.

Now that I have my notifications working well (thanks @SgtBatten), I want to add a little more. I would like to trigger some other events based on this outside of HASS. Is it possible to setup a virtual device and turn it on when motion is detected? I can then use this device to make some JSON calls and other things needed to alert people in the house via Sharptools touchscreens connected to my Hubitats.

I think the Frigate integration does what you need already. There are plenty of sensors exposed by it.

Yes the frigate integration can already give you a motion Boolean among other things. If you want it filtered in the same way as the notifications though you would likely need to modify the blueprint to also do action x

I dont get any notifications anymore either since going to beta 12

Someone else reported this too. I have not updated to beta 12. Can you share the content of the mqtt message when a new event is triggered?

Is this it:
{“before”: {“id”: “1674046429.669159-w0do3k”, “camera”: “Gavl”, “frame_time”: 1674046797.507163, “snapshot_time”: 1674046795.980295, “label”: “car”, “sub_label”: null, “top_score”: 0.84375, “false_positive”: false, “start_time”: 1674046429.669159, “end_time”: null, “score”: 0.68359375, “box”: [1424, 157, 1942, 699], “area”: 280756, “ratio”: 0.955719557195572, “region”: [0, 0, 2488, 2488], “stationary”: true, “motionless_count”: 257, “position_changes”: 3, “current_zones”: [], “entered_zones”: [], “has_clip”: false, “has_snapshot”: false}, “after”: {“id”: “1674046429.669159-w0do3k”, “camera”: “Gavl”, “frame_time”: 1674046802.552679, “snapshot_time”: 1674046801.974467, “label”: “car”, “sub_label”: null, “top_score”: 0.84375, “false_positive”: false, “start_time”: 1674046429.669159, “end_time”: null, “score”: 0.84375, “box”: [1405, 166, 1935, 720], “area”: 293620, “ratio”: 0.9566787003610109, “region”: [835, 0, 2127, 1292], “stationary”: true, “motionless_count”: 286, “position_changes”: …

Does anyone know if it’s possible to download clips or snapshots on the iOS companion app? I’m having problems doing this.

EDIT: I raised an issue on github as it’s a limitation of the app, Safari works fine.