question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No CPU temperature for Intel Celeron DN2820

See original GitHub issue

The problem

I’m running on an Intel NUC DN2820FYKH which i believe uses the Bay Trail processor. The CPU temp is exposed in the system bios. There is no processor temperature reported via System Monitor integration. There is no folder called thermal_zoneX

What version of Home Assistant Core has the issue?

core-2021.12.9

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

systemmonitor

Link to integration documentation on our website

https://www.home-assistant.io/integrations/systemmonitor

Example YAML snippet

- platform: systemmonitor
    resources:
      - type: disk_use_percent
      - type: disk_use
      - type: disk_free
      - type: memory_use_percent
      - type: memory_free
      - type: processor_use
      - type: memory_use
      - type: swap_use
  - platform: version
    source: local
    name: HomeAssistant Version
  - platform: command_line
    name: "cpu_temperature"
    command: "cat /sys/class/thermal/thermal_zone2/temp"
    unit_of_measurement: "°C"
    value_template: '{{ value | multiply(0.001) | round(2) }}'  - platform: systemmonitor
    resources:
      - type: disk_use_percent
      - type: disk_use
      - type: disk_free
      - type: memory_use_percent
      - type: memory_free
      - type: processor_use
      - type: memory_use
      - type: swap_use
  - platform: version
    source: local
    name: HomeAssistant Version
  - platform: command_line
    name: "cpu_temperature"
    command: "cat /sys/class/thermal/thermal_zone2/temp"
    unit_of_measurement: "°C"
    value_template: '{{ value | multiply(0.001) | round(2) }}'

Anything in the logs that might be useful for us?

cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:18:48 ERROR (SyncWorker_4) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:19:48 ERROR (SyncWorker_4) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:20:48 ERROR (SyncWorker_3) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:21:48 ERROR (SyncWorker_5) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:22:48 ERROR (SyncWorker_2) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:23:48 ERROR (SyncWorker_2) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:24:48 ERROR (SyncWorker_3) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:25:48 ERROR (SyncWorker_0) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:26:48 ERROR (SyncWorker_5) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:27:48 ERROR (SyncWorker_2) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:28:48 ERROR (SyncWorker_4) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:29:48 ERROR (SyncWorker_2) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp
cat: can't open '/sys/class/thermal/thermal_zone2/temp': No such file or directory
2022-01-19 18:30:48 ERROR (SyncWorker_4) [homeassistant.components.command_line] Command failed: cat /sys/class/thermal/thermal_zone2/temp

Additional information

This issue was previously raised by another user here: https://github.com/home-assistant/core/issues/57048

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
Scoff123commented, May 10, 2022

This is still an issue, running the latest: Home Assistant Core 2022.5.3 Home Assistant Supervisor 2022.05.1 Home Assistant OS 7.6 Kernel version 5.10.108

HWMon folder is still empty, and there are no thermal zone sub directories under the thermal directory.

2reactions
bearhntrcommented, Aug 23, 2022

I have done about a dozen installs of the Generic x86-x64 HASS OS installation 8.4 to an HP ThinClient t620 and an Intel NUC (as well as other installed ‘Supervised on Debian 11’, 'VMWare" and ‘Proxmox attempted’). It has an AMD GX-415GA 1.5 GHz quad-core CPU. When I initially got started with HA - I built out the HA “Supervised” version on a DEBIAN 11 (HA 2022.7.6) load. It seemed to work fine - Wi-Fi was detected, and it appeared that everything else did as well. I then came to realize that at some point DEBIAN 11 would be to old, and opted to put the HASS OS installation on here. Now I cannot seem to get a CPU Temp reading using the same lines as I was using for DEBIAN (in fact the HWMON folders appear to be empty on HASS OS).

The installations that I am using now are HASS OS using the ‘Generic x86-x64 install’ from here: Generic x86-64 - Home Assistant 1

When I was using Debian - I used these: Installing Home Assistant Supervised on Debian 11 1

Is there someplace in HASS OS that I can see if ‘this value’ is actually being pulled from the CPU (in the OS)? I would not think the AMD CPU would be that different from an INTEL CPU. I have another one of these HP t620 that is running pfSense (FreeBSD) and it shows me the CPU temp and other things.

I have performed a test - I made a bootable Alpine 3.15.0 (from their Standard .ISO) to a USB device and I booted with it. I then followed the path listed in the CPU_TEMP (Command Line) page Command line Sensor - Home Assistant 1

– this path does not exist: /sys/class/thermal/thermal_zone0/temp

but I tracked it down to the following path and file: /sys/class/hwmon/hwmon1/temp1_input

I then shut down, and removed the Alpine Linux 3.15.0 LIVE USB and booted back to the HASS OS 8.4 installation - went looking for the same data…it is not there. Why? Why would it be different?

Please assist in getting this working - being able to monitor the TEMP of a small device which is basically headless and out-of-site - is CRITICAL.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to read the CPU temperature on an Intel-nuc ...
I am running HassOS in a VirtualBox VM on an Intel NUC running ... Thanks but I've tried Glances - there's no CPU...
Read more >
Troubleshooting and Solutions for Processor High ... - Intel
This is a general troubleshooting guide for processor high temperature and blue screen issues especially in i-cafe (Internet café) environment.
Read more >
High Operating Temperature of Core i7-2600k?
The CPU temp indicated by the IDU are 26-29 with no load. 32-38 at a 30% load and 77-79 at a 50% load....
Read more >
Information about Temperature for Intel® Processors
Intel technologies may require enabled hardware, software or service activation. // No product or component can be absolutely secure.
Read more >
Overheating Symptoms and Troubleshooting for Intel® Boxed...
Ensure that the CPU thermal solution being used is compatible and correct for the specific CPU. If you're using a non -Intel cooling...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found