TEMPer Sensor with Home Assistant Supervised

Hello,

I have installed Home Assistant in a raspbian as per the Home Assistant Supervised installation guidelines.

For some reason I cannot get the TEMPer sensor to get detected. I’ve followed the guidelines here:

But it doesn’t work.

When I do a lsusb it shows as:

Bus 001 Device 005: ID 0c45:7401 Microdia TEMPer Temperature Sensor

When I had the Home Assistant installed in the raspbian as a virtual env with python everything worked great.

The sensor works as I tested following the instructions at: https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-use-the-temper-usb-sensors

Here is some more info:

Core

Version
core-2021.2.1
Newest Version
core-2021.2.2

Supervisor

Version
supervisor-2021.02.6
Newest Version
supervisor-2021.02.6

You are running an unsupported installation. Learn more -> Don’t know why this happens as I followed the guide…

CHANGEOperating System

Raspbian GNU/Linux 10 (buster)

Docker version

20.10.3

From the ssh addon:

doing a lsusb I get:

Bus 001 device 004: ID 0c45:7401

which is the Temper USB Sensor…

My configuration.yaml has this;:

Temperature sensor

sensor:

  • platform: temper
    name: Medidor Temp USB
    offset: -10

My udev from the raspbian looks like this:

$ cat /etc/udev/rules.d/99-tempsensor.rules

SUBSYSTEMS==“usb”, ACTION==“add”, ATTRS{idVendor}==“0c45”, ATTRS{idProduct}==“7401”, MODE=“666”
SUBSYSTEMS==“usb”, ACTION==“add”, ATTRS{idVendor}==“0c45”, ATTRS{idProduct}==“7402”, MODE=“666”

If i do this on raspbian:

$ temper-poll

Found 1 devices
Device #0: 22.6°C 72.7°F

What could I be doing wrong?

regards,

PMB.

It has been a while since you posted, but I suspect that the problem is related to your setup of the file in /etc/udev/rules.d. I did this from within HA, and the entire content under /etc magically disappeared when I rebooted the Pi. I suspect you need to do the setup directly under Linux, not from within HA. To do this, you need to plug a screen, mouse and keyboard directly into the Pi. When you boot up and have a HA prompt on the screen, type “login”. You will get a Linux command line. Any changes you make under /etc, i.e. adding the rules file, will be preserved. It sucks (unless you know).

Nope. That didn’t work either. Sorry about the wrong direction. Maybe try this instead: TEMPer usb sensor not recognized, udev rules not getting applied