{"id":38745953,"url":"https://github.com/swrm-io/go-vee","last_synced_at":"2026-02-03T09:13:01.435Z","repository":{"id":313860656,"uuid":"1052871678","full_name":"swrm-io/go-vee","owner":"swrm-io","description":"Golang Govee API Library","archived":false,"fork":false,"pushed_at":"2025-12-16T17:01:57.000Z","size":52,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-19T06:31:29.334Z","etag":null,"topics":["api","govee","home-automation","lights"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swrm-io.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-08T17:02:29.000Z","updated_at":"2025-12-16T17:01:36.000Z","dependencies_parsed_at":"2025-09-09T08:26:56.292Z","dependency_job_id":"f703f602-78bf-4ec1-8151-c7ae5a11ab65","html_url":"https://github.com/swrm-io/go-vee","commit_stats":null,"previous_names":["swrm-io/go-vee"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/swrm-io/go-vee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swrm-io%2Fgo-vee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swrm-io%2Fgo-vee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swrm-io%2Fgo-vee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swrm-io%2Fgo-vee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swrm-io","download_url":"https://codeload.github.com/swrm-io/go-vee/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swrm-io%2Fgo-vee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29039348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T08:41:49.363Z","status":"ssl_error","status_checked_at":"2026-02-03T08:40:19.255Z","response_time":96,"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":["api","govee","home-automation","lights"],"created_at":"2026-01-17T11:45:36.546Z","updated_at":"2026-02-03T09:13:01.429Z","avatar_url":"https://github.com/swrm-io.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go-Vee\n\nGo-Vee is a Go library for controlling Govee smart devices over the local network. It provides a simple API to discover devices, send commands, and receive status updates using UDP multicast and unicast communication.\n\n## Features\n- Device discovery via multicast\n- Turn devices on/off\n- Toggle device state\n- Set brightness\n- Set color (RGB)\n- Set color temperature (Kelvin)\n- Device status and response handling\n\n## Installation\nAdd Go-Vee to your project:\n\n```sh\ngo get github.com/swrm-io/go-vee\n```\n\n## Usage\n\n### 1. Create a Controller\n```go\nimport (\n    \"log/slog\"\n    \"github.com/swrm-io/go-vee\"\n)\n\nlogger := slog.New(slog.NewTextHandler(os.Stdout, nil))\ncontroller := govee.NewController(logger)\ngo func() {\n    err := controller.Start()\n    if err != nil {\n        logger.Error(\"Failed to start controller\", \"error\", err)\n    }\n}\n\ntime.Sleep(1 * time.Minute)\ncontroller.Shutdown()\n```\n\n### 2. Discover Devices\nDevices are discovered automatically. You can access them via:\n```go\ndevices := controller.Devices()\n```\nor by IP\n```go\nmydevice := controller.DeviceByIP(\"192.168.0.130\")\n```\n\n### 3. Send Commands\n```go\ndevice := controller.DeviceByIP(\"192.168.0.130\")\ndevice.TurnOn()\ndevice.SetBrightness(80)\ndevice.SetColor(govee.Color{R: 255, G: 0, B: 0}) // Red\n```\n\n## Contributing\nPull requests and issues are welcome!\n\n## License\nApache License 2.0\nSee the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswrm-io%2Fgo-vee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswrm-io%2Fgo-vee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswrm-io%2Fgo-vee/lists"}