Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pairing is a manual process #8

Open
marcschumacher opened this issue Apr 11, 2021 · 1 comment
Open

Pairing is a manual process #8

marcschumacher opened this issue Apr 11, 2021 · 1 comment

Comments

@marcschumacher
Copy link
Contributor

As you already mentioned yourself, the pairing process needs to be performed manually. It would be cool to have it automated.
To let other users know how to do the pairing with using the Docker components (Supervisor), do the following:

  1. Install the "SSH & Web Terminal" component using the Supervisor frontend (Supervisor/Add-on Store, then search for it)
  2. Configure the add-on so that you can log in
  3. Log in via SSH or Home Assistant frontend
  4. Execute the following command to log in to the homeassistant image: docker exec -it homeassistant /bin/bash
  5. Now you can pair your device(s) as described here. Note that you need to either cd into the site-packages folder and then run pyhton pybecker... or you use the absolute filename, in my case python /usr/local/lib/python3.8/site-packages/pybecker.
  6. When all the configuration is done, you should configure your configuration to be stored in the /config folder instead of the current location in the site-packages folder to be able to upgrade Supervisor without loosing your configuration. I described this in issue Configuration lost after upgrade #7

I hope this descriptions helps someone, cause it took me some time to find this out 😀.

@markbergsma
Copy link
Contributor

You can also do pairing using the becker.pair service call in Home Assistant, e.g. manually from the developer tools. That's likely easier for most people compared to running from the command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants