I am using this sensor for CPU Temp in HASS.io setup, it works flawless. However I Gould like it to state the temperature in rounded number instead of .xyz. How do I do that?
- platform: command_line
name: CPU Temp
command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C"
value_template: '{{ value | multiply(0.001) }}'
Anyone know if you can pull the cpu temp running HassIO on Proxmox?
If not, maybe someone could help me pull it from the host via ssh or something? I’m not a coder and don’t really know my way around the Proxmox command line very well.
Running the following command in the host shell gives me a result of 62000:
That’s pretty interesting. I currently don’t have InfluxDB installed, but was considering it for other purposes, so I may hold off until I have that in place.
Based on the following, I’m not sure it will provide CPU Temp, however:
Not all platforms are able to provide all metrics. For instance cpu_temp is requires installing and configuring lmsensors in Ubuntu, and may not be available at all in other platforms.