{"id":16024333,"url":"https://github.com/axelson/govee_phx","last_synced_at":"2025-10-26T18:06:18.041Z","repository":{"id":41900031,"uuid":"295067541","full_name":"axelson/govee_phx","owner":"axelson","description":"Phoenix LiveView interface to Govee H6001 LED Bulb","archived":false,"fork":false,"pushed_at":"2024-11-10T19:05:48.000Z","size":11334,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-11T08:54:46.029Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/axelson.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":"2020-09-13T03:02:20.000Z","updated_at":"2024-11-10T19:05:53.000Z","dependencies_parsed_at":"2024-10-27T17:27:39.305Z","dependency_job_id":null,"html_url":"https://github.com/axelson/govee_phx","commit_stats":{"total_commits":61,"total_committers":1,"mean_commits":61.0,"dds":0.0,"last_synced_commit":"639946b99a8c002ea78c4f60e9bbbe8f41993859"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelson%2Fgovee_phx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelson%2Fgovee_phx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelson%2Fgovee_phx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axelson%2Fgovee_phx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axelson","download_url":"https://codeload.github.com/axelson/govee_phx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243901331,"owners_count":20366252,"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-08T19:06:33.637Z","updated_at":"2025-10-26T18:06:13.022Z","avatar_url":"https://github.com/axelson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"TODO:\n- [ ] create interface over scenic conn and govee device\n  - Currently I'm working around this by relying on the name\n  - Maybe Govee get_conns should return a Conn (translated from a device?)\n  - i.e. Conn can be the translation layer so that govee_phx doesn't need to know about a raw device\n- [ ] Clean up \"GoveePhx.ScenicThing\"\n- [ ] General code cleanup\n- [x] See where a driver is being started\n  - And then pass the default scene another way so we can listen to the correct topic for each scenic conn\n- [x] Get multiple govee scenic windows to work at the same time\n- [ ] Provide a cleaner way to get a named govee scenic conn\n  - Probably involves passing in an identifier in instead of loading from config at init time\n- [ ] Track and display connection status per device\n  - How should this be communicated? Phoenix PubSub?\n- [ ] Should govee scenic pubsub be configurable? Right now it's hard-coded\n- [x] Remove raw GenServer.call's\n- [x] Sync brightness?\n- [ ] Need to handle either adding dynamic or static devices (i.e. for BLE devices they will probably be mostly configured)\n- [x] Test with an actual device\n\n\n\n# GoveePhx\n\nA simple Phoenix LiveView interface to a Govee H6001 LED bulb. Built with\n[BlueHeron](https://github.com/smartrent/blue_heron/). The code to actually\ncontrol the govee H6001 can be found at https://github.com/axelson/govee\n\n![screenshot](screenshot.png)\n\n![demo](demo.gif)\n\n## Running\n\nPre-req: after first compiling, run `./contrib/fix-perms.sh`\n\nTo start your Phoenix server:\n\n  * Install dependencies with `mix deps.get`\n  * Install Node.js dependencies with `npm install --prefix assets`\n  * Start Phoenix endpoint with `mix phx.server`\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\n## Updating\n\nRun `mix assets.deploy` before pushing to git\n\nThis is important because this is how the top-level application pulls the latest assets (especially js)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxelson%2Fgovee_phx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxelson%2Fgovee_phx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxelson%2Fgovee_phx/lists"}