{"id":25654260,"url":"https://github.com/bert2/mediocre","last_synced_at":"2026-02-19T06:31:33.379Z","repository":{"id":40264415,"uuid":"282994591","full_name":"bert2/mediocre","owner":"bert2","description":"Turn your Xiaomi Yeelight into an ambient light by synchronizing it with the average color of your screen :chicken:","archived":false,"fork":false,"pushed_at":"2022-11-08T12:01:05.000Z","size":48,"stargazers_count":1,"open_issues_count":3,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T09:55:42.835Z","etag":null,"topics":["ambient-light","xiaomi-yeelight","yeelight-api","yeelight-devices"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bert2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-27T19:23:08.000Z","updated_at":"2021-03-22T14:07:22.000Z","dependencies_parsed_at":"2022-07-22T08:22:21.350Z","dependency_job_id":null,"html_url":"https://github.com/bert2/mediocre","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bert2%2Fmediocre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bert2%2Fmediocre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bert2%2Fmediocre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bert2%2Fmediocre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bert2","download_url":"https://codeload.github.com/bert2/mediocre/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249252446,"owners_count":21238187,"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":["ambient-light","xiaomi-yeelight","yeelight-api","yeelight-devices"],"created_at":"2025-02-23T20:19:02.205Z","updated_at":"2025-10-16T14:11:39.320Z","avatar_url":"https://github.com/bert2.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mediocre\n\nTurn your Xiaomi Yeelight into an ambient light by synchronizing it with the average color of your screen.\n\n## Quick start\n\nUse the first Yeelight that is discovered and sync it with the average color of the primary screen:\n\n```powershell\nPS\u003e mediocre sync\n```\n\n## Know problems\n\n### Average color is always black/dark when watching Netflix\n\nNetflix' DRM protection might cause screenshots to only contain a black rectangle in place of the video image. This prevents mediocre from calculating the correct average color. The only solution I know is to use Netflix with Chrome or Firefox.\n\n**Not** working:\n\n* Netflix Windows 10 Store App\n* Netflix in Internet Explorer, Edge, or Safari\n\nWorking:\n\n* Netflix in Chrome or Firefox\n\n## TODO\n\nBasically everything is still work in progress. This is what's planned:\n\n- install via choco\n- select device (select all devices by default)\n- print runtime stats\n- select application instead of screen as capture surface?\n- send avg color to stdout (in configurable formats) to use mediocre with other devices\n- read colors from stdin (in different formats) to use mediocre with other tools that generate colors\n- list available devices\n- utilities like turn on/off, set color/brightness\n- verify BitBlt() does not need to convert the color format (minimize runtime costs)\n\n## Credits\n\n- https://github.com/roddone/YeelightAPI\n- https://github.com/commandlineparser/commandline\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbert2%2Fmediocre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbert2%2Fmediocre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbert2%2Fmediocre/lists"}