Ani
Ani
HHASS.Agent
Created by Ani on 10/4/2024 in #💬・get-help
Frigate notification to HASS.Agent
looks like the link is correct as https://[link]/api/frigate/notifications/[event id]/snapshot.jpg i just need to get the event id to replace it as a variable
18 replies
HHASS.Agent
Created by Ani on 10/4/2024 in #💬・get-help
Frigate notification to HASS.Agent
so i think i need to mess with the variables
18 replies
HHASS.Agent
Created by Ani on 10/4/2024 in #💬・get-help
Frigate notification to HASS.Agent
No description
18 replies
HHASS.Agent
Created by Ani on 10/4/2024 in #💬・get-help
Frigate notification to HASS.Agent
yeah it's just a matter of getting the image to appear
18 replies
HHASS.Agent
Created by Ani on 10/4/2024 in #💬・get-help
Frigate notification to HASS.Agent
this was without the blueprint entirely, but this is the one i was going to try and alter https://community.home-assistant.io/t/frigate-mobile-app-notifications-2-0/559732
18 replies
HHASS.Agent
Created by Ani on 10/4/2024 in #💬・get-help
Frigate notification to HASS.Agent
I managed to get the notification to pop up with this automation but there was no image - I may need to adjust the link:
alias: PC Notif Test
trigger:
- platform: mqtt
topic: frigate/events
condition:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
action:
- data:
title: Frigate Person Detection
message: >
"Frigate detected a person on the {{
trigger.payload_json['after']['camera'] }}."
data:
image: >-
https://[Link]/api/events/{{
trigger.payload_json['after']['id'] }}/snapshot.jpg
action: notify.my_pc
alias: PC Notif Test
trigger:
- platform: mqtt
topic: frigate/events
condition:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
action:
- data:
title: Frigate Person Detection
message: >
"Frigate detected a person on the {{
trigger.payload_json['after']['camera'] }}."
data:
image: >-
https://[Link]/api/events/{{
trigger.payload_json['after']['id'] }}/snapshot.jpg
action: notify.my_pc
18 replies
HHASS.Agent
Created by Ani on 10/4/2024 in #💬・get-help
Frigate notification to HASS.Agent
I'm also not sure if the automation would only work when the actual event occurs and I can't just have it fetch the most recent image if I run the action manually
18 replies
HHASS.Agent
Created by Ani on 10/4/2024 in #💬・get-help
Frigate notification to HASS.Agent
but i get Error rendering data template: UndefinedError: 'trigger' is undefined and I'm not sure how the trigger should be laid out
18 replies
HHASS.Agent
Created by Ani on 10/4/2024 in #💬・get-help
Frigate notification to HASS.Agent
the action seems like it should work
action:
- action: notify.my_pc
metadata: {}
data:
message: Motion Detected
title: Front Door
image: >-
https://[public HA link]]/api/frigate/notifications/{{trigger.payload_json["after"]["data"]["detections"][0]}}/thumbnail.jpg
action:
- action: notify.my_pc
metadata: {}
data:
message: Motion Detected
title: Front Door
image: >-
https://[public HA link]]/api/frigate/notifications/{{trigger.payload_json["after"]["data"]["detections"][0]}}/thumbnail.jpg
18 replies
HHASS.Agent
Created by Ani on 9/28/2024 in #💬・get-help
PC On/Off status as sensor?
any ideas as to why?
11 replies
HHASS.Agent
Created by Ani on 9/28/2024 in #💬・get-help
PC On/Off status as sensor?
however with my HA server if i try to ping the linux pc that works
11 replies
HHASS.Agent
Created by Ani on 9/28/2024 in #💬・get-help
PC On/Off status as sensor?
No description
11 replies
HHASS.Agent
Created by Ani on 9/28/2024 in #💬・get-help
PC On/Off status as sensor?
so I guess it would be the same automation to what i have now except every 20 minutes or so it would ping the pc and if one of the Round Trip Time sensors reported anything other than 0 then the PC is on?
11 replies
HHASS.Agent
Created by Ani on 9/28/2024 in #💬・get-help
PC On/Off status as sensor?
thanks for sending!
11 replies
HHASS.Agent
Created by Ani on 9/28/2024 in #💬・get-help
PC On/Off status as sensor?
i hadn't considered this
11 replies
HHASS.Agent
Created by Ani on 9/28/2024 in #💬・get-help
PC On/Off status as sensor?
ahh interesting
11 replies
HHASS.Agent
Created by Ani on 8/12/2024 in #💬・get-help
PC doesn't get discovered in HA but MQTT picks it up + no notify.your-pc service
okay it worked using the local API
35 replies
HHASS.Agent
Created by Ani on 8/12/2024 in #💬・get-help
PC doesn't get discovered in HA but MQTT picks it up + no notify.your-pc service
I'm a bit confused, do I need to have local API also configured even though I'm using MQTT?
35 replies
HHASS.Agent
Created by Ani on 8/12/2024 in #💬・get-help
PC doesn't get discovered in HA but MQTT picks it up + no notify.your-pc service
same here, are you using MQTT or a local API?
35 replies