BeardedTinker / Home-Assistant_Config

BeardedTinker Home Assistant configuration. Feel free to browse, edit, tweak, improve, criticize and suggest.
MIT License
443 stars 50 forks source link

SHH Github question #117

Open FlokkieB opened 1 week ago

FlokkieB commented 1 week ago

Hi, I followed your blog (thx for that) on how to use Github as backup for the HA configuration. Al is working, till I want t setup the automation. Its stops then I can commit the configuration with the ./ha_gitpush.sh instruction so that file is OK too. But when ik want to setup the automation and test that I get the following message:

stderr: "Host key verification failed.\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists." returncode: 128

I have tried to regenerate the key, no result, to generate it with Putty, no result, I made a shell command to test easier:


shell_command: backup: bash /config/ha_gitpush.sh

no result

put the automation as yours:

Put this in automations.yaml

Again no result

Pls could you advices what to do?

BTW is it possible to do this with a Git Workflow?

Thanks

welcome[bot] commented 1 week ago

Thanks for opening your first issue here! You can use issues to ask for clarification, make a suggestion or just leave a comment.

FlokkieB commented 1 week ago

excuse for the design of the text