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
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 (hidden by default in 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.2.1 (2020-01-07)
Updated readme and version strings
0.2.0 (2019-12-28)
Fixed Python 2.7 compatibility
0.1.0 (2017-12-04)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pymyair-0.2.1.tar.gz
.
File metadata
- Download URL: pymyair-0.2.1.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0acb5c4b5ba40732864a2931faa314d8c19d90fcc80ede1e1daa35cb43883899 |
|
MD5 | fd3f1b6055e694405c85c5a22a49528b |
|
BLAKE2b-256 | 8e1756721c97315d46c95bbee22b405963773eb7eacd441da4c68e66f58f0fbb |
File details
Details for the file pymyair-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pymyair-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e353dffe46e6ba6267d64097de96370dca16d2d387c27e39ace45b972c9265c3 |
|
MD5 | 09d7c21fd0f07bb09e8d849c3ca984a2 |
|
BLAKE2b-256 | 205fa86d7aff82ab8e5d62450597cc48b59830d005b251166b48e9d3f1f02dc9 |