A Python API to monitor and control Philips air purifiers.
Project description
Philips Air Purifier Client API
Python API for monitoring and controlling Philips air purifiers.
Installation
pip install philips-air-purifier
Usage
Get the status of the air purifier:
from philips_air_purifier import status
status.put_status(air_purifier_host="192.168.1.12", status={"pwr": "1"})
current_status = status.get_status(air_purifier_host="192.168.1.12")
Deploying to PyPi
pip install setuptools wheel
python setup.py sdist bdist_wheel
twine upload dist/*
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 philips-air-purifier-0.0.4.tar.gz
.
File metadata
- Download URL: philips-air-purifier-0.0.4.tar.gz
- Upload date:
- Size: 3.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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a96f9622a20b19b59e5701fce0acf066a566121cef74f9a62d7e89e9c24c5430 |
|
MD5 | 5931f987e994e701a81007a0cf15bb31 |
|
BLAKE2b-256 | b073a31cd51c49efd95dfc9b1efbe8356c9fcc7b326e0e9942d0fce972f71892 |
File details
Details for the file philips_air_purifier-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: philips_air_purifier-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 4.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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1412f678ff1d81ad9c19589559af91eef187f13dff1da445ec0db9fcf4e71406 |
|
MD5 | 29300cf76088e3afa9850df7f8f8d94b |
|
BLAKE2b-256 | e86ed20cbc968d3d345c0683b7e403ffd0d441ba867e065395c7e1982086bad3 |