-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
This wiki serves as a guide to installing the BeeBit software onto the raspberry pi.
- Burn an image of rasbian-stretch lite (2019-04-09) onto a fresh raspberry pi 3b+
- Enable SSH access and install GIT via the package manager:
sudo apt install git - Clone the git repository into the home directory
git clone git@github.com:winzlebee/beebit-iot.git - Enable the pi camera through
raspi-config
Basic installation on the device involves running an install script. This install script outputs the manufacturer UUID of the device as it has been assigned.
Installation requires a reliable internet connection. Otherwise the device will not be assigned a UUID!
- Run the depsPi target to download all the dependencies (including a pre-compiled version of OpenCV optimised for the ARM platform) and install them where they need to be.
make depsPi- Run the install script to probe the release server for a
uuidand install thebeebit daemonwhich will run in the background on boot.
sudo make installThe uuid returned by this script can be placed on the side of the device to indicate to the user which uuid points to this device.
There is currently no automatic updating mechanic, however this can be emulated by simply re-pulling the repository and running the sudo make update target, which has the same effect as the install target, albeit reuses the existing uuid for the device rather than assigning a brand new one.
Below is a list of common problems when installing the detector on the device and how they can be remedied.
| Problem | Possible Resolution |
|---|---|
| Error linking libraries | Downgrade the listdc++ and libavformat libraries to the vendor versions. |