- Python 3.6+
- requests
- schedule
Filename | Content |
---|---|
auto_control.py | main program/schedule |
myhome.py | wraps all devices |
blueair.py | BlueAir API |
config.py | config |
- This is a BlueAir purifier automatic scheduler, which makes life easier. You can schedule running mode and time of the BlueAir air purifier to control the air quality in your home automatically.
- Change your email and password in config.py.
from blueair import BlueAir
bl = BlueAir()
print(bl.get_device_info()) # get uuid of your air purifier and copy to config.py
- Change your myhome.py and/or auto_control.py to manage your devices at home and your schedule.
- Run auto_control.py (you can use a supervisor to manage the process)