Andoid notofication, make tap open other app?

Hi I have an automation notification for my reolink doorbell.
This sends a link and a picture when someone pushes the bell button.
The link is there and the POP-UP also.
When I click the link " bekijk de camera" it opens the reolink app.
But when I click the notification it opens the HA dashboard.
Would ik be possible to let that action also open the reolink app when I click the notification?
I hope someone has an Idea:)

This is how my code looks:

alias: deurbels naar 22
description: voor reolink deurbel op GSM BERT
trigger:
  - type: turned_on
    platform: device
    device_id: 8d34db79467d5cf1465cfa0dd217a8b1
    entity_id: binary_sensor.reolink_deurbel_visitor
    domain: binary_sensor
action:
  - service: notify.mobile_app_sm_g781b
    data:
      message: iemand aan de deur op s22
      title: Er is aangebeld
      data:
        ttl: 0
        priority: high
        image: >-
          http://192.168.1.9/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=XXXX&password=YYYYYY
        entity_id: camera.deurbel
        actions:
          - action: URI
            title: Bekijk de camera
            uri: app://com.mcu.reolink
          - action: Remind
            title: negeer
            icon: sfsymbols:xmark
            destructive: true
mode: single

you need to modify clickAction

I understand that I must modify the action but I have no clue what to change.
I looked at the documentation but I do not underestand how the examples help me here.
I thing I must make a change in this part but I have no clue where to start.
The link with "Title : Bekijk camera "works like I want But when I click the message I woul like a similar respons

  - service: notify.mobile_app_sm_g781b
    data:
      message: iemand aan de deur op s22
      title: Er is aangebeld
      data:
        ttl: 0
        priority: high
        image: >-
          http://192.168.1.9/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=Pe1ayn47%
        entity_id: camera.deurbel
        actions:

per the linked docs you need to set clickAction accordingly. If you are unfamiliar with how the docs work I suggest spending some time familiarizing yourself with it as the example is the same as what I have below.

  - service: notify.mobile_app_sm_g781b
    data:
      message: iemand aan de deur op s22
      title: Er is aangebeld
      data:
        ttl: 0
        priority: high
        image: >-
          http://192.168.1.9/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG7C&user=admin&password=Pe1ayn47%
        clickAction: app://com.mcu.reolink
        actions:
2 Likes

Hi, Wow how could I have missed that while reading, :shushing_face: :thinking:
This indeed is what I was looking for.thanks
I have spend quite some time trying to understand the docs, but is somehow do not always understand/recognize it

Do you BTW now if and how it is possible to see the image at full size in the notofication instead of a small thunbnail?

This is what I was looking for as well. Thanks.

1 Like