i want to get the temperature from another pi. I found some information and a thread from 2017 https://community.home-assistant.io/t/read-data-from-another-pi/30655/2
I have installed the SSH Server addon and configured the ssh-key.
In the configuration i wrote
sensor pi_hole: - platform: command_line name: Pi-Hole Temperatur command: "ssh [email protected] echo $((`cat /sys/class/thermal/thermal_zone0/temp|cut -c1-2`)).$((`cat /sys/class/thermal/thermal_zone0/temp|cut -c3-4`))" unit_of_measurement: "°C"
But the temperature would not show.
If i type it in the terminal window they show me the temperature without asking the password.
Can anyone help me?