home-assistant.io/source/_components/camera.rpi_camera.markdown
Janos Racz acad2027b1 Update camera.rpi_camera.markdown (#388)
There was a typo (mistake) in the platform name and I wrote a hint for the setup.
2016-04-11 23:17:43 +02:00

1.5 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_iot_class
page Raspberry Pi Camera Instructions how to integrate Raspberry Pi within Home Assistant. 2016-04-08 10:00 true false true true raspberry-pi.png Camera Local Polling

The rpi platform allows you to integrate the Raspberry Pi camera into Home Assistant. This component uses the application "raspistill" to store the image from camera.

# Example configuration.yaml entry
camera:
  platform: rpi_camera
  name: Raspberry Pi Camera
  image_width: 640
  image_height: 480
  image_quality: 7
  image_rotation: 0
  timelapse: 1000
  horizontal_flip: 0
  vertical_flip: 0
  file_path: /tmp/image.jpg

Configuration variables:

  • name (optional): name of the camera
  • image_width (optional): set the image width (default: 640)
  • image_height (optional): set the image width (default: 480)
  • image_quality (optional): set the image quality (from 0 to 100, default: 7)
  • image_rotation (optional): Set image rotation (0-359, default: 0)
  • horizontal_flip (optional): Set horizontal flip (0 to disable, 1 to enable, default: 0)
  • vertical_flip (optional): Set vertical flip (0 to disable, 1 to enable, default: 0)
  • timelapse (optional): Takes a picture every ms (default: 1000)
  • file_path (optional): Save the picture in a custom file path (default: camera components folder)

The given file_path must be an existing file because the camera platform setup make a writeable check on it.