Raspberry Pi OS¶
This section describe how to set up a Raspberry Pi.
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 https://github.com/MSLNZ/rpi-smartgadget.git
The following will install the RPi-SmartGadget package in a virtual environment
/home/pi/shtenv directory on the Raspberry Pi (the
will be automatically created)
Windows, Linux or macOS¶
To install RPi-SmartGadget on a computer that is not a Raspberry Pi run
pip install https://github.com/MSLNZ/rpi-smartgadget/archive/master.tar.gz
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.