weii


Nameweii JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://gitlab.com/stavros/weii
SummaryA utility to measure weight using the Wii Balance Board.
upload_time2023-08-15 21:09:51
maintainer
docs_urlNone
authorStavros Korokithakis
requires_python>=3.8,<4
licenseAGPL-3.0-or-later
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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](https://github.com/skorokithakis/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
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/stavros/weii",
    "name": "weii",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4",
    "maintainer_email": "",
    "keywords": "",
    "author": "Stavros Korokithakis",
    "author_email": "hi@stavros.io",
    "download_url": "https://files.pythonhosted.org/packages/59/a2/218d35026eda9a3919c46d7bbd33a320999b01a40496e22115750a880664/weii-0.1.1.tar.gz",
    "platform": null,
    "description": "Weii\n====\n\nWeii (pronounced \"weigh\") is a small script that connects to a Wii Balance Board, reads a weight measurement, and disconnects.\nWeii is the new, redesigned spiritual successor to [gr8w8upd8m8](https://github.com/skorokithakis/gr8w8upd8m8).\n\nInstallation\n------------\n\nTo install using `pipx` (recommended) or `pip`, run:\n\n```\npipx install weii\n```\n\nor\n\n```\npip install weii\n```\n\n\nUsage\n-----\n\nWeii currently is only tested on Linux.\nBefore you use Weii, you need to pair your balance board via Bluetooth.\nYou can do that by pressing the red button in the battery compartment and then going through the normal Bluetooth pairing process.\nI don't remember the pairing code, try 0000 or 1234, and please let me know which one is right.\n\nTo weigh yourself, run `weii` and follow the instructions.\nYou 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.\nOnce the measurement is done, you can step off.\n\nWeii 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:\n\n```\nweii --disconnect-when-done 11:22:33:44:55:66\n```\n\nYou can run a command after weighing, like so:\n\n```\nweii --command \"echo {weight}\"\n```\n\n`{weight}` will be replaced with the measured weight.\n\nYou can also adjust the measurement to account for clothing, or to match some other scale:\n\n```\nweii --adjust=-2.3\n```\n\n",
    "bugtrack_url": null,
    "license": "AGPL-3.0-or-later",
    "summary": "A utility to measure weight using the Wii Balance Board.",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://gitlab.com/stavros/weii",
        "Repository": "https://gitlab.com/stavros/weii"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "641a508a773c66ea1695f9944bbaf7c3b853a8b81232c5418769829e45a83a49",
                "md5": "eec347025fab5eba902a74c0178878dd",
                "sha256": "9d9136514ad7eaef7a424818c79c303ece7d71885bb93f8fc1bda0ac9999fc16"
            },
            "downloads": -1,
            "filename": "weii-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eec347025fab5eba902a74c0178878dd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4",
            "size": 15969,
            "upload_time": "2023-08-15T21:09:49",
            "upload_time_iso_8601": "2023-08-15T21:09:49.722132Z",
            "url": "https://files.pythonhosted.org/packages/64/1a/508a773c66ea1695f9944bbaf7c3b853a8b81232c5418769829e45a83a49/weii-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "59a2218d35026eda9a3919c46d7bbd33a320999b01a40496e22115750a880664",
                "md5": "b1541db738e0ef14296b07880be6ff4d",
                "sha256": "59a2fe7ffdf71c6c2857ebb425c64c82e82db5649794b93480b021f2f71452e2"
            },
            "downloads": -1,
            "filename": "weii-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b1541db738e0ef14296b07880be6ff4d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4",
            "size": 15198,
            "upload_time": "2023-08-15T21:09:51",
            "upload_time_iso_8601": "2023-08-15T21:09:51.716343Z",
            "url": "https://files.pythonhosted.org/packages/59/a2/218d35026eda9a3919c46d7bbd33a320999b01a40496e22115750a880664/weii-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-15 21:09:51",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "stavros",
    "gitlab_project": "weii",
    "lcname": "weii"
}
        
Elapsed time: 0.10493s