home-assistant.io/source/_components/sensor.temper.markdown

1.4 KiB

layout title description date sidebar comments sharing footer ha_category ha_iot_class ha_release
page TEMPer Sensor Instructions how to integrate TEMPer sensors into Home Assistant. 2015-08-06 19:00 true false true true Sensor Local Push pre 0.7

This temper sensor platform allows you to get the current temperature from a TEMPer device.

To use your TEMPer sensor in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: temper

{% configuration %} offset: description: The offset to fix reported vales. required: false type: int default: o scale: description: The scale for the sensor. required: false type: int default: 1 name: description: The name to use when displaying this switch. required: false type: string default: myStrom Switch {% endconfiguration %}

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.