Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95414

Reading CPU and HDD temp will give 'unkown' error on 'native HASS'

$
0
0

@scdhome wrote:

Tested before the Hass in a container solution … but for different parts of hardware I have build the HASS native on the Raspberry PI.
I could read the CPU temperature in the first situation (container solution) but not anymore in the ‘native linux’ install.

I used the installation manual from this site:
a. https://www.home-assistant.io/docs/installation/raspberry-pi/
b. https://www.instructables.com/id/Setup-Home-Assistant-on-Raspberry-Pi/

And the result is very fine … the HASS software is up and running.
The first thing I always do is to make the small script to see how ‘hot’ the CPU will be.
I used the samll configuration script like:

CPU temperature

  • platform: command_line
    name: CPU Temperature
    command: “cat /sys/class/thermal/thermal_zone0/temp”
    unit_of_measurement: “°C”
    value_template: “{{ (value | multiply(0.001)) | round(1) }}”

But always what I try to fix … the end result is ‘unkown’ temperature in the webscreen of HASS.

Dit anyone see this also before ?

I think something it will be about user rights, hidden python script or what else …
I will check the log files … may be I will see more information why this script will not show the correct temperature …

Note: tested this in the CLI-Shell … everything works fine.

Posts: 9

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95414

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>