Skip to content

Commit b4b9f30

Browse files
mKeRixfabaff
authored andcommitted
Updated TEMPer documentation with more info (home-assistant#791)
1 parent df82109 commit b4b9f30

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

source/_components/sensor.temper.markdown

+14
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,18 @@ To use your TEMPer sensor in your installation, add the following to your `confi
1818
# Example configuration.yaml entry
1919
sensor:
2020
platform: temper
21+
name: 'My TEMPer'
22+
scale: 1
23+
offset: 0
2124
```
25+
26+
Since some of these sensors consistently show higher temperatures the scale and offset values can be used to fine-tune your sensor.
27+
The calculation follows the formula `scale * sensor value + offset`.
28+
29+
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:
30+
31+
```
32+
SUBSYSTEMS=="usb", ACTION=="add", ATTRS{idVendor}=="0c45", ATTRS{idProduct}=="7401", MODE="666"
33+
```
34+
35+
After that re-plug the device and restart Home Assistant.

0 commit comments

Comments
 (0)