Hikvision setup

@Coolie1101 HASS can absolutely display a realtime video stream, but there are some caveats. You can only do it in the pop-up window (main page display is limited to a 10 second refresh) and you need to configure it as a “mjpeg” camera type, not generic.

For a hikvision camera I use a URL syntax like below:

camera:
  platform: mjpeg
  mjpeg_url: http://X.X.X.X/Streaming/Channels/2/preview
  username: user
  password: pass

You then need to make sure you have the substream set to “MJPEG” in your camera settings like the in the snapshot below.

2 Likes