Gr8W8Upd8M8 is a script to automatically read your weight from a Wii Balance Board. ⛺
This script is based on wiiboard-simple, with some dependencies (like pygame) removed. I'm pretty sure it only works on Linux.
gr8w8upd8m8, you need: * Linux. * The
bluez-utilspackage (you might need to install also
python-bluez). * Bluetooth.
Thanks to Ryan Myers for the following:
bluez bluez-utils python-bluez, and run the included
xwiibind.sh. Follow the prompts, and your balance board should be paired by the end of this. Notice that BlueZ 4.99 is required, BlueZ 5+ changes the DBus API in incompatible ways.
You can run it with:
It will prompt you to put the board in sync mode and it will search for and connect to it.
If you already know the address, you can just specify it:
That will skip the discovery process, and connect directly.
bluez-utilsto disconnect the board at the end, which causes the board to shut off. Pairing it with the OS will allow you to use the front button to reconnect to it and run the script.
Calculating the final weight is done by calculating the mode of all the event data, rounded to one decimal digit.
Feel free to use processor.weight to do whatever you want with the calculated weight (I send it to a server for further pointless processing).
This software is made available under the Lesser GPL license.
This project is a mix of various scripts and samples. Thanks go to: