In an attempt to integrate my switchbot hub ir commands into Home Assistant, I wanted to install the python-switchbot addon using:
pip install python-switchbot
This, as expected, did not work from HA terminal and ssh.
So I looked around for explanations of what to do but just confused myself.
I changed config of the Terminal and SSH addon to use a specific port and password, them attempted to ssh from my windows laptop to my raspberry pi HA system.
This asked for the “ha” user password. If I have set one up, it must have been a good 18 months ago and I cannot find a record so ssh connection fails at that point. I can access the raspberry pi console directly so I guess I have some issues:
-
Is there any way of finding my “ha” password?
-
If not, can I reset this? All example password resets I have seen online seem to be for UI users, not the base system user password.
-
As I do have access to the raspberry pi console, I am logged in as the “ha” user automatically there but pip install is not accepted. Not sure what I do to install python libraries.