Add variable description

This commit is contained in:
Fabian Affolter 2015-09-08 11:08:41 +02:00
parent c0f9913a7d
commit f7850b07eb

View File

@ -26,6 +26,16 @@ sensor:
unit: '%'
```
Configuration variables:
- **resource** (*Required*): IP address and schema of the device that is exposing an aREST API, e.g. http://192.168.1.10.
- **monitored_variables** array:
- **name** (*Required*): The name of the variable you wish to monitor.
- **unit** (*Optional*): Defines the units of measurement of the sensor, if any.
The variables in the `monitored_variables` array must be available in the response of the device. As a starting point you find below a sketch for the Arduino device family.
```c