Command line program for controlling Philips air purifiers
Project description
Command line application for controlling Philips air purifiiers. It is tested with Philips Air Purifier AC2729 but it should work with other models as well.
Installation
Python 3.4+ is required. Install with pip3
:
$ pip3 install py-air-control
Usage
Getting the current status of device with IP 192.168.0.17:
$ airctrl 192.168.0.17
[pwr] Power: ON
[pm25] PM25: 4
[rh] Humidity: 32
[rhset] Target humidity: 60
[iaql] Allergen index: 1
[temp] Temperature: 22
[func] Function: Purification & Humidification
[mode] Mode: M
[om] Fan speed: 2
[aqil] Light brightness: 100
[wl] Water level: 100
[cl] Child lock: False
You can change settings by using the prefix in the square brackets as a command line option. For example to set fan speed 2:
$ airctrl 192.168.0.17 --om 2
Set target humidity to 50%:
$ airctrl 192.168.0.17 --rhset 50
Change function to "Purification":
$ airctrl 192.168.0.17 --func P
Power off the device:
$ airctrl 192.168.0.17 --pwr 0
and so on
To get filters status:
$ airctrl 192.168.0.17 --filters
Pre-filter and Wick: clean in 245 hours
Wick filter: replace in 3965 hours
Active carbon filter: replace in 1565 hours
HEPA filter: replace in 3965 hours
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 py-air-control-0.0.2.tar.gz
.
File metadata
- Download URL: py-air-control-0.0.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15e4a77c79877b9349addc3069bc00a4db41c0c39f09d327dc19f7a0076f2e07 |
|
MD5 | 78612e527e75a2e5913472fc6aa55fcb |
|
BLAKE2b-256 | 8b705084e265c39a49d8a794d4eb5eac9dccbf7606b2f01f4ba38b9e1c762574 |
File details
Details for the file py_air_control-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: py_air_control-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eae2a6c7ae9c143e15cadd3ec45ba4c45d4096b4884abb0cbdaebbbd55c686eb |
|
MD5 | 5b5e43b6f00dd9230d04f82104c3b281 |
|
BLAKE2b-256 | 725239fcc1f5315670e647ce76c500e420f1f01ad219531122cf3f93d9ac7bd7 |