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.10.tar.gz (20.6 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.10-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for py-miraie-ac-0.1.10.tar.gz
Algorithm Hash digest
SHA256 a04982780961555f299e9df5ef2b456c5b075fa47c122873102a543afef2e1e5
MD5 b00b6d0a3d6d727bbfcf78bda0d3697f
BLAKE2b-256 a55f22e189b7bddc6dfa5a52fbbaebbdc76f922a4f3e699eed3acbefa6b48df7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for py_miraie_ac-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 582118e9090967fd0881e21d3137c0b8e0c7971a20128f8775ad05eba93bf063
MD5 bc171da12e23430c0c5d3c73819040b2
BLAKE2b-256 4b8be7322463ef3872d727c376531da668f7b65b0ef666397e6e0ef97cff13bb

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