Skip to main content

Balboa ControlMySpa™ cloud API for hot tub spa systems

Project description

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

Project details


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.0.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.0-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for controlmyspa-4.0.0.tar.gz
Algorithm Hash digest
SHA256 b2c3b11305a22ee9cc6048e0edf1bbd993de807b13592b22ed68b942e21a66a2
MD5 41b35ffc5bac8766c7399b9232596f13
BLAKE2b-256 800e2eec4e6d9480251521d0fd55de28feb105e0d74b27124f78f8991ad4c7ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for controlmyspa-4.0.0.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.0-py2.py3-none-any.whl.

File metadata

  • Download URL: controlmyspa-4.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for controlmyspa-4.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2da597e8e62cfa3715ca24d9b45e78dcf4acc482967e67393c1da7934feec4a4
MD5 9b534d977d9245dc19bdca5703fcf360
BLAKE2b-256 b6b7cfbc26a116f8205a3b6003988cafa2c421cb70ff7da360cf83c93c2e55e0

See more details on using hashes here.

Provenance

The following attestation bundles were made for controlmyspa-4.0.0-py2.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.

Supported by

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