Skip to main content

python-smarttub

This package provides an API for querying and controlling hot tubs using the SmartTub system.

Installation

pip3 install python-smarttub

CLI

python3 -m smarttub --help
python3 -m smarttub -u SMARTTUB_EMAIL -p SMARTTUB_PASSWORD info --status

API

from smarttub import SmartTub

async with aiohttp.ClientSession() as session:
  st = SmartTub(session)
  await st.login(username, password)
  account = await st.get_account()
  spas = await account.get_spas()
  for spa in spas:
    spa.get_status()
    spa.get_pumps()
    spa.get_lights()
    ...
    # See pydoc3 smarttub.api for complete API

See also smarttub/__main__.py for example usage

Troubleshooting

If this module is not working with your device, please run the following command and include the output with your bug report:

python3 -m smarttub -u YOUR_SMARTTUB_EMAIL -p YOUR_SMARTTUB_PASSWORD -vv info -a

Contributing

uv sync --extra dev
uv run pre-commit install

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_smarttub-0.0.47.tar.gz (54.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_smarttub-0.0.47-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file python_smarttub-0.0.47.tar.gz.

File metadata

  • Download URL: python_smarttub-0.0.47.tar.gz
  • Upload date:
  • Size: 54.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.14.3

File hashes

Hashes for python_smarttub-0.0.47.tar.gz
Algorithm Hash digest
SHA256 e9aeb476f4c2081ca604341798850ffed33a1050fe722a41e6902a47ba6d36be
MD5 0ce79cdeccbb14440523807aadcf81d1
BLAKE2b-256 5e73f581bffe922609e1fb3f3c8cc35571253a1ff898580a9f1251237d6dda11

See more details on using hashes here.

File details

Details for the file python_smarttub-0.0.47-py3-none-any.whl.

File metadata

File hashes

Hashes for python_smarttub-0.0.47-py3-none-any.whl
Algorithm Hash digest
SHA256 f5a3fc26a5fb8ab6a4bc9140c7a11e9a1fad5e5e27dc1a719f454aa7c5e60409
MD5 ab49e0b68ec2497d0084597640cc6751
BLAKE2b-256 8167f1d6714c9f4f7e19a9732675f33b7f9dcf5ffd3bc85146d709d70894946d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.47 This release

2 files

0.0.46

2 files

0.0.45

2 files

0.0.44

2 files

0.0.43

2 files

0.0.42

2 files

0.0.41

2 files

0.0.40

2 files

0.0.39

2 files

0.0.38

2 files

0.0.37

2 files

0.0.36

2 files

0.0.35

2 files

0.0.34

2 files

0.0.33

2 files

0.0.32

2 files

0.0.31

2 files

0.0.30

1 file

0.0.29

1 file

0.0.28

1 file

0.0.27

1 file

0.0.26

1 file

0.0.25

1 file

0.0.24

1 file

0.0.23

1 file

0.0.22

1 file

0.0.21

1 file

0.0.20

1 file

0.0.19

1 file

0.0.18

1 file

0.0.17

1 file

0.0.16

1 file

0.0.15

1 file

0.0.14

1 file

0.0.13

1 file

0.0.12

1 file

0.0.11

1 file

0.0.10

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page