Reolink: How do I create a home assistant notification with a link that opens the reolink camera app?

Hi all,

Okay I have this successfully running with my Reolink NVR, with 7 cameras attached. Using the below, and changing the <NVR_CAMERA_CHANNEL> for each camera, I can get push notifications that allow me to click on the notification and get taken directly to that specific camera in the Reolink app.

Within a certain time frame, it will take you to the live feed of the camera. Outside that time frame, it will take you to the playback of the camera that caused this notification.

NOTE: This is for Reolink NVR installations with Reolink cameras, I don’t know how this works without the Reolink NVR.

Example as follows:

service: notify.mobile_app_<YOUR_DEVICE_ID_HERE>
data:
  title: HASS Reolink Detection
  message: Doorbell Camera detected a person at {{now()}}
  data:
    clickAction: >-
      intent://scan/#Intent;launchFlags=0x14000000;component=com.mcu.reolink/com.android.bc.login.WelcomeActivity;S.UID=<NVR_UID>;S.ALMTIME={{now().isoformat()}};S.ALMNAME=Detection;S.DEVNAME=<NVR_DEVICE_NAME>;S.ALMTYPE=PEOPLE;S.ALMCHN=<NVR_CAMERA_CHANNEL>;end    

Replace values as follows:

<YOUR_DEVICE_ID_HERE> = name/id of your device/phone

<NVR_UID> = the UID of your NVR as shown in the Reolink app

<NVR_DEVICE_NAME> = the Device Name of your NVR as setup in the Reolink app

<NVR_CAMERA_CHANNEL> = The NVR channel to show on the Reolink app. This is the parameter that determines which camera will show up when the app opens. This parameter is a bitmask meaning you need to use it like this:

  • NVR camera 1 then <NVR_CAMERA_CHANNEL> = 1
  • NVR camera 2 then <NVR_CAMERA_CHANNEL> = 2
  • NVR camera 3 then <NVR_CAMERA_CHANNEL> = 4
  • NVR camera 4 then <NVR_CAMERA_CHANNEL> = 8
  • NVR camera 5 then <NVR_CAMERA_CHANNEL> = 16
  • NVR camera 6 then <NVR_CAMERA_CHANNEL> = 32
  • NVR camera N then CHANNEL = 2N-1

Thanks to @reinaldoarrosi and @belastingvormulier for their posts as I used a combination of both to get this working. It has been working for me for over one week now.

5 Likes