From 44418b509c7a5c32bf8a3c9ccd5aac2bb3b76194 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 13 Oct 2015 21:00:28 +0200 Subject: [PATCH] Move configuration details to docs --- homeassistant/components/camera/generic.py | 39 ++-------------------- 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/homeassistant/components/camera/generic.py b/homeassistant/components/camera/generic.py index 7e4a24ffdfe..74d2d0102d3 100644 --- a/homeassistant/components/camera/generic.py +++ b/homeassistant/components/camera/generic.py @@ -3,43 +3,8 @@ homeassistant.components.camera.generic ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Support for IP Cameras. -This component provides basic support for IP cameras. For the basic support to -work you camera must support accessing a JPEG snapshot via a URL and you will -need to specify the "still_image_url" parameter which should be the location of -the JPEG image. - -As part of the basic support the following features will be provided: -- MJPEG video streaming -- Saving a snapshot -- Recording(JPEG frame capture) - -To use this component, add the following to your configuration.yaml file. - -camera: - platform: generic - name: Door Camera - username: YOUR_USERNAME - password: YOUR_PASSWORD - still_image_url: http://YOUR_CAMERA_IP_AND_PORT/image.jpg - -Variables: - -still_image_url -*Required -The URL your camera serves the image on, eg. http://192.168.1.21:2112/ - -name -*Optional -This parameter allows you to override the name of your camera in Home -Assistant. - -username -*Optional -The username for accessing your camera. - -password -*Optional -The password for accessing your camera. +For more details about this platform, please refer to the documentation at +https://home-assistant.io/components/camera.generic.html """ import logging from requests.auth import HTTPBasicAuth