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.4.tar.gz (19.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.4-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-miraie-ac-0.1.4.tar.gz
  • Upload date:
  • Size: 19.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.4.tar.gz
Algorithm Hash digest
SHA256 4234ec20c85e6f0b9eabe73fd4e193b8b1e44ec8629aed5ca7418cdd04d58f46
MD5 a8a60a7fe835c274d47d7cf84a654ca4
BLAKE2b-256 1e36f81ffa5121e33436d8e5a624a9d10d3d53fe2d79675b0f285d34d1a999b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_miraie_ac-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 21.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 38e0dca58220b86bd2b2928c791534b40441cb7597d8f26923997ff27d5ba0de
MD5 177dce1b7052284bd60851b5ae76c62d
BLAKE2b-256 56639abd4294e6ac75db020456fb4bd154cf5a5928566032dc901f334abff0c1

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