Giter VIP home page Giter VIP logo

controlmyspa's People

Contributors

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

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

controlmyspa's Issues

[REQUEST] ControlMySpa integration for Home Assistant based on this libary

@arska Would you please consider writing a new "ControlMySpa" integration for Home Assistant based on this library?

https://community.home-assistant.io/t/integration-for-a-spa-question-about-available-entities/156760/

Or alternatively, maybe extend the existing "Balboa Spa Client" to also add support for ControlMySpa cloud API as an option?

https://www.home-assistant.io/integrations/balboa/

See Home Assistant Developer documentation about Starting with Development and building/adding a new integration for it:

https://developers.home-assistant.io/

https://developers.home-assistant.io/docs/development_index/

Add ability to check the online status of the spa

Quite frequently I find the spa goes offline, sometimes for a few minutes, and all values like temperature etc are then stale.

You can detect if the spa is offline. Is it possible to add something like this in?...

    @property
    def online_status(self):
        """
        Get online status
        """
        # update fresh info
        # self._get_info()
        return self._info["currentState"]["online"]

Support for Chromazon3

My tub has Chomazon3 lights - see https://www.balboawatergroup.com/Chromazon3

To get these to turn on, I had to create a method like the existing set_light one as below...

def set_chromazon3(self, state=False):
        """
        Enable/disable Chromeazon3 lights
        :param state: False to turn off, True to turn on
        """
        response = requests.post(
            "https://iot.controlmyspa.com/mobile/control/"
            + self._info["_id"]
            + "/tzl/setPower",
            json={
                "desiredState": ("ON" if state else "OFF"),
            },
            headers={"Authorization": "Bearer " + self._token["access_token"]},
        )
        response.raise_for_status()
        # update the local info
        self._get_info()

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/main.yml
  • actions/checkout v4
  • actions/setup-python v5
  • actions/checkout v4
  • actions/setup-python v5
pep621
pyproject.toml
  • setuptools >= 40.6.0
pip_requirements
requirements.txt
  • certifi ==2023.11.17
  • charset-normalizer ==3.3.2
  • idna ==3.6
  • pyyaml ==6.0.1
  • requests ==2.31.0
  • responses ==0.25.0
  • urllib3 ==2.2.1
pip_setup
setup.py
  • requests >=2

  • Check this box to trigger a request for Renovate to run again on this repository

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.