Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_ccm15-0.2.2.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_ccm15-0.2.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file py_ccm15-0.2.2.tar.gz.

File metadata

  • Download URL: py_ccm15-0.2.2.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for py_ccm15-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a4d0bc1a0ad69dc449b67542539e41bd3163ee40b8c898af4c58acc0f8dde78c
MD5 8f96e0baf25b1441e171b101e431e8ce
BLAKE2b-256 cb14c58a853d970eedd63feda157eb3d396f3f8ec1293c21b7ccbf7ef9baf310

See more details on using hashes here.

File details

Details for the file py_ccm15-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: py_ccm15-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for py_ccm15-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7d82f1a449c71b6818db3b2dff1536c77127f4b0ecf7c8672262607a4e10ea82
MD5 b291bcd4566e507037a9d65f3ef46d0b
BLAKE2b-256 5180167ba8b9d7bd43221bc310b22c4ccc7148c1b15b4cfb20e969030eaa7574

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page