Skip to main content

MirAIe API for Python

Installation

pip install miraie-ac

Get started

import asyncio
from miraie_ac import MirAIeHub, MirAIeBroker

async def setup():
  # Instantiate a MirAIeHub object
  broker = MirAIeBroker()

  # Instantiate a MirAIeHub object
  hub = MirAIeHub()

  # Intialize the hub (+91xxxxxxxxxx, password, broker)
  await hub.init("<mobile>", "<password>", broker)
  
  # Display list of available devices
  print( hub.home.devices )
  
  # Wait till connection has been established with the broker
  async def waitForClient():
    while not hasattr(broker, 'client') or getattr(broker, 'client') is None:
      await asyncio.sleep(1)
  await waitForClient()

  # Now you can run any operation on the device(s)
  hub.home.devices[0].turn_off()
    
asyncio.run(setup())

Logs can be enabled in Home Assistant as follows

logger:
  ...
  logs:
    ...
    custom_components.miraie: debug
    ...

Notes

List of panasonic ACs

Release files for miraie-ac 1.1.2

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 1.1.2
File Size Uploaded
miraie_ac-1.1.2.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for miraie-ac 1.1.2
File Interpreter ABI Platform
miraie_ac-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 21.7 kB

Release files / miraie_ac-1.1.2.tar.gz

Download URL miraie_ac-1.1.2.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ab8097749acdafd9e1918ef8787965991721ad0c7bef4bd024ca91b60831c65c
BLAKE2b-256 checksum
How to use checksums
1120f3130015e4320eb907955c06f4fff03b12ffecdd5b434fed17b09d68d626
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 2, 2026.

Transparency log

Release files / miraie_ac-1.1.2-py3-none-any.whl

Download URL miraie_ac-1.1.2-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82ba1a0aebbfdaa3b0eab419bb87ac9c2e4a8da832c29ce3c27a823ab3e77b4c
BLAKE2b-256 checksum
How to use checksums
7bb284c1e25e76255d48ae7f0099c231a87d40ed481d7d55f7f16f2cb936b60b
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 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

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

0.2.17

2 release files

0.2.16

2 release files

0.2.13

2 release files

0.2.12

2 release files

0.2.11

2 release files

0.2.10

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.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