Python library for interacting with Pitboss grills and smokers.
Project description
pytboss
Python 3 library for interacting with Pitboss grills and smokers.
Note that this project has no official relationship with Pitboss or Danson's. Use at your own risk.
Usage
import asyncio
from bleak import BleakScanner
from pytboss import BleConnection, PitBoss
async def state_callback(data):
print(data)
async def main():
ble_device = await BleakScanner.find_device_by_address(device_address)
boss = PitBoss(BleConnection(ble_device))
# Subscribe to updates from the smoker.
await boss.subscribe_state(state_callback)
await boss.start()
while True:
asyncio.sleep(0.1)
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
pytboss-2023.3.2.tar.gz
(13.8 kB
view details)
Built Distribution
File details
Details for the file pytboss-2023.3.2.tar.gz
.
File metadata
- Download URL: pytboss-2023.3.2.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e4ff6cc3f551e4b41440ad826292b849b427ec0c2a09843931bcbea934791f |
|
MD5 | 3b24ba5321f0ac94b522deb09cbfa67c |
|
BLAKE2b-256 | c28b227548c52b5abd7a6c7d2ca3c9834beb9ec2c9f4281d804190e155c537cc |
File details
Details for the file pytboss-2023.3.2-py3-none-any.whl
.
File metadata
- Download URL: pytboss-2023.3.2-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3929566aa2417e3e82454139c1315b26092ffc06e376b06c3011f78a2b8c7fcd |
|
MD5 | cf4e25f128ac846188cb7d229613b0d8 |
|
BLAKE2b-256 | 36722516f091c7dd4ade548a18c347309890305e76d03ee3343cadeb840894cd |