pyaehw4a1
Python interface for Hisense AEH-W4A1 module
Decision gist · record as of 2026-08-14
Yes, but with caution: install only if you own a Hisense AEH-W4A1 module and accept the risks of an abandoned package. The low install friction and permissive license are favorable, but the lack of maintenance since 2020 means no security updates, no Python compatibility assurance, and no protocol updates for newer AC firmware. Suitable for hobbyists and Home Assistant users willing to troubleshoot or patch the code themselves; unsuitable for production or mission-critical automation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Hisense AEH-W4A1 wifi module on the local network; no Python version constraint is specified in the package metadata.
- Low install friction with no runtime dependencies.
- However, the package is abandoned—last updated 2020-07-05 with no commits since.
License · maintenance · safety
Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing use in most projects without significant legal constraints.
last release 2020-07-05 (2231 days) · last repo commit 2020-07-05 · 24 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,768 downloads/mo, #14,930 on PyPI
Alternatives
Verify before relying
pip install pyaehw4a1
python -m pyaehw4a1 discovery
python -m pyaehw4a1 AC --host IP_ADDRESS
python -m pyaehw4a1 AC --host IP_ADDRESS --command on- Whether the package works with current Python versions given its abandoned status and last release in 2020.
- Compatibility with Home Assistant or other home automation platforms beyond the author's initial intent.
- Whether the XM protocol implementation remains accurate for current Hisense AC firmware versions.
What it is and what it does
pyaehw4a1 is a lightweight Python client for communicating with Hisense AEH-W4A1 wifi modules installed in multi-split air conditioning systems. It implements the XM serial protocol to discover units on the local network, query their status, and send control commands (power, mode, temperature, fan speed, turbo, energy-save, display, sleep, and airflow direction). The package is designed primarily as a foundation for Home Assistant integration and includes both a Python module for programmatic use and command-line tools for direct interaction.
The author explicitly notes this is an early, unsupported implementation written as a first Python project with no warranty. The package has been abandoned since mid-2020 and receives no maintenance, making it suitable only for users with specific Hisense hardware who can tolerate potential compatibility issues with modern Python environments.
Use it for
- Integrate Hisense multi-split AC units into Home Assistant or other home automation systems via local network control.
- Query current AC status (temperature, mode, fan speed) from a Python script without cloud dependencies.
- Automate AC commands (power, temperature adjustment, mode switching) based on local triggers or schedules.
- Discover available Hisense AEH-W4A1 modules on an intranet without manual IP configuration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but with caution: install only if you own a Hisense AEH-W4A1 module and accept the risks of an abandoned package.
The low install friction and permissive license are favorable, but the lack of maintenance since 2020 means no security updates, no Python compatibility assurance, and no protocol updates for newer AC firmware. Suitable for hobbyists and Home Assistant users willing to troubleshoot or patch the code themselves; unsuitable for production or mission-critical automation.
Install
pyaehw4a1 on PyPI
Before you install
Low install friction with no runtime dependencies. However, the package is abandoned—last updated 2020-07-05 with no commits since. Maintenance status is inactive, so security patches or compatibility fixes for newer Python versions are unlikely.
Requires a Hisense AEH-W4A1 wifi module on the local network; no Python version constraint is specified in the package metadata.
License in practice
Licensed under Apache 2.0 (permissive), allowing use in most projects without significant legal constraints.
Quickstart
pip install pyaehw4a1
python -m pyaehw4a1 discovery
python -m pyaehw4a1 AC --host IP_ADDRESS
python -m pyaehw4a1 AC --host IP_ADDRESS --command on
Verify before relying
- Whether the package works with current Python versions given its abandoned status and last release in 2020.
- Compatibility with Home Assistant or other home automation platforms beyond the author's initial intent.
- Whether the XM protocol implementation remains accurate for current Hisense AC firmware versions.
Package facts
| License | Apache 2.0 permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 2,231 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 73,768 / month, #14,930 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Home Automation |
Evidence: pyaehw4a1-0.3.9-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “hisense ac control python”
- pyaehw4a1Provides a Python interface to control Hisense AEH-W4A1 wifi-enabled…
- airtouch4pyapiControls Airtouch 4 and 5 air conditioning units locally over TCP,…
- msmart-ngA Python library for discovering and controlling Midea brand air…
Give your agent the search over MCP, or paste the wish link into any chat.
More Home Automation packages
Represents and manipulates IPv4, IPv6, MAC addresses and related network objects; supports CIDR notation, subnetting, set operations, IANA lookups, and DNS reverse generation.
Home Assistant is an open-source home automation platform that centralizes control of smart home devices and automations on a local server or Raspberry Pi, prioritizing local control and privacy over cloud dependency.
Defines finite state machines and statecharts with a declarative Python API, supporting flat states, compound hierarchies, parallel regions, history states, guards, and both sync and async callbacks.
Install it if you need to model workflows, control logic, or any system with discrete states and event-driven transitions — from simple state machines to complex…
A Python library for controlling BlueZ Bluetooth adapters on Linux via the Management API, supporting both synchronous and event-driven command patterns.
An async Python library for controlling and monitoring Homematic and HomematicIP devices through multiple backend systems (CCU3, OpenCCU, Homegear, CUxD, CCU-Jack) using XML-RPC and JSON-RPC protocols.
Install it if you need to control Homematic devices from Python; the only constraint is a requirement for Python 3.14 or later and network access to a compatible…
Provides base classes and utilities for Home Assistant integrations to proxy HTTP and WebSocket traffic through Home Assistant's web server.
Install only if you are building a custom Home Assistant integration; it is not useful as a standalone package.
See also airtouch4pyapi · pydaikin · advantage-air · py-ccm15 · midea-local · python-izone · msmart-ng · pyvesync · python-ecobee-api · xmodem