generic camera : example of secured access (#16991)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
cnico 2021-03-15 14:39:13 +01:00 committed by GitHub
parent 6d01d7260f
commit 040aed613a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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://USERNAME:PASSWORD@192.168.1.100:554/Streaming/Channels/102"
name: "My Camera"
verify_ssl: false
username: "USERNAME"
password: "PASSWORD"
authentication: digest
```