Skip to main content

Control Philips Hue using AsyncIO

Project description

# AioPhue

A port of [Phue]( to AsyncIO using
AioHTTP to communicate with the bridge.

## Examples

AioPhue's API is similar to the one of the original library, but uses
coroutines where possible / necessary.

from aiophue import AioBridge

b = await AioBridge.get_bridge("BRIDGE IP")
lights = await b.get_light_objects()
for light in lights:
if await light.is_reachable():
await light.turn_on()

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiophue-0.0.2.tar.gz (8.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page