I have a second RPI and i would like to be able to turn the HDMI port on/off from HA server RPI.
I’ve got the script to do it local but how do i run it from HA when its not the same RPI?
the script…
I have a second RPI and i would like to be able to turn the HDMI port on/off from HA server RPI.
I’ve got the script to do it local but how do i run it from HA when its not the same RPI?
the script…
Use a shell script and just pass the parameters through an SSH command.
thanks my command line is
ssh [email protected] ‘/home/pi/rpi-hdmi.sh on’
how do i enter the password in the line?
You don’t. You should use ssh keys
ok. how do i create that for the raspberry?
I really hate feeding easy answers that are readily found in official documentation.
https://www.raspberrypi.org/documentation/remote-access/ssh/passwordless.md
Then dont… But thanks anyway!
Hi Brian, I am working on exactly the same problem. Were you successful?