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

Download files

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

Source Distribution

controlmyspa-4.0.4.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

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

controlmyspa-4.0.4-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file controlmyspa-4.0.4.tar.gz.

File metadata

  • Download URL: controlmyspa-4.0.4.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for controlmyspa-4.0.4.tar.gz
Algorithm Hash digest
SHA256 d229ed511f40acdb394029431065c1ae7e3876a9f935c0141c4d2cdc881dc8e9
MD5 3e214af2dcef46b3add9e3802ce3087b
BLAKE2b-256 38f1e76d413bd7e7609a87498c2d908716a3e2e0a55e75824ba40972a80165e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for controlmyspa-4.0.4.tar.gz:

Publisher: main.yml on arska/controlmyspa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file controlmyspa-4.0.4-py3-none-any.whl.

File metadata

  • Download URL: controlmyspa-4.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for controlmyspa-4.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 389960d883c52fe3efbbf0245d0687c4b53c70d65ffbb533309ca3abd73d0eca
MD5 9a05ac4968964ac4e5fa3f16a1cd3e07
BLAKE2b-256 d90bd9fd2afb0a4cd6bc8f3a80b8b4080e1a549ec1ff52065e3a0baade88399b

See more details on using hashes here.

Provenance

The following attestation bundles were made for controlmyspa-4.0.4-py3-none-any.whl:

Publisher: main.yml on arska/controlmyspa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

4.0.4 This release

2 files

4.0.3

2 files

4.0.2

2 files

4.0.1

2 files

4.0.0

2 files

1.0.14

2 files

1.0.13

2 files

1.0.11

2 files

1.0.10

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.0

2 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