Install RPi-SmartGadget

Raspberry Pi OS

This section describe how to set up a Raspberry Pi.


Instructions for using ssh to remotely access the terminal of the Raspberry Pi can be found here.


The following command is optional but recommended. It will update the installed packages on the Raspberry Pi.

sudo apt update && sudo apt upgrade

Make sure that you have git installed and then clone the repository

sudo apt install git
git clone

The following will install the RPi-SmartGadget package in a virtual environment in the /home/pi/shtenv directory on the Raspberry Pi (the shtenv directory will be automatically created)

bash rpi-smartgadget/

Windows, Linux or macOS

To install RPi-SmartGadget on a computer that is not a Raspberry Pi run

pip install

Alternatively, using the MSL Package Manager run

msl install rpi-smartgadget


Tested with a Raspberry Pi 3 Model B+ and a Raspberry Pi 4 Model B running either Raspbian Stretch or Buster.


Although RPi-SmartGadget has been tested with a Raspberry Pi to establish a Bluetooth connection with a Smart Gadget, any Linux-based operating system that bluepy supports could be used.