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 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)
    model = "PBV4PS2"  # Or your model. See below.
    boss = PitBoss(BleConnection(ble_device), model)
    # Subscribe to updates from the smoker.
    await boss.subscribe_state(state_callback)
    await boss.start()
    while True:
        asyncio.sleep(0.1)


asyncio.run(main())

Installation

Pip

To install pytboss, run this command in your terminal:

$ pip install pytboss

Source code

Pytboss is actively developed on Github, where the code is always available.

You can either clone the public repository:

$ git clone https://github.com/dknowles2/pytboss

Or download the latest tarball:

$ curl -OL https://github.com/dknowles2/pytboss/tarball/main

Once you have a copy of the source, you can embed it in your own Python package, or install it into your site-packages easily:

$ cd pytboss
$ python -m pip install .

Supported Models

The following models should be supported. Note however that only the PBV4PS2 model has been tested.

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-2025.6.0.tar.gz (47.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytboss-2025.6.0-py3-none-any.whl (50.0 kB view details)

Uploaded Python 3

File details

Details for the file pytboss-2025.6.0.tar.gz.

File metadata

  • Download URL: pytboss-2025.6.0.tar.gz
  • Upload date:
  • Size: 47.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pytboss-2025.6.0.tar.gz
Algorithm Hash digest
SHA256 b5054fb73e5f1c8a37f9d9b649c495857a7d9773ff0eb249cf806d407c4ef341
MD5 91b236dffe54461de971d9d42ac3893b
BLAKE2b-256 251f28212415601c6cd4cef4f126c32b838922b7be5523f18b12bd1d54cf7ccb

See more details on using hashes here.

File details

Details for the file pytboss-2025.6.0-py3-none-any.whl.

File metadata

  • Download URL: pytboss-2025.6.0-py3-none-any.whl
  • Upload date:
  • Size: 50.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for pytboss-2025.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1b2e15ba30cc7204b89d221b8d06d05a0a562426a89de64a84ada7655647ebe
MD5 57e955dc250ce1dc3142ab86316c0e5d
BLAKE2b-256 5ee18470aadf2d27b2ceb64b323ff3577b4742dcf9f103cbde3290312163b365

See more details on using hashes here.

Supported by

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