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())

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

Uploaded Source

Built Distribution

pytboss-2023.6.1-py3-none-any.whl (32.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytboss-2023.6.1.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pytboss-2023.6.1.tar.gz
Algorithm Hash digest
SHA256 1fa515fff292ffb1c36a22409df119d34ed046cbb24e937d20ff7fdb8a7af44e
MD5 16dec47f0826b29480146f0e499accd0
BLAKE2b-256 e0abc9e9f67595ccb10bf9e35209974e484d6149ce7f6f2b048c226dfb9342d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytboss-2023.6.1-py3-none-any.whl
  • Upload date:
  • Size: 32.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pytboss-2023.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 28a16b4177927b106b1a62a9585e8b996c778b6f15e29e093a518d72a179d6b4
MD5 0698c5688b331dc1865aca6cfa4271be
BLAKE2b-256 8b4e4adc0e92bb01ff37299bc4ac6abdaf394bae91ea83b190f91ab23d8ade3d

See more details on using hashes here.

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