Skip to main content

python-thermoworks-smoke

Pull data for your thermoworks smoke thermometer (https://www.thermoworks.com/Smoke). This requires a smoke wifi gateway (https://www.thermoworks.com/Smoke-Gateway) with an internet connection.

You will need to have previously registered your smoke to your account via the mobile app. You will provide the email and password you used to this application to connect and pull your data.

Uses Pyrebase4 (https://github.com/nhorvath/Pyrebase4) for interacting with firebase where thermoworks puts the data.

Installation

pip install thermoworks_smoke

API

thermoworks_smoke.initialize_app(email, password, init=False, excluded_serials=[])

  • email: the email registered in the thermoworks app
  • password: the password registered in the thermoworks app
  • init: (optional) set true to preload data for all devices
  • excluded_serials: (optional) a list of device serial numbers to ignore

The Data Manager returned by initialize_app

serials() - list

  • Get all device serials registered to this user.

data(serial) - dict

  • Get data for the specified serial number. Updates will be performed automatically and cached.

devices() - list

  • Get the list of all devices registred to this user.

device(serial) - dict

  • Get the device information for the specified serial.

name(serial) - string

  • Get the device name for the specified serial.

units(serial, probe=PROBE_1) - string

  • Get the unit for the specified serial and probe.
    • You can use from thermoworks_smoke import TEMP_FAHRENHEIT, TEMP_CELSIUS to compare to these.
    • You can use from thermoworks_smoke import PROBE_1, PROBE_2 to get the constants for each probe name.

update(serial) - void

  • Force update from server (do not call this too frequently). Calling this is unnecessary as calls to data() will automatically update as needed.

Usage Example

import thermoworks_smoke

# init
smoke = thermoworks_smoke.initialize_app(email, password)

# get list of registered devices
serials = smoke.serials()

# print data for each serial
for serial in serials:
    values = smoke.data(serial)
    print(serial)
    print(values)

Metadata

Release files for thermoworks-smoke 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for thermoworks-smoke 0.1.8
File Size Uploaded
thermoworks_smoke-0.1.8.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for thermoworks-smoke 0.1.8
File Interpreter ABI Platform
thermoworks_smoke-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 22.6 kB

Release files / thermoworks_smoke-0.1.8.tar.gz

Download URL thermoworks_smoke-0.1.8.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2c9526dc7038004f70001f7b4c0eb3f74d7621ca9b10b4b6d916a0cb8a437e0a
BLAKE2b-256 checksum
How to use checksums
7d60e2f3b71020eada429acbd7a0de779a916e9eb5ec43f3f319f53cb3c14545
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

Release files / thermoworks_smoke-0.1.8-py3-none-any.whl

Download URL thermoworks_smoke-0.1.8-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0beeb2dd9b3703b46890e9c94bd3f42a2fdcc450dfe42dfadef40e81f1402c86
BLAKE2b-256 checksum
How to use checksums
7c05e8739be5976a6ae6374ec35442e8ecdb1c15c37f0ff9199c2b15368f7710
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page