Skip to main content

A package to control and read MirAIe Aircons by Panasonic

Project description

Python MirAIe AC API

An API to send commands and read the status of MirAIe air conditioners by Panasonic

Installation

pip install py-miraie-ac

Usage

import asyncio
from api import MirAIeAPI
from enums import AuthType
from device import Device

async with MirAIeAPI(
        auth_type=AuthType.MOBILE, 
        login_id="YOUR_MOBILE_NUMBER", 
        password="YOUR_PASSWORD"
    ) as api:
    await api.initialize()
    for device in api.devices:
        print("Found device: ", device.friendly_name)
        device.set_temperature(24)
        device.turn_on()

asyncio.get_event_loop().run_until_complete(start())

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-miraie-ac-0.1.7.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

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

py_miraie_ac-0.1.7-py3-none-any.whl (22.5 kB view details)

Uploaded Python 3

File details

Details for the file py-miraie-ac-0.1.7.tar.gz.

File metadata

  • Download URL: py-miraie-ac-0.1.7.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for py-miraie-ac-0.1.7.tar.gz
Algorithm Hash digest
SHA256 353b0abcfcf1082a58e7636aca9f437d23cbea93f98f21c20258404f0b3bd783
MD5 f8625b8178f6c502fe47ef0eee955e85
BLAKE2b-256 357cf38d1110dc73421a90925555b0ee32ecec7e593cd3ffd75cb75a8e01f5a7

See more details on using hashes here.

File details

Details for the file py_miraie_ac-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: py_miraie_ac-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 22.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for py_miraie_ac-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2dc3a6117eb2efe23d94a84c6206e8f48b89896394859eb65d694ad21aae00a2
MD5 c1a569e63b4e92ca2e9016dca0a8d0fa
BLAKE2b-256 5ae32b8f92512bc1cc509b094fb85de9ee350fbd48ca0de0f3b51fc6cbd1032d

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