{"id":15371377,"url":"https://github.com/codingjoe/deelight","last_synced_at":"2026-05-01T15:38:32.607Z","repository":{"id":54851885,"uuid":"115865762","full_name":"codingjoe/deelight","owner":"codingjoe","description":"Night shift script for Xiaomi Mi Yeelight lights and light bulbs.","archived":false,"fork":false,"pushed_at":"2021-01-25T11:59:44.000Z","size":22,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T00:17:24.374Z","etag":null,"topics":["asyncio","home-automation","iot","python","raspberry-pi","yeelight"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codingjoe.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-31T13:53:23.000Z","updated_at":"2021-08-18T06:33:48.000Z","dependencies_parsed_at":"2022-08-14T04:50:12.468Z","dependency_job_id":null,"html_url":"https://github.com/codingjoe/deelight","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingjoe%2Fdeelight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingjoe%2Fdeelight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingjoe%2Fdeelight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingjoe%2Fdeelight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingjoe","download_url":"https://codeload.github.com/codingjoe/deelight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245931707,"owners_count":20695958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asyncio","home-automation","iot","python","raspberry-pi","yeelight"],"created_at":"2024-10-01T13:46:38.486Z","updated_at":"2026-05-01T15:38:32.541Z","avatar_url":"https://github.com/codingjoe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Deelight - Yeelight Daylight\n============================\n\n**Night shift script for Xiaomi Mi Yeelight lights and light bulbs.**\n\n\nSetup\n-----\n\nRaspberry Pi\n~~~~~~~~~~~~\n\nDownload setup the latest version of Rasbian_ on your Raspberry Pi.\n\n.. _Rasbian: https://www.raspberrypi.org/downloads/raspbian/\n\n\nNext install the following packages:\n\n.. code-block:: shell\n\n    sudo apt-get install python3-pip -y\n\nDeeelight\n~~~~~~~~~\n\nInstall the Python package\n\n.. code-block:: shell\n\n    sudo pip install deelight\n\nand run the deelight command\n\n.. code-block:: shell\n\n    deelight \"New York, US\" -v\n\n\nAutostart\n~~~~~~~~~\n\nIf you are running ``deelight`` on Raspbian or any other Debian system you can\nadd a simple upstart script. It will be executed once your network is up.\n\n.. code-block:: shell\n\n    sudo nano /etc/systemd/system/deelight.service\n\n.. code-block:: ini\n\n    [Unit]\n    Description=Daylight mode for Xiaomi Mi Yeelight\n    After=network-online.target\n\n    [Service]\n    Type=idle\n    ExecStart=/usr/bin/python3 /usr/local/bin/deelight Valletta -v\n    Restart=always\n\n    [Install]\n    WantedBy=multi-user.target\n\n.. code-block:: shell\n\n    sudo systemctl enable deelight.service\n    sudo service deelight start\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingjoe%2Fdeelight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingjoe%2Fdeelight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingjoe%2Fdeelight/lists"}