Generic MJPEG IP Camera


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:

# Example configuration.yaml entry
camera:
  - platform: mjpeg
    mjpeg_url: http://192.168.1.92/mjpeg

Configuration Variables

mjpeg_url

(string)(Required)The URL your camera serves the video on, e.g., http://192.168.1.21:2112/

still_image_url

(string)(Optional)The URL for thumbnail picture if camera support that.

name

(string)(Optional)This parameter allows you to override the name of your camera.

username

(string)(Optional)The username for accessing your camera.

password

(string)(Optional)The password for accessing your camera.

authentication

(string)(Optional)basic or digest auth for requests.

Default value: basic

verify_ssl

(boolean)(Optional)Validate the ssl certificate for this camera.

Default value: true

Examples

Example of using a DCS-930L Wireless N Network Camera from D-Link:

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.

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