Skip to main content

No project description provided

Project description

Hue sunrise

pipeline status coverage report PyPi Code style: black Checked with mypy security: bandit Downloads

Enjoy waking up more gently by having your philips hue lights simulate a sunrise.

Installation

pip install hue-sunrise

Usage

First register your Hue bridge interactively

hue-sunrise register

Then simply call it with

hue-sunrise run

And view the config using

hue-sunrise config show

If you want to change the configuration use

hue-sunrise config ip               # IP address of your Hue bridge
hue-sunrise config lights           # lights which should participate
hue-sunrise config scene-length     # how many minutes the sunrise should take
hue-sunrise config afterglow        # how many minutes to stay lit after the sunrise

or, if you want to change where the configuration files are stored use the following environment variables

HS_CONFIG_PATH
HS_LOG_PATH

And finally if anything failed an you need to manually switch of the lights use

hue-sunrise shutdown

Thanks

The beautiful CLI is due to typer.

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

hue_sunrise-0.6.59.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

hue_sunrise-0.6.59-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page