{"id":17356850,"url":"https://github.com/davidramiro/fluxee","last_synced_at":"2025-04-14T23:32:02.924Z","repository":{"id":44101198,"uuid":"117879024","full_name":"davidramiro/fluxee","owner":"davidramiro","description":"💡 Controlling Yeelight smart lights corresponding to f.lux display color temperature","archived":false,"fork":false,"pushed_at":"2024-04-02T09:31:26.000Z","size":9779,"stargazers_count":65,"open_issues_count":0,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-10T13:57:12.866Z","etag":null,"topics":["python","smart-home","smarthome","yeelight"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidramiro.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}},"created_at":"2018-01-17T18:56:56.000Z","updated_at":"2025-01-02T08:52:54.000Z","dependencies_parsed_at":"2022-09-19T04:10:22.016Z","dependency_job_id":null,"html_url":"https://github.com/davidramiro/fluxee","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidramiro%2Ffluxee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidramiro%2Ffluxee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidramiro%2Ffluxee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidramiro%2Ffluxee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidramiro","download_url":"https://codeload.github.com/davidramiro/fluxee/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248978960,"owners_count":21192881,"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":["python","smart-home","smarthome","yeelight"],"created_at":"2024-10-15T18:59:03.166Z","updated_at":"2025-04-14T23:32:02.636Z","avatar_url":"https://github.com/davidramiro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fluxee\n\nSetting up a light scene with Yeelight smart lamps corresponding to your f.lux display temperature. Supports any number of lamps simultaneously.\n\n## Prerequisites\n\n- Python 3.11+\n- Pipenv\n- f.lux installed\n- Any Yeelight/Xiaomi/Mijia Wi-Fi lamp\n\n## Usage\n\n- Clone the repo\n- Run `pipenv install \u0026\u0026 pipenv shell`\n- Enable LAN Control on your lamps in the Yeelight app.\n- Create a copy of `config.yaml.default` called `config.yaml`\n- Find out your lamp's IP addresses and put them into `config.yaml`.\n- If you know your lamp's color temperature range you should set it in the config file aswell. If you don't know it, the script will use the widest range possible but you might get an error message. It will still work, though.\n- In f.lux settings enter `http://127.0.0.1:8080/room_1` in the bottom URL\n- Run `python fluxee.py`\n\n## Important note\n\nKeep in mind that your f.lux settings might not match your lamp's capabilities. For example, my Yeelight RGBW Bulb supports 1700K to 6500K, my Mi Desk Lamp only 2700K to 6500K. On default, f.lux ranges from 1900K to 6500K, its effectiveness may vary depending on your lamp. If you're very sensitive even 2700K might not be dim enough for you to achieve full melatonin secretion.\n\n## Potential Issues\n\nSome people seem to have issues getting the script to work flawlessly with the Xiaomi Mi LED Desk Lamp (Xiaomi Mijia Yeelight MJTD01YL). For me it works most of the time with an occasional error regarding the power state of the lamp. Disabling the state check in the `config.ini` might help.\n\n## Credits\n\nThanks to [ekzi](https://github.com/mikhail-ekzi) for providing the idea and basis behind this project!\n\nGratefully using the [Yeelight python library](https://gitlab.com/stavros/python-yeelight) by Stavros Korokithakis.  \nCopyright (c) 2016, Stavros Korokithakis  \nAll rights reserved.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidramiro%2Ffluxee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidramiro%2Ffluxee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidramiro%2Ffluxee/lists"}