GithubHelp home page GithubHelp logo

morveus / controlmyspa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arska/controlmyspa

0.0 1.0 0.0 58 KB

Python library for Balboa ControlMySpa.com

Home Page: https://pypi.org/project/controlmyspa/

License: MIT License

Python 100.00%

controlmyspa's Introduction

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("[email protected]", "myverysecretpassword")
pprint.pprint(API._info)

References

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

controlmyspa's People

Contributors

arska avatar renovate[bot] avatar renovate-bot avatar hedda avatar hr-frodo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.