Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

MirAIe AC API Client (miraie-ac-in)

PyPI version Python Version

A Python API client wrapper for controlling Panasonic MirAIe-enabled Air Conditioners. This library handles MQTT message parsing, connection loops, and telemetry status decoding.

This repository is a feature fork of rkzofficial/miraie-ac to provide updates for newer firmware versions, expand capacity control options, and improve connection stability.

[!IMPORTANT] This project is designed exclusively for Panasonic Air Conditioners that use the MirAIe application. It is not compatible with Panasonic ACs that use the global Comfort Cloud application.


Enhancements in This Fork

  • Firmware 3.02+ Room Temperature Fix: Panasonic AC units running firmware 3.02+ report ambient room temperature in a packed decimal format. This fork introduces version-aware decoding to display this value correctly, while retaining traditional decoding for older firmware.
  • Converti 8-in-1 Support: Expands compressor capacity control options by mapping the 60% and 50% steps, enabling full 8-in-1 capacity features on supported models.
  • MQTT & Resource Lifecycle Cleanup: Adds an explicit close() method to cleanly cancel and await active MQTT tasks and terminate the underlying HTTP client session, preventing resource leaks.
  • Telemetry Parsing: Adds status parsing for Nanoe™ air purifiers (acng), Filter Clean alerts (acfc), Wi-Fi RSSI signal strength (rssi), and last control source (cnt).
  • Input Validation: Upgraded user credential validation with improved regex supporting subdomains and hyphenated domains.

Installation

Install the package via pip:

pip install miraie-ac-in

Quick Start

import asyncio
from miraie_ac import MirAIeHub, MirAIeBroker

async def main():
    broker = MirAIeBroker()
    hub = MirAIeHub()

    # Initialize the hub (phone number format: +91XXXXXXXXXX)
    await hub.init("+919999999999", "your_password", broker)
    
    # List discovered devices
    print("Discovered Devices:", hub.home.devices)
    
    # Wait for the MQTT connection to establish
    while not hasattr(broker, "client") or getattr(broker, "client") is None:
        await asyncio.sleep(1)

    # Example: Turn off the first device
    if hub.home.devices:
        device = hub.home.devices[0]
        await device.turn_off()
        
    await hub.close()

asyncio.run(main())

Credits & License

Upstream Authors & Contributors

Fork Authors & Contributors

  • Fork enhancements (firmware 3.02+ temperature fix, Converti 8-in-1, and MQTT resource leak resolutions) developed by @selvakk2k with assistance from Claude (Anthropic) and Gemini/Antigravity (Google DeepMind).

Licensed under the MIT License. See the LICENSE file for the original license text.

Metadata

Release files for miraie-ac-in 1.1.5b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for miraie-ac-in 1.1.5b1
File Size Uploaded
miraie_ac_in-1.1.5b1.tar.gz 13.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for miraie-ac-in 1.1.5b1
File Interpreter ABI Platform
miraie_ac_in-1.1.5b1-py3-none-any.whl Python 3 none any Details

Total release size: 28.6 kB

Release files / miraie_ac_in-1.1.5b1.tar.gz

Download URL miraie_ac_in-1.1.5b1.tar.gz
Size 13.3 kB
Tags Source
SHA-256 checksum
How to use checksums
eb772eb9f8ee59569d1290cfef1a0aaa3aa0503806182359bc35088c46924faf
BLAKE2b-256 checksum
How to use checksums
21e511b5a10da0d0e98d95f97b88f10df0cdcfcc55735f5c868f5a15bdc6344d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.

Transparency log

Release files / miraie_ac_in-1.1.5b1-py3-none-any.whl

Download URL miraie_ac_in-1.1.5b1-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59142387a0cdaf0c1adda14d498ae53bc339b807da4eca261dd17264de562fd1
BLAKE2b-256 checksum
How to use checksums
eafb444bdecc7e8e3d97b1d919efc60a894b60886df7a94d4452327e5c16d174
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

This release

1.1.5b1 This release

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page