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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hue_sunrise-0.6.59.tar.gz
Algorithm Hash digest
SHA256 cb2210ef740809edb73ae341f616956f6c6a61b924f5a279020163016f0d75df
MD5 7eddfe742726941048e2ab24250d544f
BLAKE2b-256 287158287cdd66e7e0eadcf948d00256aedd32f67dc2b0a0191b6824bb3dfcbe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hue_sunrise-0.6.59-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.15.154+

File hashes

Hashes for hue_sunrise-0.6.59-py3-none-any.whl
Algorithm Hash digest
SHA256 0fded8a865a9f1a8165257c4de346099b15956acccf6724f7efd8c025371e5f4
MD5 8812f2bfe413466b6927741e885cc0f9
BLAKE2b-256 f63c7c8412926abed75d36451055ce9dfb9fd282cf96088f30de226ccf1f499b

See more details on using hashes here.

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