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.2.tar.gz
(18.0 kB
view hashes)
Built Distribution
Close
Hashes for pyacaia_async-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08353f5936843366a0591260842b451ef9430f17e4e4a2a93aa584efdf10f8d2 |
|
MD5 | 69e34389f42afb92777a4d29f36f064a |
|
BLAKE2b-256 | cb72b6e6359bb0121156f4bbd40eb36a12f7e21e1f23b03d09995de1222e3b2f |