Skip to main content

No project description provided

Project description

Hue sunrise

pipeline status coverage report PyPi Code style: black Checked with mypy 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.27.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

hue_sunrise-0.6.27-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file hue_sunrise-0.6.27.tar.gz.

File metadata

  • Download URL: hue_sunrise-0.6.27.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.4.109+

File hashes

Hashes for hue_sunrise-0.6.27.tar.gz
Algorithm Hash digest
SHA256 ad4e6aba06b150dc61f52b17a440af07040c3b7d288f13706e1468ab9198f8a4
MD5 580415a2cccfeb9e4de710d6a2dbfb2f
BLAKE2b-256 8f8b657d35520465818277cddf1285de1b73728156250094886de3bb3b1bf8f6

See more details on using hashes here.

Provenance

File details

Details for the file hue_sunrise-0.6.27-py3-none-any.whl.

File metadata

  • Download URL: hue_sunrise-0.6.27-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.4.109+

File hashes

Hashes for hue_sunrise-0.6.27-py3-none-any.whl
Algorithm Hash digest
SHA256 6ac8612106c4425c3c7ad80802c9fe5ee92718ccb7fec05a16a579fb077bd15e
MD5 b536847b9b9e2bf9abfc65b1f8e3bf71
BLAKE2b-256 2bb5f848e66b018d4741951ef37b749adab6375b482dfe3c7b4866a821541d18

See more details on using hashes here.

Provenance

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