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.0.tar.gz (20.7 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.0-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py-miraie-ac-0.1.0.tar.gz
  • Upload date:
  • Size: 20.7 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.0.tar.gz
Algorithm Hash digest
SHA256 314ff9e5e437ae8994849f7dfddcd79f39c226b1de9389cd309e60490eccae9a
MD5 cf8195bfb633ad8fc31850612a94fe89
BLAKE2b-256 e8ba6bd6cbc7f6d47a6808a80f505f0bbfa20af6d5458b359456cace111d1232

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_miraie_ac-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.1 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 605bcca1be9f5b282fe7e29c5ea6fe055e0ddf71fd51fe2b7925c2a190c1bad7
MD5 266ed3d5ad68770753c8f6b29d54047d
BLAKE2b-256 887e654b0dde4032888a94056882f39cb81aee8d9c3d9c8077cd181ea2582d23

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