tom_l
May 25, 2020, 4:12pm
18
Open Hardware Monitor on the Windows HostPC:
I will take a look at that.
tom_l
May 25, 2020, 4:19pm
20
I just did a sneaky edit ofmy post because I wasn’t sure Glances could run on Windows. It can . Though OHW would probably be easier.
1 Like
I use Open Hardware Monitor to monitor my windows server disks, temperatures, fan speed, CPU, memory etc in Home Assistant and it works really well. I used to use the Pulseway service but never use it at all anymore.
1 Like
Open Hardare Monitor works great! Thanks!
Thanks but I’ve tried Glances - there’s no CPU temperature listed. Open Hardware Monitor is not applicable to my use case.
moto2000
(David)
August 18, 2020, 4:43am
24
Is there an easy or straightforward way to get OpenHardwareMonitor to display it’s sensor temperatures in Celsius, despite my HA global settings being Fahrenheit? Thanks in advance!
edersong
(Ederson Santos)
June 3, 2021, 7:23am
25
It stops to work on the HA core-2021.6.0 version.
Do you know how to solve it?
It’s running fine here.
Upgrade the custom component version: GitHub - custom-components/sensor.ssh: SSH Generic Sensor
1 Like
Did you resolve this? I would also like to get C.
denver
September 6, 2021, 2:42pm
28
Wondered if this was ever solved. My thermal directory on my intel nuc is:
tom_l
September 6, 2021, 2:58pm
29
Yes, in the first and second reply.
What do you get at the command line when you enter:
cat /sys/class/thermal/thermal_zone2/type
denver
September 6, 2021, 4:45pm
30
This is from the ssh add-on in HA
If I
cd /sys/class/thermal/
ls -all
I get the list in the last photo shot
tonioa
(Anthony Séjourné)
September 25, 2021, 10:24am
31
Same here with Hassos installed on NUC is not possible to have the value for Temperature, without HAssos working fine
viciovb
(Vincenzo)
January 17, 2022, 1:52pm
32
How can you set the refresh interval?
Scoff
(Scott)
January 20, 2022, 10:24am
33
I’ve come across this same issue on my HA OS install on my genuine Intel NUC DN2820FYKH which has a Celeron ‘Bay Trail’ processor. There are no ‘thermal_zone’ directories under ‘thermal’
I’ve raised this here, which is hopefully the correct place:
opened 07:13PM - 19 Jan 22 UTC
integration: systemmonitor
### 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
```yaml
- 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?
```txt
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
Radu
(Radu Ursache)
July 17, 2022, 12:00pm
34
thank you, had the same setup
mgraeuler
(mgraeuler)
June 25, 2023, 12:30pm
35
Hey everybody!
Thank you for all helpful contributions. This helped a lot in getting things to work on my new machine.
One addition:
While the code snippets supplied above work on 2023.6, with 2023.8 there will be a change to how the command line stuff is treated. See below for an example that should work beyond 2023.7.
#CPU Temperature
command_line:
- sensor:
name: CPU Temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
scan_interval: 15
unit_of_measurement: "°C"
#unit_of_measurement: "°F"
value_template: '{{ value | multiply(0.001) | round(1) }}'
#value_template: " {{ (( value | multiply(0.0018)) + 32 ) | round (1) }}"
3 Likes
kshunterco
(Kendall Hunter)
December 2, 2023, 7:34pm
36
I know your post is quite old (>3yrs) so I apologize; I’ve got HAos running in a VM on a NUC now too, 40 months later, and like this setup but for the life of me, what HACS / Integration / Addon / ??? did you add in order to have ‘platform: ssh’??? Maybe this used to exist and is now gone, I have no idea.
Edit : never mind, I found it. Had to edit it after install according to an open issue, but it works.
RhysMcW
(Rhys McWilliams)
February 28, 2024, 1:43pm
37
finally got around to fixing the CPU temp sensor and came across this, thank you, I’m running ver after 2023.8 so had lost my sensor…
just something for anyone else that comes across this post, the solution shown by @mgraeuler may need a minor change depending on your setup and NUC for the command.
if I use /sys/class/thermal/thermal_zone0/temp I get a constant -263.2°C, which would be quite an achievement…
to find your thermal_zoneX relevant file connect to your HA command line and
cat /sys/class/thermal/thermal_zone0/temp
acpitz
cat /sys/class/thermal/thermal_zone1/temp
x86_pkg_temp
etc
and find the one that returns x86_pkg_temp - that is then your CPU temp thermal_zone file (mine is thermal_zone1)