A basic client for the Bestand Posture Trainer & Corrector (Amazon link).
To install or update from a release:
pip3 install https://github.com/jpleasu/openbestand/releases/download/openbestand-0.2.0/openbestand-0.2.0.tar.gzopenbestand is built with poetry. In order to
work with the source first install poetry:
pip3 install poetryTo build and install with system pip:
poetry build -f sdist
pip install dist/openbestand-*.tar.gzTo run directly from a virtual env without installing to system, first
poetry installthen, e.g.
poetry run openbestand_guiAll scripts take the same command line arguments which are ultimately passed to bleak.
Turn on the device to to start pairing, it should blink blue.
Run openbestand_cli and type h<enter>
Press s<enter> to start printing notifications. Notifications will be
asynchronously print to the screen.
Press q<enter> to quit.
A simple loop to scan for and show the RSSI for (the first) Bestand BLE device.
It attempts to report every --timeout seconds (default of 1). -- means the
device wasn't found.
Note: The device has a really small operating distance! Moving it into position (stuck to your back) can kill the signal entirely.
You might find that an external bluetooth dongle works better. Use --adapter
option in each of the tools:
e.g.
./openbestand_rssi --adapter hci1
A horrible Tkinter app to track your level.
Press h to dump keybindings to stdout. Type q to quit.