-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frigate 0.14 #216
base: main
Are you sure you want to change the base?
Frigate 0.14 #216
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
Testing with HenningL's change. Only get alerts IF zone filter switch is OFF. Can't have any zones or object filters as well or automation does not fire. When it does fire, I get alerts on my iWatch, but no snaps or video. Not sure if it helps, but error message from logs: Logger: homeassistant.helpers.template Template variable warning: 'new_snapshot' is undefined when rendering 'DEBUG (in loop): Send Notification: {{ custom_filter and not home and zone_filter and zone_multi_filter and state_true and (new_snapshot or presence_changed or zone_only_changed or entered_zones_changed ) }} Info: sublabel: {{sub_labels | join(', ')}}, image: "{{base_url}}/api/frigate{{client_id}}/notifications/{{events[0]}}/{{attachment}}" Title: {{title}} message: {{message}} iOS sound: {{'Critical' if critical else 'disabled by alert once' if alert_once else 'enabled'}}, Android Sound: {{'disabled by alert once' if alert_once else 'enabled'}}, iOS url: /api/frigate{{client_id}}/notifications/{{id}}/{{camera + '/clip.mp4' if video|length>0 and wait.trigger.payload_json['type'] == 'end' else attachment }} video: "{{video}}" critical: {{critical}}, Triggers: Presence Changed: {{presence_changed}}, Entered Zones Changed: {{'True' if event['before']['data']['zones'] != event['after']['data']['zones'] else 'False'}}{{' - Disabled' if not zone_only}}, Conditions: Filters: Zones: Zone Filter Enabled: {{zone_only}}, Multi Zone Enabled: {{zone_multi}}, Required Zones: {{input_zones}}, Last Zones: {{last_zones}}, Entered zones: {{enteredzones|list|length}} - {{enteredzones}}, TEST: {{'PASS' if not zone_only or (not zone_multi and zones|select('in', enteredzones)|list|length ) else 'PASS (Multi)' if zone_only and zone_multi and zone_multi_filter else 'FAIL (Multi)' if zone_only and zone_multi else 'FAIL' }}, Object Filter: Input: {{input_labels}}, TEST: {{'PASS' if not labels|length or object in labels else 'FAIL'}}, Presence entity (not home): Entity: {{presence_entity}}, TEST: {{'PASS' if not home else 'FAIL'}}, Time Filter: Disabled times: {{disable_times}}, TEST: {{'PASS' if now().hour not in disable_times else 'FAIL'}} State Filter: state filter toggle on: {{state_only}}, state filter entity: {{input_entity}}, required states: {{input_states}}, TEST: {{'PASS' if state_true else 'FAIL'}}, Custom Filter: {{'PASS' if custom_filter else 'FAIL'}},' Trying to view clip on iPhone, I get this message: |
There are some inconsistencies with the alerts;
|
Keep these coming, i appreciate it. Not much time so will update when i can. This is valuable though. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
minor refactors Removed loop for now to focus on core notifications, may be permanent. time will tell
refactor some of the code
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
Fixed this |
Pulled the latest changes. Working great so far |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I found it to just be on the 0.14.0.1 (e/f/g) versions. 0.14.0.1d worked for me with clips. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
this seems to be a frigate 0.15 thing as its working on frigate 0.14, please keep that discussion going in the other issue so i can get to it after we release this one. |
yes.. with frigate .14 works perfectly fine.
Andres Roepke
…On Fri, Nov 8, 2024 at 18:33 SgtBatten ***@***.***> wrote:
The clips feature from this blueprint instead of snapshots or Android
GIFs. It stopped working after 0.14.0.1d. I am using Frigate 0.15. The
below link has my config in it.
this seems to be a frigate 0.15 thing as its working on frigate 0.14,
please keep that discussion going in the other issue so i can get to it
after we release this one.
—
Reply to this email directly, view it on GitHub
<#216 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIOTKWTV2R2KS43HTSEOOFDZ7UUZBAVCNFSM6AAAAABIN47W4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRVG44DGNRSG4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I noticed I've been missing notifications. It looks to be a result of the severity changing during an update type (e.g., detection -> alert) but this not being an allowed condition. I think there needs to be something like this as well:
|
okay good idea. otherwise it needs to keep waiting for one of the other update requirements before a notification gets sent. this essentially allows the first time it changes to notify you. |
Hi guys, I have been running 0.14.0.1a for a while and it's been working well. But, I tried adding notifications for another camera that has enough alerts that I tried using the Silence action for the first time an had issues. I just upgraded to 0.14.0.1g and see the same behavior... but I'm not sure if this is a 0.14 issue or an issue with my config. The issue: with a brand new stock automation adding only the Frigate Camera and Mobile Device, the alert generates a notification with thumbnail as expected. But, when I tap the Silence action in the notification, another notification is immediately generated with the same thumbnail and an error is logged in Home Assistant. I think the error changed in "g" compared to "a"... but again, the new error could just be because I tried to create a clean new automation with the "g" blueprint. The automation traces for "g" only show frigate-event triggers and no silence triggers. With either blueprint, the automation is never turned off after tapping Silence. I did find another thread somewhere that said silence was not working when camera entity names had "_2" appended since those were getting stripped somewhere. And, my camera names DID have "_2" since my original deployment of Frigate overlapped with existing camera names. But, I have manually renamed the camera entities in Home Assistant to truncate the "_2"'s which I thought would have solved that issue. Any ideas if this might be a 0.14 issue or if I should go to the stable branch and troubleshoot from there? Thanks! |
Hmm, I just hit my custom action button on a notification i got 20 mins ago and it worked. That error is suggesting "this" = None. but this = the automation itself, like the automation entity within HA. It's can't not have an entity id so i'm a little confused there.
Not any more, frigate added a feature which helps me get accurate cam names now. |
With the major update from 11/2, I like being able to add multiple cameras to the same automation, but I have noticed since that I am missing some notifications entirely if there is an event back to back on different cameras. Perhaps the cooldown is affecting it? I tried with it off and it worked, then back on and it didn't, but it has sometimes worked with it on, maybe even most of the time or 50/50. One other thing I have noticed and I am not sure if it related to the same update, but sometimes the wording about the camera and object/time in the notification is there and sometimes it isn't. Sometimes it's part of the first notification and then disappears after an image update, sometimes it's not there for the first either. |
I am using Frigate 0.15.0-33825f6 now; maybe I need to roll back to the latest stable there to give useful feedback? |
yes cooldown will of course block lots of things with this blueprint as there is no loop function yet. it will even block updates to the notification. Don;t use cooldown currently, and probably don't use it if using multiple cameras. |
Yes, in the sense that it's showing you you have a setup that is not the same as any of the ones in the list. I may have changed the default since the last time you updated and as you did an upgrade and not a clean install, it's showing you your custom entry |
When upgrading I did a clean install as I deleted the old automation and blueprint and installed the new blueprint and created a new automation from scratch again.
…On Thu, Nov 21, 2024 at 10:28, SgtBatten ***@***.***(mailto:On Thu, Nov 21, 2024 at 10:28, SgtBatten <<a href=)> wrote:
> I've noticed that in this part of the blueprint configurator, it seems that it shows the code for the default notification message instead of an output of what the default message e.g "A person was detected on the front camera". Is this intended behavior?
Yes, in the sense that it's showing you you have a setup that is not the same as any of the ones in the list. I may have changed the default since the last time you updated and as you did an upgrade and not a clean install, it's showing you your custom entry
—
Reply to this email directly, [view it on GitHub](#216 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AJDRWENYKLYPDDM36I76J5D2BVSBHAVCNFSM6AAAAABIN47W4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJQGA4DCOJZGE).
You are receiving this because you commented.Message ID: ***@***.***>
|
In that case I think I need to change something, likely the default value doesn't match the list items. |
I was having issues with notifications coming in delayed, so I turned on Persistent connection -> Always and now I receive 2 notifications. The first one will be a notification with the image but no text and the second notification is the text but no image. I can confirm there was only one trace each time. Before changing the persistent connection to always, I did notice I would hear 2 notification sounds for a single event but did not see 2 separate notifications. Here is my config, I can share more of the trace as well if needed.
|
Bugs
Features
To Do:
Update the loop to make it work with 0.14Thoughts