mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-31 15:26:49 +00:00

* Sets front matter defaults * Removes default front matter from section templates/pages * Removes default front matter from addon pages * Removes default front matter from integration pages * Removes default front matter from posts * Removes default front matter from docs pages * Removes default front matter from other pages * Fixes blog category pages
84 lines
2.0 KiB
Markdown
84 lines
2.0 KiB
Markdown
---
|
|
title: "Generic MJPEG IP Camera"
|
|
description: "Instructions on how to integrate IP cameras within Home Assistant."
|
|
logo: home-assistant.png
|
|
ha_category:
|
|
- Camera
|
|
ha_release: pre 0.7
|
|
ha_iot_class: Configurable
|
|
redirect_from:
|
|
- /components/camera.mjpeg/
|
|
---
|
|
|
|
The `mjpeg` camera platform allows you to integrate IP cameras which are capable
|
|
to stream their video with MJPEG into Home Assistant.
|
|
|
|
## Configuration
|
|
|
|
To enable this camera in your installation,
|
|
add the following to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
camera:
|
|
- platform: mjpeg
|
|
mjpeg_url: http://192.168.1.92/mjpeg
|
|
```
|
|
|
|
{% configuration %}
|
|
mjpeg_url:
|
|
description: The URL your camera serves the video on, e.g., http://192.168.1.21:2112/
|
|
required: true
|
|
type: string
|
|
still_image_url:
|
|
description: The URL for thumbnail picture if camera support that.
|
|
required: false
|
|
type: string
|
|
name:
|
|
description: This parameter allows you to override the name of your camera.
|
|
required: false
|
|
type: string
|
|
username:
|
|
description: The username for accessing your camera.
|
|
required: false
|
|
type: string
|
|
password:
|
|
description: The password for accessing your camera.
|
|
required: false
|
|
type: string
|
|
authentication:
|
|
description: "`basic` or `digest` auth for requests."
|
|
required: false
|
|
type: string
|
|
default: basic
|
|
verify_ssl:
|
|
description: Validate the ssl certificate for this camera.
|
|
required: false
|
|
type: boolean
|
|
default: true
|
|
{% endconfiguration %}
|
|
|
|
## Examples
|
|
|
|
Example of using a DCS-930L Wireless N Network Camera from D-Link:
|
|
|
|
```yaml
|
|
camera:
|
|
- platform: mjpeg
|
|
name: Livingroom Camera
|
|
still_image_url: http://IP/image.jpg
|
|
mjpeg_url: http://IP/video/mjpg.cgi
|
|
```
|
|
|
|
Example of integrating Blue Iris Cameras from a Blue Iris server.
|
|
|
|
```yaml
|
|
camera:
|
|
- platform: mjpeg
|
|
name: Livingroom Camera
|
|
mjpeg_url: http://IP:PORT/mjpg/CAMERASHORTNAME/video.mjpeg
|
|
username: BLUE_IRIS_USERNAME
|
|
password: BLUE_IRIS_PASSWORD
|
|
authentication: basic
|
|
```
|