From 3e48f688bc5b9e94733c5bbbe212ddc9156cb197 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 9 Sep 2015 10:55:11 +0200 Subject: [PATCH] Add variable description --- source/components/camera.generic.markdown | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/source/components/camera.generic.markdown b/source/components/camera.generic.markdown index b0d54041383..851b6747bee 100644 --- a/source/components/camera.generic.markdown +++ b/source/components/camera.generic.markdown @@ -14,12 +14,21 @@ This component allows you to integrate any IP camera into Home Assistant. It sup Home Assistant will serve the images via its server, making it possible to view your IP camera's while outside of your network. +To enable this sensor in your installation, add the following to your `configuration.yaml` file: + ```yaml # Example configuration.yaml entry camera: platform: generic - name: my sample camera - username: MY_USERNAME - password: MY_PASSWORD still_image_url: http://194.218.96.92/jpg/image.jpg + name: my sample camera + username: USERNAME + password: PASSWORD ``` + +Configuration 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. +- **username** *Optional*: The username for accessing your camera. +- **password** *Optional*: The password for accessing your camera.