Skip to content

Commit 7e2e72f

Browse files
authored
Update Configuration Variables section
1 parent 365499c commit 7e2e72f

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

source/_components/camera.mjpeg.markdown

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ ha_release: pre 0.7
1313
ha_iot_class: "depends"
1414
---
1515

16-
1716
The `mjpeg` camera platform allows you to integrate IP cameras which are capable to stream their video with MJPEG into Home Assistant.
1817

1918
To enable this camera in your installation, add the following to your `configuration.yaml` file:
@@ -25,14 +24,35 @@ camera:
2524
mjpeg_url: http://192.168.1.92/mjpeg
2625
```
2726
28-
Configuration variables:
27+
{% configuration %}
28+
mjpeg_url:
29+
description: The URL your camera serves the video on, eg. http://192.168.1.21:2112/
30+
required: true
31+
type: string
32+
still_image_url:
33+
description: The URL for thumbnail picture if camera support that.
34+
required: false
35+
type: string
36+
name:
37+
description: This parameter allows you to override the name of your camera.
38+
required: false
39+
type: string
40+
username:
41+
description: The username for accessing your camera.
42+
required: false
43+
type: string
44+
password:
45+
description: The password for accessing your camera.
46+
required: false
47+
type: string
48+
authentication:
49+
description: `basic` or `digest` auth for requests.
50+
required: false
51+
type: string
52+
default: basic
53+
{% endconfiguration %}
2954

30-
- **mjpeg_url** (*Required*): The URL your camera serves the video on, eg. http://192.168.1.21:2112/
31-
- **still_image_url** (*Optional*): The URL for thumbnail picture if camera support that.
32-
- **name** (*Optional*): This parameter allows you to override the name of your camera.
33-
- **username** (*Optional*): The username for accessing your camera.
34-
- **password** (*Optional*): The password for accessing your camera.
35-
- **authentication** (*Optional*): `basic` (default) or `digest` auth for requests.
55+
Configuration variables:
3656

3757
<p class='note'>
3858
There is a <a href="https://github.com/shazow/urllib3/issues/800" target="_blank">known issue in urllib3</a> that you will get error messages in your logs like <code>[StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed data: ''</code> but the component still works fine. You can ignore the messages.

0 commit comments

Comments
 (0)