{"id":27389057,"url":"https://github.com/eternityx/go-vee","last_synced_at":"2025-06-26T20:08:18.991Z","repository":{"id":270641378,"uuid":"910983261","full_name":"EternityX/go-vee","owner":"EternityX","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-02T07:03:05.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T19:43:33.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/EternityX.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,"publiccode":null,"codemeta":null}},"created_at":"2025-01-02T01:14:35.000Z","updated_at":"2025-01-02T07:03:08.000Z","dependencies_parsed_at":"2025-01-02T04:22:24.084Z","dependency_job_id":"934531d1-0401-4ac1-bfd0-aed634595908","html_url":"https://github.com/EternityX/go-vee","commit_stats":null,"previous_names":["eternityx/go-vee"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EternityX%2Fgo-vee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EternityX%2Fgo-vee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EternityX%2Fgo-vee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EternityX%2Fgo-vee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EternityX","download_url":"https://codeload.github.com/EternityX/go-vee/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766738,"owners_count":21158301,"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":"2025-04-13T19:11:38.621Z","updated_at":"2025-04-13T19:11:39.186Z","avatar_url":"https://github.com/EternityX.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-vee\n\nControl Govee lights through a REST API written in Go.\n\n## Endpoints\n\n### Devices\n\n`GET api/v1/devices`\nGet a list of devices and their capabilities from the Govee cloud API.\n\n`GET api/v1/devices/lan`\nGet a list of devices and their capabilities that are connected to your Local Area Network (LAN).\n\n---\n\n### Control\n\n`POST api/v1/devices/control`\n\nYou can make a request to `GET api/v1/devices` to get a list of capabilities for your devices.\n\nAlternatively, you can [look at this reference](https://developer.govee.com/reference/get-you-devices) if you do not wish to use the Govee API at all.\n\nSwitch the light on\n\n```json\n{\n  \"sku\": \"H6022\",\n  \"device\": \"XX:XX:XX:XX:XX:XX:XX:XX\",\n  \"capability\": {\n    \"type\": \"devices.capabilities.on_off\",\n    \"instance\": \"powerSwitch\",\n    \"value\": 1\n  }\n}\n```\n\nSet brightness to 50%\n\n```json\n{\n  \"sku\": \"H6022\",\n  \"device\": \"XX:XX:XX:XX:XX:XX:XX:XX\",\n  \"capability\": {\n    \"type\": \"devices.capabilities.range\",\n    \"instance\": \"brightness\",\n    \"value\": 50\n  }\n}\n```\n\nSet the color to red\n\n```json\n{\n  \"sku\": \"H6022\",\n  \"device\": \"XX:XX:XX:XX:XX:XX:XX:XX\",\n  \"capability\": {\n    \"type\": \"devices.capabilities.color_setting\",\n    \"instance\": \"colorRgb\",\n    \"value\": 16711680\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feternityx%2Fgo-vee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feternityx%2Fgo-vee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feternityx%2Fgo-vee/lists"}