Open JoshuaSeidel opened 2 months ago
Recently after I tried changing the URL to the home assistant app I changed it back
I dont know what you are talking about here. SOunds liek this is the issue though if that's what made it stop working.
Have you tried setting a base url in the automation?
If you need more responses, please fix the format of the automation yaml. go to automations, edit in yaml mode and copy the contents.
alias: Driveway Notifications
description: ""
use_blueprint:
path: SgtBatten/Stable.yaml
input:
camera: camera.driveway
notify_device: 0fce7692dbc619c242f66452044447da
alert_once: true
attachment: snapshot.jpg?bbox=1
update_thumbnail: true
video: >-
{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
ios_live_view: camera.driveway
labels:
- person
- car
disable_times:
- "21"
- "20"
title: Home Alert
silence_timer: 5
icon: >-
mdi:{{'account-outline' if label == 'Person' else 'dog' if label == 'Dog'
else 'cat' if label == 'Cat' else 'car' if label == 'Car' else
'home-assistant'}}
zone_filter: true
zones:
- driveway-parking
cooldown: 90
custom_filter: >-
{% if is_state("sensor.driveway_ptz_pan_position", "997") -%} true {%-
else -%} false {%- endif %}
tap_action: >-
{{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
initial_delay: 0
debug: true
base_url: https://ha.redacted.com
After I put the base URL in, there is no error but there is also no more thumbnail
Try disabling wifi and let me know if that makes a difference
Try disabling wifi and let me know if that makes a difference
Nope no difference
404 says the url is not accessible.
So please confirm you can access BASE URL HERE/api/frigate/notifications/1725655178.526155-by5fif/snapshot.jpg
Confirmed the url opens a snapshot
Not sure then, something is blocked between your HA instance and your phone. maybe reinstall the app. but I don;t knwo what I can do if it's not the wifi issue everyone on IOS is having
I'm having the same issue. I updated from blueprint 0.12.0.2 to 0.12.0.4 and now attachments don't show in notification. If I click on "view snapshot" in notification it shows the snapshot just fine in the browser.
The only way I can get it to work is if I disable clips. It doesn't like it when I do some nail or snapshot and clip.
I'm having the same issue. I updated from blueprint 0.12.0.2 to 0.12.0.4 and now attachments don't show in notification. If I click on "view snapshot" in notification it shows the snapshot just fine in the browser.
please go back to 0.12.0.2 and test again. As far as i've investigated this the snapshot code is unchanged between these versions.
The only way I can get it to work is if I disable clips. It doesn't like it when I do some nail or snapshot and clip.
IOS is a pain in my butt
Tell me about it, I switched from a house full of Ring to Reolink with frigate. All works good but notifications. I can see logs in logbook that when I went out back I wasn't in zone. Did a debug and it shows me in zone.
I know this blueprint is taking data from mqtt, I know a bunch is iOS too. I have alot of Apple products or id give android another go.
zones kinda suck for the blueprint and always have, especially if you don;t use update snapshot or if the target object isn't moving closer to camera.
It's much better in 0.14 using the blueprint in #216 because we are using frigate to determine if it is an alert or detection or not and only then does a reviews mqtt message get sent.
I'm having the same issue. I updated from blueprint 0.12.0.2 to 0.12.0.4 and now attachments don't show in notification. If I click on "view snapshot" in notification it shows the snapshot just fine in the browser.
please go back to 0.12.0.2 and test again. As far as i've investigated this the snapshot code is unchanged between these versions.
Before I saw this I ended up messing around with the configuration of the blueprint, removing and re-adding setting values. I did not have a base URL before with 0.12.0.2, but I added it into 0.12.0.4. It seems to be working consistently again on 0.12.0.4 with whatever I did. Thanks for the quick response.
Describe the problem you are having or the outcome you are trying to achieve.
Recently after I tried changing the URL to the home assistant app I changed it back and now everytime I get a notification the snapshot shows, can not show image 404
Version
0.12.0.4d
Automation config
Frigate Config
Any other information that may be helpful
Frigate Notification DEBUG (in loop): Send Notification: False Info: sublabel: None, image: "/api/frigate/notifications/1725655178.526155-by5fif/snapshot.jpg?bbox=1" Title: Home Alert message: A Car was detected on the Driveway camera. iOS sound: disabled by alert once, Android Sound: disabled by alert once, iOS url: /api/frigate/notifications/1725655178.526155-by5fif/snapshot.jpg?bbox=1 video: "/api/frigate/notifications/1725655178.526155-by5fif/driveway/clip.mp4" critical: False, Triggers: New Snapshot: False Presence Changed: False, Stationary Moved: False, Entered Zones Changed: False, sublabel changed: False, Conditions: Loitering: 0 or Filters: Zones: Zone Filter Enabled: True, Multi Zone Enabled: False, Required Zones: ['driveway-parking'], Last Zones: [], Entered zones: 0 - [], TEST: FAIL, Object Filter: Input: ['person', 'car'], TEST: PASS, Presence entity (not home): Entity: , TEST: PASS, Time Filter: Disabled times: ['21', '20'], TEST: PASS State Filter: state filter toggle on: False, state filter entity: , required states: [], TEST: PASS, Custom Filter: PASS, triggered by automation Driveway Notifications mqtt topic frigate/events 4:40:09 PM - Now Frigate Notification DEBUG (in loop): Send Notification: False Info: sublabel: None, image: "/api/frigate/notifications/1725655178.526155-by5fif/snapshot.jpg?bbox=1" Title: Home Alert message: A Car was detected on the Driveway camera. iOS sound: disabled by alert once, Android Sound: disabled by alert once, iOS url: /api/frigate/notifications/1725655178.526155-by5fif/snapshot.jpg?bbox=1 video: "/api/frigate/notifications/1725655178.526155-by5fif/driveway/clip.mp4" critical: False, Triggers: New Snapshot: False Presence Changed: False, Stationary Moved: False, Entered Zones Changed: False, sublabel changed: False, Conditions: Loitering: 0 or Filters: Zones: Zone Filter Enabled: True, Multi Zone Enabled: False, Required Zones: ['driveway-parking'], Last Zones: [], Entered zones: 0 - [], TEST: FAIL, Object Filter: Input: ['person', 'car'], TEST: PASS, Presence entity (not home): Entity: , TEST: PASS, Time Filter: Disabled times: ['21', '20'], TEST: PASS State Filter: state filter toggle on: False, state filter entity: , required states: [], TEST: PASS, Custom Filter: PASS, triggered by automation Driveway Notifications mqtt topic frigate/events 4:40:09 PM - Now Frigate