Howto: Snapshot from Uniview (UNV) camera

It took me some time to figure out the correct settings, so I hope this saves someone some time.

I want to have Telegram text me a snapshot of the camera on a event (alarm or doorbell).

I have one camera that works simply with this URL:
http://CAMERA_IP:85/images/snapshot.jpg
Not sure why it’s port 85 (the regular webinterface is 80), but it works.

Another more recent model with much newer firmware changed the behavior, it now requires authentication so it as to be setup like this:

  action:
  - service: notify.olivier
    data:
      message: Camera Snapshot
      data:
        photo:
        - url: http://CAMERA_IP:85/images/snapshot.jpg
          caption: 'OLDER CAMERA'
        - url: http://CAMERA_IP:85/images/snapshot.jpg
          caption: 'NEW CAMERA'
          username: admin
          password: SUPER_SECRET
          authentication: digest
2 Likes

Thanks I found this useful as I recently got a uniview NVR and 4 cameras. There seems to be a built in motion sensor function that works pretty well, I just can’t seem to find a way to get that into Home Assistant. Any info out there that you think could help? Cheers

Have you had any luck with your NVR? I’m struggling with it too.

Unfortunately the NVR doesnt produce the snapshots. RTSP is possible though:

IPC:
Main-Stream: rtsp://IP:port/media/video1
Sub-Stream: rtsp://IP:port/media/video2
NVR:
Main-Stream: rtsp://IP:port/unicast/c1/s0/live
Sub-Stream: rtsp://IP:port/unicast/c1/s1/live

If you want the snapshots, you’ll have to grap them directly from the camera. If you’re using the PoE ports on the back of the NVR, that won’t work. You should move the camera to your “normal” network and add the camera to the NVR with it’s IP adress.

I didnt find a way to get the motion detection into HA… The implemented SNMP in recent firmware versions, but motion is not in there…

Many thanks for your help. If they ever implement a motion component for us to use, please let us know.