Skip to main content

A bump controller emulator on Raspberry Pi Zero W.

Project description

bumpemu

This is a bump controller emulator for CellPro PowerLab 6 and 8 chargers. It allows you to use the CCS mobile app to control your charger over bluetooth low energy (BLE).

To interface to the PowerLab with BLE, you need two pieces of hardware:

FUIM3 USB Adapter

Raspberry Pi Zero W

If you've ever hooked up your PowerLab to your PC and monitored charging, you already have the FUIM3.

Pi Zero W Setup

This controller emulator will run on the Pi Zero W. Follow the instructions for installing the Pi with the latest version of Raspbian.

Once you have the Pi up and running, make sure everything is up to date:

sudo apt-get update
sudo apt-get upgrade

Then install the required libraries:

sudo apt-get install -y libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev libgirepository1.0-dev libcairo2-dev

The Pi will come with bluez already installed, but it will probably be an older version. Version 5.45 has proven to work well so you will need to install it. Download it from here. Then follow these instructions to install it. Make sure to do the step where you enable the experimental features.

Finally, bumpemu can be installed using pip:

sudo pip3 install bumpemu

Then you can run bumpemu as follows:

/usr/loca/bin/bumpemu-controller

You can view various configuration options with -h:

/usr/loca/bin/bumpemu-controller -h

A systemd service is in the repo if you wish to have bumpemu run at boot.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bumpemu-0.0.6.tar.gz (32.0 kB view hashes)

Uploaded Source

Built Distribution

bumpemu-0.0.6-py3-none-any.whl (49.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page