Skip to main content

A simple Python API that wraps the HTTP based API exposed by the MyPlace service that runs on Advantage Air supplied Android tablets.

Project description

API for Advantage Air MyAir

https://img.shields.io/pypi/v/pymyair.svg https://img.shields.io/travis/smallsam/pymyair.svg Documentation Status Updates

A simple Python API that wraps the HTTP based API exposed by the MyPlace service that runs on Advantage Air supplied Android tablets.

It can be used to control the MyAir 5 AC zoning system from Advantage Air.

  • Free software: MIT license

Features

  • Zone setting, on/off. Temperature set points or percentage

  • Per AC, on/off, heat/dry/vent

  • Fan speed adjustment

  • MyZone setting

  • Reading current temperature of each zone Not available in supplied apps

  • Access to system and zone level info

  • CLI interface

Quickstart

CLI

pip install pymyair myair –help myair 192.168.1.120 zones myair 192.168.1.120 on myair 192.168.1.120 set –zone 3 –temp 26 –state on

API

from pymyair.pymyair import MyAir

ma = MyAir(host=”192.168.1.120”) ma.update() ma.mode = ‘on’ ma.myzone = 6 ma.setZone(id=3, state=’on’, set_temp=26)

IP Address of WebService

The webservice used by this API is the only available on the same LAN as the android tablet. There is no support for the remote access APIs used by MyAir. You can find the IP of the android tablet in Wifi Settings - Advanced. It’s recommended to set your MyAir android tablet to set a static dhcp entry on your router/dhcp server.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2017-12-04)

  • First release on PyPI.

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

pymyair-0.1.0.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file pymyair-0.1.0.tar.gz.

File metadata

  • Download URL: pymyair-0.1.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymyair-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c747c4748ddf7be47c8b4d1ddbe65a99bdde10b670ecddce55fc331af17039fd
MD5 2b8f36e8e1ab4d84ee029b8647d7d3a1
BLAKE2b-256 c73c501cded30eedceaa51f3019ad82fc3795ebcdfc9eeb64b4e7ab1dd025b39

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