Skip to main content

Balboa ControlMySpa™ cloud API for hot tub spa systems

Tests codecov PyPI version

Python API for ControlMySpa.com cloud-controlled of Balboa spa control systems for hot tubs.

2023-12-13: iot.controlmyspa.com missing intermediate certificate

Since approximately June 2023 iot.controlmyspa.com has a new TLS certificate. This certificate is signed by digicert, but the intermediate certificate chain is not served by iot.controlmyspa.com and is also missing in the python certifi trust store. Instead of disabling the TLS certificate validation, we download the intermediate certificate from digicert over a successfully verified TLS connection and add it to the local trust store on first run. This does, however, not work for read-only runtimes like Docker containers. See https://github.com/arska/controlmyspa-porssari/blob/main/Dockerfile and https://github.com/arska/controlmyspa-porssari/blob/main/get_certificate.py for an example how to download the certificate at Docker image build time instead.

Usage

see example.py for a runnable example

from controlmyspa import ControlMySpa

API = ControlMySpa("user@example.com", "myverysecretpassword")
pprint.pprint(API.info)

References

Based on the JavaScript library https://gitlab.com/VVlasy/controlmyspajs

Metadata

Release files for controlmyspa 4.2.0

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

Source distribution (sdist)

Source distribution for controlmyspa 4.2.0
File Size Uploaded Provenance
controlmyspa-4.2.0.tar.gz 19.8 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for controlmyspa 4.2.0
File Interpreter ABI Platform
controlmyspa-4.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.2 kB

Release files / controlmyspa-4.2.0.tar.gz

Download URL controlmyspa-4.2.0.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
74897acdc788d7aea5b34065a681d848100a3612e199d71dec81073b06b830fa
BLAKE2b-256 checksum
How to use checksums
3deb9350c4eb79eceb17542c89e86bd6563ede177c35e1470a87ead6749b0b2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Release files / controlmyspa-4.2.0-py3-none-any.whl

Download URL controlmyspa-4.2.0-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f673fcb1c2bb5b3019227d5ef682c0e5c9dbbcb65d9d258f1ce46aef5dc1d8b
BLAKE2b-256 checksum
How to use checksums
f61044eb1a4dacb5cc40ffab17d3d972bb999991fa1f4223950700908c882218
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

Security for controlmyspa 4.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for controlmyspa-4.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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