hass-garage-door-remote
Based on https://github.com/andrewshilliday/garage-door-controller
Installation:
-
Create configuration in configuration.yaml (use commandforswitch.txt)
-
Input your user and host.
-
Copy remotegarage.py to remote garage door controller (remote pi) [adjust pins if necessary]
-
Copy RSA keys created using below to /config (they will probably default to /root/.ssh):
ssh-keygen -t rsa # ENTER to every field ssh-copy-id myname@somehost
-
Touch ssh_config in /config with this text:
/config/ssh_config should contain:
Host * StrictHostKeyChecking no
-
CHMOD for execution, Make sure to chmod 400 your RSA keys for instant ssh auth.
chmod 400 /config/ssh_config /config/id_rsa
-
Toggle switch in Hass