{"id":17175949,"url":"https://github.com/sudermanjr/led-controller","last_synced_at":"2025-04-13T17:05:39.950Z","repository":{"id":42297718,"uuid":"234785428","full_name":"sudermanjr/led-controller","owner":"sudermanjr","description":"Golang Code, Image Builder, and PCB for a Pi-ZeroW NeoPixel Controller","archived":false,"fork":false,"pushed_at":"2023-03-03T12:29:10.000Z","size":1394,"stargazers_count":5,"open_issues_count":10,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-21T23:43:12.968Z","etag":null,"topics":["golang","gpio","homekit","kicad-schematics","neopixels","raspberry-pi","ws281x"],"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/sudermanjr.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}},"created_at":"2020-01-18T19:24:59.000Z","updated_at":"2024-04-02T08:35:44.000Z","dependencies_parsed_at":"2024-06-20T00:14:19.006Z","dependency_job_id":"40661703-fbc7-4ed0-949a-26b48c40029f","html_url":"https://github.com/sudermanjr/led-controller","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudermanjr%2Fled-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudermanjr%2Fled-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudermanjr%2Fled-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sudermanjr%2Fled-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sudermanjr","download_url":"https://codeload.github.com/sudermanjr/led-controller/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240361648,"owners_count":19789520,"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":["golang","gpio","homekit","kicad-schematics","neopixels","raspberry-pi","ws281x"],"created_at":"2024-10-14T23:58:29.265Z","updated_at":"2025-02-23T18:34:41.879Z","avatar_url":"https://github.com/sudermanjr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LED Controller\n\nThis is a project to control NeoPixel lights with a PiZeroW and golang\n\n## Homekit\n\n`led-controller homekit` will start this as a homekit device. Check the help for options, specifically the homekit pin. The homekit device will work with color and brightness controls once registered.\n\n## Dashboard\n\nCurrently under heavy development. The dashboard will allow viewing and controlling the neopixel strip.\n\n## Building your Pi Controller\n\nIn the [pi-builder](pi-builder) directory is the cloud-init for building my pi image using Hypriot. I have encrypted the cloud-init.yaml file using sops and pgp since it contains secrets. There's not much to this file, so it should be easy to re-create on your own if you like.\n\n## Compiling\n\nThis is cross-compiled for the Raspberry Pi using the instructions in the rpi-ws281x repository. This utilizes a build container that is based on the [Balena Golang Image](https://registry.hub.docker.com/r/balenalib/raspberry-pi-golang). If you are using a different Pi, you will want to change the base image in the [Dockerfile](Dockerfile)\n\nThe build commands are in the [Makefile](Makefile). You can `make build` to build the Docker container and then use that to build the binary for the Pi. At the end it will show the output of `file led-controller` to verify the type of the binary.\n\nThe build will also create a local `.tmp` directory for storing build cache so that subsequent builds are much much faster.\n\nAnother word of caution: This container build will utilize your local GOPATH and GOCACHE so that it doesn't have to download every package every time.\n\n## References\n\n- golang library: https://github.com/rpi-ws281x/rpi-ws281x-go\n- Pi Image Builder: https://github.com/hypriot/image-builder-rpi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudermanjr%2Fled-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsudermanjr%2Fled-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsudermanjr%2Fled-controller/lists"}