From d1451eb065c143942394e530bd8c8dabda4d40fc Mon Sep 17 00:00:00 2001 From: cnico Date: Sat, 13 Mar 2021 22:28:45 +0100 Subject: [PATCH 1/2] generic camera : example of secured access Addition of an example with a camera that requires secured access, an HIK camera in my case. --- source/_integrations/generic.markdown | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/_integrations/generic.markdown b/source/_integrations/generic.markdown index f545c310732d..0e9aa0a54ac7 100644 --- a/source/_integrations/generic.markdown +++ b/source/_integrations/generic.markdown @@ -139,3 +139,19 @@ camera: still_image_url: http://194.218.96.92/jpg/image.jpg stream_source: rtsp://194.218.96.92:554 ``` + +### Secured access to the camera + +To access a camera that requires secured access for still image or live stream (an HIK in my case). + +```yaml +camera: + - platform: generic + still_image_url: http://192.168.1.100/ISAPI/Streaming/Channels/101/picture + stream_source: rtsp://[LOGIN]:[PASS]@192.168.1.100:554/Streaming/Channels/102 + name: My Camera + verify_ssl: false + username: [LOGIN] + password: [PASS] + authentication: digest +``` From 27de71359f615cd458c1c575a58a0638c598d537 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 15 Mar 2021 14:29:04 +0100 Subject: [PATCH 2/2] Update source/_integrations/generic.markdown --- source/_integrations/generic.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/_integrations/generic.markdown b/source/_integrations/generic.markdown index 0e9aa0a54ac7..8f1fd8957ef0 100644 --- a/source/_integrations/generic.markdown +++ b/source/_integrations/generic.markdown @@ -147,11 +147,11 @@ To access a camera that requires secured access for still image or live stream ( ```yaml camera: - platform: generic - still_image_url: http://192.168.1.100/ISAPI/Streaming/Channels/101/picture - stream_source: rtsp://[LOGIN]:[PASS]@192.168.1.100:554/Streaming/Channels/102 - name: My Camera + still_image_url: "http://192.168.1.100/ISAPI/Streaming/Channels/101/picture" + stream_source: "rtsp://USERNAME:PASSWORD@192.168.1.100:554/Streaming/Channels/102" + name: "My Camera" verify_ssl: false - username: [LOGIN] - password: [PASS] + username: "USERNAME" + password: "PASSWORD" authentication: digest ```