Skip to main content

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 BleakClient
from pytboss import BleConnection, PitBoss


async def state_callback(data):
    print(data)


async def main():
    async with BleakClient(device_address) as ble_client:
        grill = PitBoss(BleConnection(ble_client))
        # Subscribe to updates from the grill.
        await grill.subscribe_state(state_callback)
        await grill.start()
        while True:
            asyncio.sleep(0.1)


asyncio.run(main())

Project details


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.0.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

pytboss-2023.3.0-py3-none-any.whl (14.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page