A package to control Midea CCM15 data converter modules
Project description
py-ccm15
Python Library to access a Midea CCM15 data converter
This package provides an asynchronous interface to communicate with Midea CCM15 data converter modules. It allows you to control and monitor air conditioning units via the CCM15 gateway using Python.
Features
- Read and set temperature
- Control fan mode and AC mode
- Async support for non-blocking operations
- Communicate with CCM15 over HTTP
Installation
pip install py-ccm15
Usage
import asyncio
from py_ccm15 import CCM15Client
async def main():
client = CCM15Client(host="192.168.1.100", token="your_token_here")
status = await client.get_status()
print(status)
await client.set_state(ac_mode="cool", fan_mode="auto", temperature=24)
asyncio.run(main())
Requirements
- Python 3.7+
- httpx>=0.24.1
- xmltodict>=0.13.0
- aiohttp>=3.8.5
Documentation
For full API reference and advanced usage, visit the GitHub repository.
Contributing
Pull requests are welcome. If you find a bug or have a feature request, feel free to open an issue.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Made by Oscar Calvo
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_ccm15-0.1.2.tar.gz.
File metadata
- Download URL: py_ccm15-0.1.2.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55c4af88abfa4ae86dac0ecc6792c5cd6cb8fdb1cef41d8196976c735b9b15e2
|
|
| MD5 |
d42a80e7ac9109f24dbcac11880a1b11
|
|
| BLAKE2b-256 |
167e48333bf6598015954bb9c4dbc7b3778e13cac7c17c2c4896f86345dfa6c7
|
File details
Details for the file py_ccm15-0.1.2-py3-none-any.whl.
File metadata
- Download URL: py_ccm15-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c9310038c9bb0c5f18fd7e2fda74f5417d21e61dcabfce858b20becd8169024
|
|
| MD5 |
db654a644ca792220d5c511203e5729f
|
|
| BLAKE2b-256 |
16a55ba5124f123c4815470c5aeb32f43d71192f1bd3e31e252fde30c1fb7aeb
|