An async implementation of PyAcaia
Project description
pyacaia_async
Async implementation of pyacaia, based on asyncio
and bleak
Usage
import asyncio
from pyacaia_async import AcaiaScale
from pyacaia_async.helpers import find_acaia_devices
async def main()
addresses = await find_acaia_devices()
address = addresses[0]
scale = await AcaiaScale.create(mac=address, isPyxisStyle=False)
await scale.tare()
await scale.startStopTimer()
await scale.resetTimer()
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyacaia_async-0.0.3.tar.gz
(18.1 kB
view hashes)
Built Distribution
Close
Hashes for pyacaia_async-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50b28bece67efcd9b310a9b37cda4877a1d7036858785ec3c15be3542b31010f |
|
MD5 | 40d7b0426c27baf0721e07a79f7bd921 |
|
BLAKE2b-256 | 324f3b2bc4c1f7efb390a0c2fdd7dded1c767649ebeee4ea64a36c0c9d8694c9 |