Skip to content

Command line app for controlling Philips air purifiers

License

Notifications You must be signed in to change notification settings

markuslaube/py-air-control

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Command line app for controlling Philips air purifiers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%