From 986b854a3cbb7c36f55d089cc38a629297bd2230 Mon Sep 17 00:00:00 2001 From: Heiko Rothe Date: Tue, 16 Aug 2016 23:34:03 +0200 Subject: [PATCH] Updated TEMPer documentation with more info --- source/_components/sensor.temper.markdown | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/_components/sensor.temper.markdown b/source/_components/sensor.temper.markdown index d204cf7fd4a5..2c03ee621029 100644 --- a/source/_components/sensor.temper.markdown +++ b/source/_components/sensor.temper.markdown @@ -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.