{"id":16554790,"url":"https://github.com/j178/xiaoai-shutdown-my-computer","last_synced_at":"2025-10-28T19:31:23.465Z","repository":{"id":234164382,"uuid":"624507022","full_name":"j178/xiaoai-shutdown-my-computer","owner":"j178","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-07T13:45:08.000Z","size":6,"stargazers_count":17,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-18T11:23:54.447Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/j178.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-04-06T16:10:27.000Z","updated_at":"2024-04-18T11:23:59.314Z","dependencies_parsed_at":"2024-04-18T11:23:58.238Z","dependency_job_id":"7446087c-4348-4e94-978a-cb1169362f5b","html_url":"https://github.com/j178/xiaoai-shutdown-my-computer","commit_stats":null,"previous_names":["j178/xiaoai-shutdown-my-computer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fxiaoai-shutdown-my-computer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fxiaoai-shutdown-my-computer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fxiaoai-shutdown-my-computer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j178%2Fxiaoai-shutdown-my-computer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j178","download_url":"https://codeload.github.com/j178/xiaoai-shutdown-my-computer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219858921,"owners_count":16556039,"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":[],"created_at":"2024-10-11T19:52:21.896Z","updated_at":"2025-10-28T19:31:18.115Z","avatar_url":"https://github.com/j178.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 用小爱同学控制电脑\r\n\r\n## 使用步骤\r\n\r\n1. 搜索下载 \"点灯 Blinker\" app\r\n2. 注册并登录，添加设备，选择 \"独立设备\"，选择网络接入，复制这里的 key\r\n3. `export AUTH_KEY=xxx` python3 main.py\r\n4. 这时在点灯 app 中应该可以看到一个在线设备，为它起一个合适的名字，之后会这个名字来控制，我这里取名为 \"PC\"\r\n5. 在米家 - 我的 - 连接其他平台 中选择 \"点灯科技\"，绑定点灯的账号\r\n6. 选择同步设备，即可将点灯中的设备同步到米家，现在就可以通过小爱同学来控制你的电脑了\r\n\r\n## 指令\r\n\r\n因为原理是将这台电脑模拟为一个台灯，用小爱同学控制它。所以可以通过小爱同学来控制开关、调节模式、控制色温\r\n\r\n1. 关机：\"小爱同学，将 PC 关机\"\r\n2. 静音：\"小爱同学，将 PC 设为夜间模式\"\r\n3. 取消静音：\"小爱同学，将 PC 设为日光模式\"\r\n4. 调节音量: \"小爱同学，将 PC 的色温调到 5000\" (色温的范围是 1000-10000，对应音量从0-100)\r\n\r\n## 已知问题\r\n\r\n目前 blinker 的 SDK 在收到小爱同学的请求时，回复指令的执行结果时会有问题，导致小爱同学总是会回复 \"要操作的设备好像出问题了\"，但实际上操作时成功的。\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj178%2Fxiaoai-shutdown-my-computer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj178%2Fxiaoai-shutdown-my-computer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj178%2Fxiaoai-shutdown-my-computer/lists"}