Last active
April 13, 2023 23:36
-
-
Save xiconfjs/714bcd0cdc7c484ac38f56522a8ff28d to your computer and use it in GitHub Desktop.
Fix HomeAssistant AppDaemon bug in v0.12.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Related to: https://github.com/AppDaemon/appdaemon/issues/1747#issuecomment-1507727218 | |
login to your home assistant vm | |
$> ssh -p22222 root@<IP> | |
After login grep the id of the appdaemon docker instance | |
$> docker ps | grep appdaemon | awk '{ print $1}' | |
Use the id to start a shell into this appdaemon docker instance | |
$> docker exec -ti <docker-id> bash | |
Inside the docker instance find the relevant file | |
$> find / -iname "hassplugin.py" | |
Edit the file with vi as shown here (https://github.com/AppDaemon/appdaemon/pull/1750/commits/f9f5b9295ecbbbfe60e12c258280b4e5ecb1dc32) | |
After saving the find the appdaemon process id and kill it | |
$> kill $(ps aux | grep /usr/bin/appdaemon | grep -v grep | awk '{ print $1 }') | |
Now the fixed version of appdaemon should be active and you can leave the docker instance via Ctrl-D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment