{"id":16119418,"url":"https://github.com/codingchili/lifx-circadian","last_synced_at":"2026-01-20T05:31:59.495Z","repository":{"id":87434419,"uuid":"222522061","full_name":"codingchili/lifx-circadian","owner":"codingchili","description":"Control LIFX lamps using cron expressions with the LAN protocol for polyphasic sleep","archived":false,"fork":false,"pushed_at":"2020-08-03T12:35:24.000Z","size":102,"stargazers_count":2,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T17:31:26.334Z","etag":null,"topics":["lifx","lifx-lan-protocol","polyphasic","python","web-components"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codingchili.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-18T18:59:04.000Z","updated_at":"2022-01-06T17:24:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e0d6e73-d870-4459-b99b-dba2ea8dcb91","html_url":"https://github.com/codingchili/lifx-circadian","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codingchili/lifx-circadian","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingchili%2Flifx-circadian","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingchili%2Flifx-circadian/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingchili%2Flifx-circadian/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingchili%2Flifx-circadian/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingchili","download_url":"https://codeload.github.com/codingchili/lifx-circadian/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingchili%2Flifx-circadian/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28596418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T02:08:49.799Z","status":"ssl_error","status_checked_at":"2026-01-20T02:08:44.148Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["lifx","lifx-lan-protocol","polyphasic","python","web-components"],"created_at":"2024-10-09T20:54:05.521Z","updated_at":"2026-01-20T05:31:59.480Z","avatar_url":"https://github.com/codingchili.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lifx-circadian\nSmall python script to control on/off for LIFX lamps using the LAN protocol. The LIFX application has support for configuring day/nighttime cycles but does only support monophasic sleep, how traditional.\n\nMore information on alternatives to monophasic sleep here: [polyphasic.net](https://polyphasic.net/)\n\n![screenshot sample](preview.png)\n\n_Web interface in progress._\n\n### Installation\n\nRequires python 3.6.3+ for asyncio.\n\n```console\npip install aiocron, lifxlan, pyyaml\ncd web\nnpm install \u0026\u0026 polymer build\ncd ..\npython main.py\n```\n\n### Configuration\n\nThis is the sample configuration\n\n```yaml\n\n---  \nlamps:\n    - name: \"Candy\"\n      schema:\n          - power: False\n            transition: 180\n            cron: \"25 21 * * * 0\"\n          - power: True\n            transition: 60\n            cron: \"15 1 * * * 0\"\n          - power: False\n            transition: 180\n            cron: \"45 3 * * * 0\"\n          - power: True\n            transition: 60\n            cron: \"40 7 * * * 0\"\n    - name: \"LIFX Flory\"\n      schema:\n          - power: True\n            brightness: 0.5\n            saturation: 1.0\n            transition: 60\n            color: '#ff00cc'\n            cron: \"49 19 * * * 0\"\"\n```\n\nReplace lamp name with the label of the discovered lamps.\n\nLamps will start to power up/down when the expression triggers over time, as defined by the transition configuration.\n\n# Gaming mode\n\nSupports League of Legends integration, uses a lifx lamp to show the health of the active player.\n\nRun with \n\n```\npython main.py --lol \u003cLampName\u003e\n```\n\nRequires a League of Legends match to be running.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingchili%2Flifx-circadian","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingchili%2Flifx-circadian","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingchili%2Flifx-circadian/lists"}