foxed
foxed
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Answer: not very 😄 that token seems to be a temporary one so not a long term fix. Hmm. Back to the drawing board.
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
The 404 makes some sense since my machine receiving notifications doesn't know what the path /api/camera_proxy/blah means ... so I changed image: to point to the full URL + the token ... and I get images on notifications. Only question I have I guess is, how long lived is that token .. if at all ..
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Ok got it working ....
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
No description
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
And that opens fine.
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Although, if I open the image from the dashboard - it has a token on the request url: http://homeassistant.local:8123/api/camera_proxy/camera.camera_proxy_camera_front_door?token=24416<redacted>
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Yeah I get 403 Forbidden when going to http://homeassistant.local:8123/api/camera_proxy/camera.camera_proxy_camera_front_door
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Progress ..
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Entity: automation.flash_lights
Error message: Response status code does not indicate success: 404 (Not Found).
2024-01-19 12:14:03.447 +00:00 [ERR] [STORAGE] Unable to download image: only HTTP uri's are allowed, got: /api/camera_proxy/camera.camera_proxy_camera_front_door
2024-01-19 12:14:03.447 +00:00 [ERR] [NOTIFIER] Image download failed, dropping: /api/camera_proxy/camera.camera_proxy_camera_front_door
Entity: automation.flash_lights
Error message: Response status code does not indicate success: 404 (Not Found).
2024-01-19 12:14:03.447 +00:00 [ERR] [STORAGE] Unable to download image: only HTTP uri's are allowed, got: /api/camera_proxy/camera.camera_proxy_camera_front_door
2024-01-19 12:14:03.447 +00:00 [ERR] [NOTIFIER] Image download failed, dropping: /api/camera_proxy/camera.camera_proxy_camera_front_door
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Ohhh
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Correct
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
I always need help but I've got meds for that! Added to configuration.yaml and rebooted HA:
logger:
default: warning
logs:
custom_components.hass_agent: debug
logger:
default: warning
logs:
custom_components.hass_agent: debug
Test notification(s) sent, received on desktop with no image - logs:
2024-01-19 11:52:47.944 DEBUG (MainThread) [custom_components.hass_agent] loading media_player for device: GOLIATH
2024-01-19 11:52:47.951 DEBUG (MainThread) [custom_components.hass_agent.config_flow] found device. Name: GOLIATH, Serial Number: defbd9b8-be69-419c-83a2-95089936fe2b
2024-01-19 11:52:48.458 DEBUG (MainThread) [custom_components.hass_agent] loading notify for device: GOLIATH
2024-01-19 11:55:29.169 DEBUG (MainThread) [custom_components.hass_agent.notify] Preparing notification
2024-01-19 11:55:29.171 DEBUG (MainThread) [custom_components.hass_agent.notify] Sending notification
2024-01-19 11:56:19.751 DEBUG (MainThread) [custom_components.hass_agent.notify] Preparing notification
2024-01-19 11:56:19.752 DEBUG (MainThread) [custom_components.hass_agent.notify] Sending notification
2024-01-19 11:58:22.217 DEBUG (MainThread) [custom_components.hass_agent.notify] Preparing notification
2024-01-19 11:58:22.218 DEBUG (MainThread) [custom_components.hass_agent.notify] Sending notification
2024-01-19 11:58:27.903 ERROR (Recorder) [homeassistant] Error doing job: Unclosed client session
2024-01-19 11:52:47.944 DEBUG (MainThread) [custom_components.hass_agent] loading media_player for device: GOLIATH
2024-01-19 11:52:47.951 DEBUG (MainThread) [custom_components.hass_agent.config_flow] found device. Name: GOLIATH, Serial Number: defbd9b8-be69-419c-83a2-95089936fe2b
2024-01-19 11:52:48.458 DEBUG (MainThread) [custom_components.hass_agent] loading notify for device: GOLIATH
2024-01-19 11:55:29.169 DEBUG (MainThread) [custom_components.hass_agent.notify] Preparing notification
2024-01-19 11:55:29.171 DEBUG (MainThread) [custom_components.hass_agent.notify] Sending notification
2024-01-19 11:56:19.751 DEBUG (MainThread) [custom_components.hass_agent.notify] Preparing notification
2024-01-19 11:56:19.752 DEBUG (MainThread) [custom_components.hass_agent.notify] Sending notification
2024-01-19 11:58:22.217 DEBUG (MainThread) [custom_components.hass_agent.notify] Preparing notification
2024-01-19 11:58:22.218 DEBUG (MainThread) [custom_components.hass_agent.notify] Sending notification
2024-01-19 11:58:27.903 ERROR (Recorder) [homeassistant] Error doing job: Unclosed client session
Automation config:
alias: DoorBell
description: ""
trigger:
- platform: device
device_id: 89b25da6b553825ad352b4fe35a4cff4
domain: nest
type: doorbell_chime
condition: []
action:
- service: notify.goliath
data:
message: Someone is at the door
title: Ding Dong
data:
image: /api/camera_proxy/camera.camera_proxy_camera_front_door
mode: single
alias: DoorBell
description: ""
trigger:
- platform: device
device_id: 89b25da6b553825ad352b4fe35a4cff4
domain: nest
type: doorbell_chime
condition: []
action:
- service: notify.goliath
data:
message: Someone is at the door
title: Ding Dong
data:
image: /api/camera_proxy/camera.camera_proxy_camera_front_door
mode: single
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Stop reading my mind damnit ... I was just readin on how to do that 😂
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Thanks. I'm working on the assumption that the Camera Proxy is setup correctly as I can see it in my dashboard and it's an image rather than a live stream. The fact that both the /api/nest/event_media/ option and the /api/camera_proxy/camera.front_door aren't working makes me think there's something else amiss somewhere.
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Ahh! Cool! Well ... sadly still not working ... I'll come back to look at it tomorrow, for now my head hurts 😂
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Next to image:
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Interesting! Is that >- supposed to be there?
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
Appear to be ok there but using any of those four options still isn't popping an image into the notification.
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
No description
55 replies
HHASS.Agent
Created by foxed on 1/18/2024 in #💬・get-help
Adding image from Nest Doorbell to Notification
😂 yeah ... I missed that. So ... this is now in my configuration.yaml honestly wasn't sure if it was supposed to be the long form entity id or the friendly name so I figured it made sense to add both:
# Camera Proxy Setup
camera:
- platform: proxy
entity_id: camera.89b25da6b553825ad352b4fe35a4cff4
max_stream_width: 360
max_image_width: 720

camera:
- platform: proxy
entity_id: camera.front_door
max_stream_width: 360
max_image_width: 720
# Camera Proxy Setup
camera:
- platform: proxy
entity_id: camera.89b25da6b553825ad352b4fe35a4cff4
max_stream_width: 360
max_image_width: 720

camera:
- platform: proxy
entity_id: camera.front_door
max_stream_width: 360
max_image_width: 720
55 replies