You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/camera.mjpeg.markdown
+28-8Lines changed: 28 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ ha_release: pre 0.7
13
13
ha_iot_class: "depends"
14
14
---
15
15
16
-
17
16
The `mjpeg` camera platform allows you to integrate IP cameras which are capable to stream their video with MJPEG into Home Assistant.
18
17
19
18
To enable this camera in your installation, add the following to your `configuration.yaml` file:
@@ -25,14 +24,35 @@ camera:
25
24
mjpeg_url: http://192.168.1.92/mjpeg
26
25
```
27
26
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 %}
29
54
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:
36
56
37
57
<p class='note'>
38
58
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