Home Assistant Community

How to open camera feed on notification

#1

I have set up a notification with a front door camera snapshot when somebody rings the doorbell. How can I go directly to the live camera feed when I click on the notification? I’ve looked around but I’ve found no examples… Thanks.

#2

Depends on with what, iOS app? Browser? Ariela?

I only have experience with iOS, but on iOS you can use actionable notifications. On a standard pc browser you could use html5 notifications. On Ariela I wouldn’t know.

#3

My goal would be to go directly to the live camera feed on the iOS app…

#4

The only way I know of would be using actionable notifications. This is how I do it:

- alias: Motion detected no one home gallerij
  trigger:
  - entity_id: binary_sensor.dafang_motion_sensor
    platform: state
    to: 'on'
  condition:
  - entity_id: group.device_status_2
    state: 'not_home'
    condition: state
  action:
  - service: notify.ios_iphone_jimmy
    data:
      message: 'Er is beweging gedetecteerd op de gallerij! '
      title: 'Motion'
      data:
        attachment:
          content-type: jpeg
        push:
          badge: 0
          category: camera 
        entity_id: camera.gallerij_camera
#5

Thanks! I tried your suggestion and, interestingly enough, it gives me live video inside the notification window when I click on it (although the video size ratio comes up distorted, not in 16x9).

That’s a good option to have, but what I was looking for is getting a snapshot (which I already have set up) and going straight to the live video feed inside the HA app when I click on the snapshot notification. Currently it just takes me to the front page of the app, not to the camera component… If it’s a false alarm, the snapshot is enough; if I want to take a live look, then I can go there from the notification…

What do you think?

1 Like
#6

I have seen this question before, and I believe that this is currently not possible. I too was wondering if this would be possible. Yes the image looks stretched in the notification windows I haven’t found a solution for that yet.

But opening the app on a set page is not possible to my knowledge.

#7

Thanks a lot for clarifying this. I wasn’t able to find a clear answer either.

#8

I’m following since I couldn’t find a way to do the same

#9

I would really like to do the same. I want a snapshot in big format and then when clicking on it or an action button go to live stream. Right now I can just get a snapshot or video. Not both.
Most of the time you would want to see what it was that triggered the alert and then go to live to see what is going on.