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.

To enable this camera in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
  - platform: mjpeg

Configuration variables:

  • mjpeg_url (Required): The URL your camera serves the video on, eg.
  • still_image_url (Optional): The URL for thumbmail picture if camera support that.
  • name (Optional): This parameter allows you to override the name of your camera.
  • username (Optional): The username for accessing your camera.
  • password (Optional): The password for accessing your camera.
  • authentication (Optional): basic (default) or digest auth for requests.

There is a known issue in urllib3 that you will get error messages in your logs like [StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed data: '' but the component still works fine. You can ignore the messages.