Frigate Mobile App Notifications 2.0

Correct your custom action is being blocked by the zone in your example.

Depending on what your action is you could use the auto trigger in loop but include a condition to check for the last time your action was done. If you action is doing something HA can register you could potentially stop it triggering repeatedly for an event this way.

For anyone having issues with the double take labels not showing in the notifications, here is a working fix by the guy keeping double take up to date: Frigate Notifications (0.12.0.3-2) · GitHub

I mean I’ve had zero feedback since I implemented the last suggested fix 3 weeks ago.

My understanding was that the label frigate is providing was now an array, hence the change to using an array. Now (having had to go an review the change history to find it) the change seems to be to revert that and go back to no array.

So what’s the deal?

This is likely just an issue with users being on different versions. Frigate 0.12 the sub label is a string, in frigate 0.13 the sub label is an array of the sub label then the score.

I’m really not sure. I was just in the discord for Double Take and brought up the issue I was having. He told me he made a change on line 1118 and 1124 of the original blueprint and asked me to test it. I am using Frigate 0.12.

Thanks, sounds like a good solution. I put it into the loop and it does indeed work now, I will add the logic to make sure it fires only once every 180 seconds which matches the setting I have for the cooldown in the blueprint. Thank you!

For anyone with Chromecast or Google home/nest devices who wants to cast the video or camera image to, here is what I’m doing.

There’s a lot of variations you could do WRT the type of stream sent, or which image you cast (using frigate mqtt event data, or the camera entities exposed in HA).

jspeg video

      - service: media_player.play_media
        data:
          media_content_type: image/jpeg
          media_content_id: http://<frigate>:5001/api/doorbell
        target:
          entity_id:
            - media_player.chromecast
            - media_player.kitchen_display

image w/ object

      - service: media_player.play_media
        data:
          media_content_id: >
            {{ "http://<homeassistant>:8123" +
            state_attr("camera.doorbell_person", "entity_picture") }}
          media_content_type: image/jpeg
          entity_id:
            - media_player.kitchen_display
            - media_player.chromecast

I put these in a script, along with some other steps to pause my TV if it’s on and handle the input switching and resuming if necessary, and then trigger the script using the custom action feature of SgtBattens blueprint. Embedding in a script is important vs automation so triggering via script.turn_on executes it in background as opposed to the automation blocking the blueprint until it’s completed resulting in a delayed notification.

Terrific blueprint, thank you so much.

Is it possible to get a larger image size for the initial notification? What’s displayed is like a 64x64 image, I was hoping for something that would take up most of the phone’s screen so I can quickly see if the notification is important. I’ve tried thumbnail and snapshot and neither seems to make a difference.

I assume that just comes down to how your phone displays things because changing the attachment does change the image sent.

Below is collapsed and expanded. I can send a 4k image and it still that size until I click it to make it full screen.

Thanks for such a quick reply.

Some of the screenshots I’ve seen show a very large image that takes up perhaps half of the phone’s screen.

I’m using an iPhone 14 Pro Max so it’s got a massive screen. Here’s what it looks like:

IMG_1479

I think modern phone UIs make them smaller but in truth I don’t know.

Maybe if it didn’t send any title or message (no text) it might start bigger but I doubt it.

@SgtBatten Thxn for continuing this blueprint! :slight_smile:

In my configuration.yaml I setup a notification group:

# Notify Group
notify:
  - name: ALL_DEVICES
    platform: group
    services:
      - service: mobile_app_iphone_van_123
      - service: mobile_app_iphone_van_456

However, when I try to save the automation blueprint it throws me an error:
Message malformed: Unknown device ‘’

I left ‘Device’ blank. Am I doing something wrong?

/Edit
When adding 1 device of one of the notify-services, it does work. Might be a bug?

Device can’t be blank since HA 2023.11.

It will only send to the group if used.

1 Like

Ah thnx for clearing up. Did I missed that somewhere?

In 2023.11 or 10. So yes; you missed that, probably. So a core change, the effects are in this blueprint.

1 Like

Two questions about the blueprint. Is there an Option inthe Companion App to turn off Snapshots? My wife gets the Snapshot on the Phone but i wont. I already turned of all restrictions in IOS. No idea why i dont see them.

Also i wont see action buttons when clicking a notification, i instantly getting the video shown in browser, it will open the URL.

So I’ve setup 2 automations with this same Blueprint. But it seems only 1 notification is working. I might need some help.

I’ve setup a ‘State filter’ (set to on). When the state filter entity “Reolink Video Doorbell Visitor” changes to ‘On’ it should trigger a critical notification. However, it does not give any notification.

Or cant this blueprint be used for this kind of actions?

It will filter perfectly fine but don’t misunderstand the way the blueprint works. The trigger is the event and subsequent changes in the event. The doorbell being pressed does not trigger anything, it simply is used to filter notifications. If nothing triggered the update loop to send an update in the seconds when the state filter allowed notifications then no notification would be sent.

It’s probably possible to set it such that changing of the state filter to true could be a trigger, but currently it is not coded that way.

1 Like

Action buttons on IOS require you to long press the notification.

Is your wife on android? Are you sending to a group?

Long standing IOS thumbnail issue with no clear solution. Doesn’t seem to affect everyone.

I indeed had to realise the blueprint triggers on events in Frigate and not based on entity changes ONLY.

Could be a great new blueprint tho :wink: 10/10 would like to test it :stuck_out_tongue:

Trigger:

  • If state changes from X to Y

Action:

  • Make snapshot in Frigate
  • Send snapshot to device

Hello. First timer on the forum. Playing with HA about 6 months. But I have some kind of problematic thingy with this Frigate 2.0 blueprint. When Im trying to import it to my HA, an unknown error comes with red text.

I have tried importing 2 ways (both with that import button)
A is with remote control via Tailscale
B is with local connection.

I dont see any other error codes or anything so far referring to this blueprint.

There is no difference with stable or beta.

Thank you for understanding and for reading this far.