Balboa ControlMySpa™ cloud API for hot tub spa systems
Project description
Balboa ControlMySpa™ cloud API for hot tub spa systems
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file controlmyspa-1.0.14.tar.gz
.
File metadata
- Download URL: controlmyspa-1.0.14.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7909ffd0fd8e1e5f451c9187124cf4d8ecd1d736d1708b4d0e6c4780cabde702 |
|
MD5 | e104f2dde7ce1dd12a91b609f12e5f1b |
|
BLAKE2b-256 | b1c4ad1da2c84a0431f38373e346c0ec4364c487372ccec37ec8c10bc175a386 |
Provenance
The following attestation bundles were made for controlmyspa-1.0.14.tar.gz
:
Publisher:
main.yml
on arska/controlmyspa
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
controlmyspa-1.0.14.tar.gz
- Subject digest:
7909ffd0fd8e1e5f451c9187124cf4d8ecd1d736d1708b4d0e6c4780cabde702
- Sigstore transparency entry: 148356611
- Sigstore integration time:
- Predicate type:
File details
Details for the file controlmyspa-1.0.14-py2.py3-none-any.whl
.
File metadata
- Download URL: controlmyspa-1.0.14-py2.py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b000ae3624944aff9d34c398faa8818a8af89332567f408d6fb1d367001b772 |
|
MD5 | eaa90b079bcd82ffccaa43aa1a559b94 |
|
BLAKE2b-256 | 5e7a244d07d8ff65b03c4c82e53e5e6103e408537d2df5c2d18b029cd338cd9f |
Provenance
The following attestation bundles were made for controlmyspa-1.0.14-py2.py3-none-any.whl
:
Publisher:
main.yml
on arska/controlmyspa
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
controlmyspa-1.0.14-py2.py3-none-any.whl
- Subject digest:
7b000ae3624944aff9d34c398faa8818a8af89332567f408d6fb1d367001b772
- Sigstore transparency entry: 148356614
- Sigstore integration time:
- Predicate type: