Weii
Weii (pronounced "weigh") is a small script that connects to a Wii Balance Board, reads a weight measurement, and disconnects. Weii is the new, redesigned spiritual successor to gr8w8upd8m8.
Installation
To install using pipx (recommended) or pip, run:
pipx install weii
or
pip install weii
Usage
Weii currently is only tested on Linux. Before you use Weii, you need to pair your balance board via Bluetooth. You can do that by pressing the red button in the battery compartment and then going through the normal Bluetooth pairing process. I don't remember the pairing code, try 0000 or 1234, and please let me know which one is right.
To weigh yourself, run weii and follow the instructions.
You need to have paired your balance board beforehand, then press the button at the front of the board until the blue LED lights up solid, and step on.
Once the measurement is done, you can step off.
Weii can optionally use bluetoothctl to disconnect (and turn off) the balance board when the weighing is done, you can do that by passing the device's address to the -d argument:
weii --disconnect-when-done 11:22:33:44:55:66
You can run a command after weighing, like so:
weii --command "echo {weight}"
{weight} will be replaced with the measured weight.
You can also adjust the measurement to account for clothing, or to match some other scale:
weii --adjust=-2.3
Release files for weii 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| weii-0.1.1.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weii-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.2 kB
Release files / weii-0.1.1.tar.gz
| Download URL | weii-0.1.1.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59a2fe7ffdf71c6c2857ebb425c64c82e82db5649794b93480b021f2f71452e2
|
|
BLAKE2b-256 checksum How to use checksums |
59a2218d35026eda9a3919c46d7bbd33a320999b01a40496e22115750a880664
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / weii-0.1.1-py3-none-any.whl
| Download URL | weii-0.1.1-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d9136514ad7eaef7a424818c79c303ece7d71885bb93f8fc1bda0ac9999fc16
|
|
BLAKE2b-256 checksum How to use checksums |
641a508a773c66ea1695f9944bbaf7c3b853a8b81232c5418769829e45a83a49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|