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 tests
directory for more examples
Retrieve spa status
import asyncio
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
import asyncio
async def use_intex_spa():
intex_spa = IntexSpa(SPA_ADDRESS)
await intex_spa.async_set_heater(True)
asyncio.run(use_intex_spa())
Changelog
This python package follows semantic versioning specification (SemVer).
0.1.2 - 2022-06-04
✨ First release to PyPI
0.1.0 - 2022-06-04
✨ First release
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.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38694324536fb97420279f80487640250182b916defd51c8232231abea82532b |
|
MD5 | 6091d68be8191392f119fbe7b6674f46 |
|
BLAKE2b-256 | 816023bcdb85bb38198255cc3e0fc73ce8a0ca0df5fb8adc761ee56751aa2f83 |