Disclaimer, this project is a wrapper around the linak controller from this repo
Do:
- Activate the venv set up in this repo
source venv/bin/activate
- Connect to your desk via bluetooth ( easiest way is to use Desk Control app)
- Find the UUID address of your bluetooth desk.
- MAC:
- Open or download bluetility
- Disconnect Desk if you are already connected
- Set your desk to pairing mode (usually by holding down the bluetooth button) and pair your desk with your computer using Bluetility by clicking on it in the device list.
- Copy the UUID of the desk by right clicking on the device in Bluetility and selecting "Copy device identifier".
- Insert the UUID in the config.yaml file, as described in the configuration section on the public linak-controller repo. Or use the --mac-address flag.
- IMPORTANT. Close the Bluetility app, and disconnect other devices that may interfere with the connection to the desk. It is quite fragile in this manner.
- Run linak-controller.
Connection failed:
- Try ensuring that the desk is paired but not connected before using the script.
- Try increasing the scan-timeout and connection-timeout.
- Close bluetility, or other bluetooth development software.
- Close the --server, if you have it running in the background and you are not using the --forward flag
[Errno 48] error while attempting to bind on address
lsof -i :9123
, replace 9123 with the port you are using. Find PID of processkill -9 <PID>