Frigate Mobile App Notifications 2.0

Hello, should I be getting an error for the device_class being “camera”? I’m using your current stable blueprint and it says, "value is not accepted"and then lists a bunch of valid values.
I possibly could have just imported it incorrectly. I just copy and pasted your code over the original blueprint.

Also when trying to use the blueprint, I get “No matching entities found” where you select the camera entity. I do have frigate setup and working correctly with a single camera so far, so not sure about that either.


Yes the error is expected.

The frigate integration creates entities with a device class of camera. Home assistant itself doesn’t consider that a real device class so they won’t allow it to be added to HA core. My pull request recently was rejected. The filter works but vs code will see it as invalid due to it not being present in the list of things it validates against.

Do you have the frigate integration also installed? This creates the entities in HA

Hello,

I could use some help. I am not sure what happened. I recently started using two servers, and my Home Assistant VM was one of the things that moved from my original server to my 2nd server.

It was a pretty simple move, just installed the VM, and did an update from my google backup. It was all up and running in a matter of minutes. I moved Frigate over to that server as well, also easy since its just the config file that I needed to move to the container.

Frigate works, my automation that uses people on my camera in the kitchen to turn on the undercounter lights works. If I go into HA for a camera outside I can see it recognizing people/cars etc etc. However the Notifications have stopped working.

I’m not sure what has happened. I went ahead and deleted frigate from HA, and HACS and deleted the blueprint, restarted HA, and installed all of those from scratch again, and again the automation that uses frigate for my kitchen works, but my notifications do not.

When I look at the traces I just see this error.

Stopped because of unknown reason “null” at January 30, 2023 at 5:06:06 PM (runtime: 0.01 seconds)

Any thoughts are appreciated!
Thanks
-Chase

Can you please confirm which blueprint you are using?

My first thought is you are using the original one at the top of this topic which has a bug with newer releases of HA/frigate

name: Frigate Notification (0.10.0)

Where do I find the newest one?

I have made a fork with the fix and a bunch of other features, otherwise the fix is discussed earlier in this thread.

Thank you for your work on this!!! I can’t even explain how frustrating it was that I couldn’t figure out what I did in moving from one server to the other and breaking something.

I got yours installed and it’s working perfectly on the one camera I tested, now to get it setup on the other camers and to test them as well, but since it worked on one, I think we are good.

Thanks again!

1 Like

Hey, there is a typo in the “Disable notifications by time” value of 7 o’clock. It’s listed as 07:00 - 06:59.

This blueprint looks great, but I’m not able to get it to work. I have it setup as shown, and it’s never triggering (last triggered: never). It’s saved/enabled, it just won’t trigger.

My Frigate sensors in HASS are all are working as expected. I just stepped out on the front porch, and the binary_sensor.front_porch_motion and sensor.front_porch_person_count sensors etc all reacted to me out there. But the automation to send the alert didn’t fire.

Thanks @ZynanBob, fixed now.

@rogers you are using a version of the blueprint with a bug as discussed a few posts ago. Try my fork

Oh thank you @SgtBatten , I missed that. Some great new features in your fork.

Is there a way to get the notification to open the related clip in the Home Assistant app rather than the web browser? I did not set the base URL, and it works, but opens in the browser. I’d like to find a way to open the clip from the notification in HA (either the Media Browser, or better, yet, a popup over a particular dashboard), so that when I close the clip, I can be left viewing my live camera feed.

1 Like

So far there has not been a reliable way. Perhaps we can fiddle with urls to achieve it but i’ve not looked for a while.

Hi
I been waiting to use this along with Frigate but my Coral device 81 weeks away. My question is do you all have a Coral or does it work well enough without it?
5310

That depends on your server.

I ran frigate without a coral fine with two 1080p cameras. Once I upgraded and got more cams my low end system struggled with its 4th gen Intel mobile CPU. I now have a much more powerful server and a coral, the coral takes care of the heavy lifting.

Try it and see

Thank you for your work on the fixed template! Notifications are working with my camera, however I am wondering if zones are broken or if I am using them wrong? Here’s my automation using the template, and I defined the zone I want notifications for but I’m getting notifications for all zones on this camera:

- alias: Frigate Notification Porch
  use_blueprint:
    path: SgtBatten/frigate_0.11_notification.yaml
    input:
      tv_transparency: 0%
      camera: camera.front_porch
      notify_device: a685ab04fa78c70df24c96886f47f05d
      zones:
        - Porch

There’s a zone filter enabled toggle you need to turn on. Not sure if capitalisation is an issue off the top of my head either, but just try the toggle first.

1 Like

Thank you so much for the speedy reply! I’m so sorry, I don’t know how I missed that! There’s a lot going on in this blueprint, it’s amazing and so helpful to not have to configure all the API links for my frigate notifications.

EDIT: For those who may also be facing this issue: capitalization absolutely does matter; it didn’t like when I had my zone name capitalized. I have it working now:

- alias: Camera - Frigate Notification Porch
  use_blueprint:
    path: SgtBatten/frigate_0.11_notification.yaml
    input:
      camera: camera.front_porch
      notify_device: a685ab04fa78c70df24c96886f47f05d
      zone_filter: true
      zones:
        - porch 
1 Like

Genius! Fixed mine! Never would have found that on my own, thanks!

This is working pretty great for me so far, but, is there a way to have it only send the snapshot to iOS in a way that it is just viewable in the notification, instead of a link back to the hass webserver?

Thanks!

I guess you could delete the clickaction lines and also the action sections in the blueprint.