Update Foscam camera component configuration variable (#6630)

Update style of Foscam camera component documentation to follow new configuration variables description.
Related to #6385.
This commit is contained in:
Klaas Schoute 2018-10-09 12:54:07 +02:00 committed by Franck Nijhof
parent b5cd4dc921
commit ad207b4ce3

View File

@ -28,13 +28,29 @@ camera:
password: YOUR_PASSWORD
```
Configuration variables:
- **ip** (*Required*): The IP address your camera.
- **port** (*Optional*): The port that the camera is running on. The default is 88.
- **username** (*Required*): The username for accessing your camera.
- **password** (*Required*): The password for accessing your camera.
- **name** (*Optional*): This parameter allows you to override the name of your camera.
{% configuration %}
ip:
description: The IP address your camera.
required: true
type: string
port:
description: The port that the camera is running on.
required: false
default: 88
type: integer
username:
description: The username for accessing your camera.
required: true
type: string
password:
description: The password for accessing your camera.
required: true
type: string
name:
description: This parameter allows you to override the name of your camera.
required: false
type: string
{% endconfiguration %}
<p class='note'>
There seems to be some issues within Foscam with lengthy passwords and passwords containing certain symbols. Be sure to check your camera's documentation.