Frigate Mobile App Notifications 2.0

Thanks, Found the bug affecting individual device notifications.Will be fixed later today.

New version released.

Clean-up of descriptions
Changed order of inputs
Added some section headers to help navigate all inputs as this thing is getting big.

Stable:
Add tap action customisation
Add IOS Live view option
New input method for filters (hopefully easier than list format)

Beta:
Add Debug option to help troubleshooting.
channel option for android
sticky option for android ( i think this is unnecessary but needs testing)

3 Likes

Notifications to my iPhone have stopped working. I upgraded to version 11.0.15 to see if that helped, but it hasnā€™t. This may coincide with upgrading iOS to version 16.4, but I canā€™t be certain.

The automation is being triggered, but the notification does not appear on my iPhone.

A test automation to just send a simple notification to my iPhone works. Any ideas?

Looks like perhaps it is related to this: Reddit - Dive into anything

2 Likes

Hmmm, randomly happening again on the latest stable release. Not as frequent as the old one though.

Damn, Iā€™ve got one more option to try before i revert to the very first one which did seem to work. But confirm you are on 11.0.15?

The lines affecting this are (as of that stable version) 781 and 787

11.0.15 has those lines as {% if sub_label %}
The other version you said didnt work used {% if sub_label is defined %}
I can still try {% if sub_label not None %}

The original working one was {% if sub_label != None %}
I simply was looking for any ways to clean up the code.

You can insert those for now until I can publish a new one later.

1 Like

I canā€™t access reddit at the moment. Are there known yaml changes to fix it or it needs dev input?

Edit: found these

This one is related to IOS 16.4 specifically and seems to be a bug with local push, does it work if you turn off wifi?

This is some common troubleshooting I just found also (not specific to any new issue)

Yes, disabling local push works - seems to be a bug in iOS 16.4.

1 Like

Hi @SgtBatten, thanks a lot for all your work on the Frigate notification! Itā€™s great, I love it and I love your updates. Iā€™m using only iOS. Hats down for all your updates also for iOS even when you donā€™t have it.
I have few notes, Iā€™m running the beta and Iā€™ve just now updated to the latest beta but here are my notes for 0.11.0.13d:

  1. Action Button 2 URL is missing the View Clip option (also missing in 0.11.0.15a).

  2. Loitering notification is spamming me. A lot. Iā€™m considering to disabled it. Also I donā€™t know why, but the text was not loitering but only was detected. And I was getting the notifications even when the Presence Filter was home all the time. I donā€™t know how to debug this, so if you can PM me with some instructions I would be glad.

  3. Can you make Mobile Device optional? I have that one empty and Iā€™m using Notification Group or Android/Fire TV (Optional) where I have notification group of myself and wife.

  4. The Notification Icon (Optional) is Android only? In the release notes I see Added customisable Icons. - not sure if it works on IOS yet, can you PM me how it looks on Android so I can verify if that works on iOS? This doesnā€™t have any effect for me.

  5. View stream option is not working for me. Itā€™s opening http://192.168.2.20:8123/api/camera_proxy_stream/camera.dvor?external_auth=1 which returns 403: Forbidden. Any gues why? I can open camera.dvor entity in Developer tools and view the camera stream without any issues. Also Iā€™m accessing my HA on local network using HTTP only and the IP which works fine.

Regarding the recent discussion above - I was not getting any notifications, disabling the local push helped - here is how: Local Push | Home Assistant Companion Docs

Thank you!

Thanks @palito. Glad to hear it

You can write any custom values also if you wanted to change them around, but happy to add View Clip to Action button 2 and 3 as options (already done in my copy so next version will have it)

It is optional of course (if you use the group notification below it) but I wanted to ensure people didnā€™t ignore that section when setting things up. You have to have one or the other so having both optional could be confusing which i why i didnā€™t call it optional.

It changes the home assistant icon on the notification to any other mdi icon.

Itā€™s a bit unreliable and I need to look at a better way of doing it. The link is only valid for a (shortish) period after the notification is sent. After that the token expires and you get 403 forbidden.

Why do you think it is loitering?

I will be honest and say iā€™ve never used the loitering function (it was part of the original blueprint)
Still, iā€™d like to fix it for you.

In the newest beta I added a debug option to help see what the variables are at each iteration of the loop.

In the message field there is now a dropdown with several default options. The last one is Debug. Just select that, and trigger a notification to start getting outputs in your logbook.

Hmm the one I copied today was 11.0.14, did you just release 11.0.15? Guess Ill update it again.

before you do can you tell me what that line says?

Search for if sub_label

sorry for the weird indent it did @SgtBatten


                      {% if sub_label is defined %} 
                        {{title | replace('A Person', sub_label|title) | replace('Person', sub_label|title)}}
                      {%else%}
                        {{title}}
                      {%endif%}
                    message: >
                      {% if sub_label is defined %} 
                        {{message | replace('A Person', sub_label|title) | replace('Person', sub_label|title)}}
                      {%else%}
                        {{message}}
                      {%endif%}

Thanks, yep try .15

1 Like

Yup this is the issue. Iā€™m the one that posted this on Reddit earlier after spending the morning troubleshooting. I only just migrated my Frigate install to version 12 yesterday and thought the notifications stopped working because of that. Timing eh!

1 Like

Thanks @Sach @perlguy9 @palito

Disabling local push helped for me after upgrading to iOS 16.4 for notifications with images. But not for this blueprint but not updated yet to .15

Edit: sorry somebody else I was thinking of.

What seems to be the issue?

Yes found it here:

found the problem for this blueprint too, because of the troubleshooting of not getting notifications with images i removed my phone and added it again, but after this the device was not in the blueprint slected anymore, most of my autimations where in nodered and there where no problems.

Okay so you are good to go now?