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


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

Uploaded Source

Built Distribution

pytboss-2023.3.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pytboss-2023.3.1.tar.gz
Algorithm Hash digest
SHA256 91f1863a05aed04303b870ad9d2aa258c75c976366023b392ff0a32dc2961143
MD5 2ffbfb5448be7e87cb048019c766a316
BLAKE2b-256 f38a1d3d3cdbed14c62bf175d36c1fe9f4ab450aee93014e9e5769b5dbea35c0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pytboss-2023.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 30230137415b5b30d7a956febdc8304cac997bb857aa78c9ecdfc111c72edb17
MD5 b260d0b06f63335c54500442846f1751
BLAKE2b-256 2cd7d4407afb508849a19e9092704133c6552c1e470f661c6e034574860a2909

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