Intex Spa wifi client
Project description
intex-spa
An AsyncIO-compatible Intex Spa wifi client
Description
This python package aims to provide an interface with the Intex Spa wifi module.
It is compatible with Intex wifi-enabled spas without any specific hardware, as it uses the built-in Intex wifi module.
It uses direct TCP connection to the spa, and does not require access to the Intex cloud. The built-in Intex wifi module only has to be connected to a wifi Access Point.
It is written with asyncio network functions. It only supports asyncio usage.
User installation
python3 -m pip install -U intex-spa
Usage examples
Below are some examples, see examples
directory for more delight.
Retrieve spa status
from intex_spa import IntexSpa
async def use_intex_spa():
intex_spa = IntexSpa(SPA_ADDRESS)
await intex_spa.async_update_status()
asyncio.run(use_intex_spa())
Set spa function state
from intex_spa import IntexSpa
async def use_intex_spa():
intex_spa = IntexSpa(SPA_ADDRESS)
await intex_spa.async_set_heater(True)
asyncio.run(use_intex_spa())
Versioning
The versioning of this python package follows Semantic Versioning 2.0.0
Reminder: Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.
For Changelog, please read releases.
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
Hashes for intex_spa-0.8.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4164ba9dfba979f3dad40a06b9683c8793470ea66e6d54020b13d2894edf40c0 |
|
MD5 | 34ffd17041842c53baff6e90fe3f1cc9 |
|
BLAKE2b-256 | 85bf48bcc104b94be4c02b30c02b3b827f6f331bc6637b0ffc7b999c90a1f5a4 |