python-smarttub
API to query and control hot tubs using the SmartTub system
Decision gist · record as of 2026-08-14
Yes, if you own a SmartTub-compatible hot tub and need programmatic control or monitoring. The low install friction and permissive license make it a straightforward addition. However, the aging maintenance status (last release 189 days ago) means you should verify that it still works with your current hardware and be prepared to troubleshoot or fork if the upstream project stalls.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.13 or later; also requires valid SmartTub account credentials and an active SmartTub-compatible hot tub device.
- Low install friction with a pure Python wheel.
- Maintenance status is aging—last release was 189 days ago—so expect slower response to issues or updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
last release 2026-02-06 (189 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 75,400 downloads/mo, #14,720 on PyPI
Alternatives
Verify before relying
pip install python-smarttub
import aiohttp
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:
print(spa.get_status())- Whether the SmartTub API endpoint remains stable and whether this client works with current SmartTub hardware versions
- Active community or maintainer support for bug fixes or feature requests
What it is and what it does
python-smarttub is an async Python client for the SmartTub hot tub control system. It wraps the SmartTub API to let you authenticate, query account information, and retrieve or control individual spas—checking status, managing pumps, controlling lights, and more. The package uses aiohttp for async HTTP requests and includes both a programmatic API and a command-line interface for quick diagnostics.
The library is built on modern async/await patterns and requires Python 3.13 or later. It depends on aiohttp, inflection, pyjwt, and python-dateutil to handle HTTP sessions, API response parsing, JWT authentication, and date handling. It's suitable for home automation integrations, monitoring dashboards, or direct spa control from Python applications.
Use it for
- Integrate hot tub status and control into a home automation system or dashboard
- Automate spa pump or light schedules based on time or external conditions
- Monitor multiple spas remotely and log their status over time
- Build a CLI tool to quickly check or adjust spa settings without a web interface
- Diagnose SmartTub connectivity or API issues using the verbose debug mode
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you own a SmartTub-compatible hot tub and need programmatic control or monitoring.
The low install friction and permissive license make it a straightforward addition. However, the aging maintenance status (last release 189 days ago) means you should verify that it still works with your current hardware and be prepared to troubleshoot or fork if the upstream project stalls.
Install
python-smarttub on PyPI
Before you install
Low install friction with a pure Python wheel. Maintenance status is aging—last release was 189 days ago—so expect slower response to issues or updates.
Requires Python 3.13 or later; also requires valid SmartTub account credentials and an active SmartTub-compatible hot tub device.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions.
Quickstart
pip install python-smarttub
import aiohttp
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:
print(spa.get_status())
Verify before relying
- Whether the SmartTub API endpoint remains stable and whether this client works with current SmartTub hardware versions
- Active community or maintainer support for bug fixes or feature requests
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.13 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaiohttpinflectionpyjwtpython-dateutil |
| Maintenance | Aging 189 days since the last release |
| First released | |
| Downloads | 75,400 / month, #14,720 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: python_smarttub-0.0.47-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “smarttub api client”
- python-smarttubProvides an async API and CLI to query and control hot tubs connected…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
- twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also iaqualink · elgato · python-bsblan · pystiebeleltron · brainstem · epson-projector · pyhiveapi · pysqueezebox · aioairzone-cloud · python-ecobee-api