Last active
October 16, 2022 14:59
-
-
Save mutsune/bc9244ee163a5f2a699280ea40527b85 to your computer and use it in GitHub Desktop.
Setup SwitchBot python-host (https://github.com/OpenWonderLabs/python-host switchbot_py3.py) on Docker image python:3.9-bullseye
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
apt update | |
apt install python3-bluez -y | |
git clone https://github.com/OpenWonderLabs/python-host.git | |
cd python-host | |
pip3 install setuptools==58 | |
pip3 install pybluez | |
apt install pkg-config libboost-python-dev libboost-thread-dev libbluetooth-dev libglib2.0-dev python-dev python3-dev -y | |
pip3 install gattlib | |
# 3.10> is not curretly supported https://github.com/oscaracena/pygattlib/issues/30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment