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

Uploaded Source

Built Distribution

pytboss-2023.3.2-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

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

Hashes for pytboss-2023.3.2.tar.gz
Algorithm Hash digest
SHA256 73e4ff6cc3f551e4b41440ad826292b849b427ec0c2a09843931bcbea934791f
MD5 3b24ba5321f0ac94b522deb09cbfa67c
BLAKE2b-256 c28b227548c52b5abd7a6c7d2ca3c9834beb9ec2c9f4281d804190e155c537cc

See more details on using hashes here.

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

Hashes for pytboss-2023.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3929566aa2417e3e82454139c1315b26092ffc06e376b06c3011f78a2b8c7fcd
MD5 cf4e25f128ac846188cb7d229613b0d8
BLAKE2b-256 36722516f091c7dd4ade548a18c347309890305e76d03ee3343cadeb840894cd

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