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.
- AustinXL Wi-Fi Upgrade
- LG0800BL
- LG1000BL
- LG1200BL
- LG1200FL
- LG1200FP
- LG300BL
- LG800FL
- LG800FP
- LGV4BL
- Lexington Wi-Fi Upgrade
- PB0500SP
- PB0820SP/SPW
- PB1000NC1
- PB1000PL
- PB1000R1
- PB1000R2
- PB1000S1
- PB1000SC1
- PB1000SC2
- PB1000SP
- PB1000T1
- PB1000T2
- PB1000T3
- PB1000T4
- PB1000XL/PB1000SC3
- PB1000XLW1 (Austin XL)
- PB1100PS1
- PB1100PSC1
- PB1100PSC2
- PB1100PSC3
- PB1100SP/SPW
- PB1150 PS3
- PB1150G/GW
- PB1150PS2
- PB1150PS3
- PB1230
- PB1230CS1
- PB1230G/GW
- PB1230SP/SPW
- PB1250CS
- PB1285KC
- PB1450CS
- PB1600 PSE
- PB1600CS
- PB1600CST
- PB1600PS1
- PB1600PS2
- PB1600PS3
- PB1600PS3_
- PB1600PSE
- PB1600SPW
- PB2180LK
- PB340
- PB340TGW1 (Tailgator)
- PB440D
- PB440D2
- PB440D3/PB456D
- PB440TG1
- PB440TGNC1
- PB440TGR1
- PB550G
- PB700D
- PB700FB
- PB700FBM2
- PB700FBW2 (Classic)
- PB700NC1
- PB700R1
- PB700R2
- PB700S
- PB700S1
- PB700S2
- PB700SC
- PB700T1
- PB820CS1
- PB820D
- PB820D2
- PB820D3
- PB820D4
- PB820FB
- PB820FBC
- PB820PS1
- PB820S
- PB820SC
- PB820T1
- PB820XL/PB820ME
- PB850CS1
- PB850G/GW
- PB850PS2
- PBV4PS2
- PBV5CS
- PBV5P2
- PBV5PL
- PBV6 PSE
- PBV6PSE
- PBV7PW1
- PBX - test 1
- Savannah Wi-Fi Upgrade
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytboss-2024.10.1.tar.gz
.
File metadata
- Download URL: pytboss-2024.10.1.tar.gz
- Upload date:
- Size: 41.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f084ce4b8c7a1e5027fdc99a3387b5a60d35188e0bb96f35fe1c92b7cd5b7cf5 |
|
MD5 | 1bf84ac6a16b5010e0efa0316923d238 |
|
BLAKE2b-256 | 2f5fb75236739890f4d655201c18fea8a0f479806a166e485b79f9898d6cd2d2 |
File details
Details for the file pytboss-2024.10.1-py3-none-any.whl
.
File metadata
- Download URL: pytboss-2024.10.1-py3-none-any.whl
- Upload date:
- Size: 43.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98c6ef3b8ff1fb46c00866828e1a467bd12f23d8078cde85896d7805958ae233 |
|
MD5 | f38ee7bcab5c9f8ed0371c99ee5fcec4 |
|
BLAKE2b-256 | 67fc0768f059504c6714be3142de9255aac618316674b090ea53f07c843fc4af |