Updated TEMPer documentation with more info (#791)

This commit is contained in:
Heiko Rothe 2016-09-10 23:44:38 +02:00 committed by Fabian Affolter
parent df82109596
commit b4b9f303e2

View File

@ -18,4 +18,18 @@ To use your TEMPer sensor in your installation, add the following to your `confi
# Example configuration.yaml entry
sensor:
platform: temper
name: 'My TEMPer'
scale: 1
offset: 0
```
Since some of these sensors consistently show higher temperatures the scale and offset values can be used to fine-tune your sensor.
The calculation follows the formula `scale * sensor value + offset`.
The TEMPer sensors can only be accessed as root by default. To fix the USB permissions on your system create the file `/etc/udev/rules.d/99-tempsensor.rules` and add the following line to it:
```
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0c45", ATTRS{idProduct}=="7401", MODE="666"
```
After that re-plug the device and restart Home Assistant.