@HansHassio wrote:
Would be great to measure the CPU temperature of my remote RPi’s within the LAN home network. As far as I know I need some code like this:
################################### # Remote CPU Temp ################################### sensor CPU-Temp: - platform: command_line name: "CPU-Temp" command: ssh root@192.168.2.108 ?????? unit_of_measurement: "°C" value_template: '{{ value | multiply(0.001) | round(2) }}' scan_interval: 120
So far I did not succeed finding the right code to replace the question marks. When connected to the remote RPi on 192.168.2.108 the over SSH code “/opt/vc/bin/vcgencmd measure_temp” shows “temp=43.5’C”. No idea how to convert this to useable code for HA so any advice is very welcome!
Posts: 2
Participants: 2