hue-sunrise


Namehue-sunrise JSON
Version 0.6.56 PyPI version JSON
download
home_pageNone
SummaryNone
upload_time2024-05-27 01:05:49
maintainerNone
docs_urlNone
authorMarvin van Aalst
requires_python<4.0,>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hue sunrise

[![pipeline status](https://gitlab.com/marvin.vanaalst/hue-sunrise/badges/main/pipeline.svg)](https://gitlab.com/marvin.vanaalst/hue-sunrise/-/commits/main)
[![coverage report](https://gitlab.com/marvin.vanaalst/hue-sunrise/badges/main/coverage.svg)](https://gitlab.com/marvin.vanaalst/hue-sunrise/-/commits/main)
[![PyPi](https://img.shields.io/pypi/v/hue-sunrise)](https://pypi.org/project/hue-sunrise/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
[![Downloads](https://pepy.tech/badge/hue-sunrise)](https://pepy.tech/project/hue-sunrise)

Enjoy waking up more gently by having your [philips hue](https://www.philips-hue.com/de-de) lights simulate a sunrise.

## Installation

```bash
pip install hue-sunrise
```

## Usage

First register your Hue bridge interactively

```bash
hue-sunrise register
```

Then simply call it with

```bash
hue-sunrise run
```

And view the config using

```bash
hue-sunrise config show
```

If you want to change the configuration use

```bash
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

```bash
HS_CONFIG_PATH
HS_LOG_PATH
```


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

```bash
hue-sunrise shutdown
```

## Thanks

The beautiful CLI is due to [typer](https://typer.tiangolo.com/).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "hue-sunrise",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Marvin van Aalst",
    "author_email": "marvin.vanaalst@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/10/49/23069cc6d6cbdc156bd0761212c4cecafb1e48a18c76d9b24bccb61ac48a/hue_sunrise-0.6.56.tar.gz",
    "platform": null,
    "description": "# Hue sunrise\n\n[![pipeline status](https://gitlab.com/marvin.vanaalst/hue-sunrise/badges/main/pipeline.svg)](https://gitlab.com/marvin.vanaalst/hue-sunrise/-/commits/main)\n[![coverage report](https://gitlab.com/marvin.vanaalst/hue-sunrise/badges/main/coverage.svg)](https://gitlab.com/marvin.vanaalst/hue-sunrise/-/commits/main)\n[![PyPi](https://img.shields.io/pypi/v/hue-sunrise)](https://pypi.org/project/hue-sunrise/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n[![security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)\n[![Downloads](https://pepy.tech/badge/hue-sunrise)](https://pepy.tech/project/hue-sunrise)\n\nEnjoy waking up more gently by having your [philips hue](https://www.philips-hue.com/de-de) lights simulate a sunrise.\n\n## Installation\n\n```bash\npip install hue-sunrise\n```\n\n## Usage\n\nFirst register your Hue bridge interactively\n\n```bash\nhue-sunrise register\n```\n\nThen simply call it with\n\n```bash\nhue-sunrise run\n```\n\nAnd view the config using\n\n```bash\nhue-sunrise config show\n```\n\nIf you want to change the configuration use\n\n```bash\nhue-sunrise config ip               # IP address of your Hue bridge\nhue-sunrise config lights           # lights which should participate\nhue-sunrise config scene-length     # how many minutes the sunrise should take\nhue-sunrise config afterglow        # how many minutes to stay lit after the sunrise\n```\n\nor, if you want to change where the configuration files are stored use the following environment variables\n\n```bash\nHS_CONFIG_PATH\nHS_LOG_PATH\n```\n\n\nAnd finally if anything failed an you need to manually switch of the lights use\n\n```bash\nhue-sunrise shutdown\n```\n\n## Thanks\n\nThe beautiful CLI is due to [typer](https://typer.tiangolo.com/).\n",
    "bugtrack_url": null,
    "license": null,
    "summary": null,
    "version": "0.6.56",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "975a8155f2e40255a093e88acd089caf117a029813145c79d55ada9f6bf3f0ed",
                "md5": "baaf7bbc6be7498a85e61d564f089733",
                "sha256": "3c8da813baa297930f8c5cbef27a49c70dde06392939e7ef8b241175f8caa302"
            },
            "downloads": -1,
            "filename": "hue_sunrise-0.6.56-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "baaf7bbc6be7498a85e61d564f089733",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 7633,
            "upload_time": "2024-05-27T01:05:47",
            "upload_time_iso_8601": "2024-05-27T01:05:47.604362Z",
            "url": "https://files.pythonhosted.org/packages/97/5a/8155f2e40255a093e88acd089caf117a029813145c79d55ada9f6bf3f0ed/hue_sunrise-0.6.56-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "104923069cc6d6cbdc156bd0761212c4cecafb1e48a18c76d9b24bccb61ac48a",
                "md5": "5c0f19e8902e3f0dd2fba6de9b0327a6",
                "sha256": "1e26d62fb6157952b37383945b70fa0d92c4e0793cfc3bc510b8d6149cb8f3be"
            },
            "downloads": -1,
            "filename": "hue_sunrise-0.6.56.tar.gz",
            "has_sig": false,
            "md5_digest": "5c0f19e8902e3f0dd2fba6de9b0327a6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 6450,
            "upload_time": "2024-05-27T01:05:49",
            "upload_time_iso_8601": "2024-05-27T01:05:49.385533Z",
            "url": "https://files.pythonhosted.org/packages/10/49/23069cc6d6cbdc156bd0761212c4cecafb1e48a18c76d9b24bccb61ac48a/hue_sunrise-0.6.56.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-27 01:05:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "hue-sunrise"
}
        
Elapsed time: 0.26636s