arska / controlmyspa Goto Github PK
View Code? Open in Web Editor NEWPython library for Balboa ControlMySpa.com
Home Page: https://pypi.org/project/controlmyspa/
License: MIT License
Python library for Balboa ControlMySpa.com
Home Page: https://pypi.org/project/controlmyspa/
License: MIT License
@arska Would you consider writing a native "ControlMySpa" integration component for Home Assistant based on this library?
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/
There is also this other custom component Spa Client that is compatible with Balboa BP System + bwa WiFi module as well:
https://github.com/plmilord/Hass.io-custom-component-SpaClient
See Home Assistant Developer documentation on Starting with Development and building a new integration component for it:
https://developers.home-assistant.io/
https://developers.home-assistant.io/docs/development_index/
https://developers.home-assistant.io/docs/creating_component_index
https://developers.home-assistant.io/docs/integration_fetching_data/
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()
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/main.yml
actions/checkout v4
actions/setup-python v5
actions/checkout v4
actions/setup-python v5
actions/upload-artifact v4
actions/download-artifact v4
actions/download-artifact v4
sigstore/gh-action-sigstore-python v2.1.1
actions/download-artifact v4
pyproject.toml
requests >2
setuptools >=64
setuptools_scm >=8
requirements.txt
certifi ==2024.6.2
charset-normalizer ==3.3.2
idna ==3.7
pyyaml ==6.0.1
requests ==2.32.3
responses ==0.25.3
urllib3 ==2.2.1
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"]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.