{"id":18074359,"url":"https://github.com/zellyn/openers","last_synced_at":"2025-04-05T18:45:13.968Z","repository":{"id":66733382,"uuid":"398339631","full_name":"zellyn/openers","owner":"zellyn","description":"Gate and garage-opening code for Raspberry Pis and ESP32s","archived":false,"fork":false,"pushed_at":"2021-08-24T12:30:38.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T19:03:24.975Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zellyn.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":"2021-08-20T16:34:52.000Z","updated_at":"2021-08-24T12:30:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"43904dd7-08ef-48e5-9c12-93ef1f3bb3f2","html_url":"https://github.com/zellyn/openers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zellyn%2Fopeners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zellyn%2Fopeners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zellyn%2Fopeners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zellyn%2Fopeners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zellyn","download_url":"https://codeload.github.com/zellyn/openers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247385623,"owners_count":20930599,"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-31T10:12:21.517Z","updated_at":"2025-04-05T18:45:13.944Z","avatar_url":"https://github.com/zellyn.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openers\nGate and garage-opening code for Raspberry Pis and ESP32s.\n\nThe plan is to be able to open my gate and garage remotely, by driving simple\nsingle-frequency transmitters first from a Raspberry Pi, and later from an\nESP32.\n\n# Commandline examples\n\n```bash\n# Open (my) gate\nsudo chrt -f -r 99 openers secplus transmitv2 --rolling=123456789 --fixed=1222022221850123456789 --pin=12\n```\n\n# Building\n\n## For (my) Raspberry Pi Zero W\n\n```bash\nGOOS=linux GOARCH=arm GOARM=5 go build . \u0026\u0026 scp openers pi@pizero:openers\n```\n\n# Sub-packages\n\n## secplus\n\nPackage secplus implements Security+2.0 encoding.\n\nWriting it would not have been possible without the work done by @argilo in\ndecoding the Security+2.0 protocol for their excellent [Python `secplus`\npackage](https://github.com/argilo/secplus), and the helpful debugging by\n@acoursen in understanding longer transmissions (argilo/secplus#6).\n\n## megacode\n\nPackage megacode implements MegaCode encoding.\n\nWriting it would have been difficult without the work done by CuVoodoo in\ndescribing and decoding the MegaCode protocol on their excellent [MegaCode\nhacking page](https://wiki.cuvoodoo.info/doku.php?id=megacode).\n\n## gpiod\n\nPackage gpiod exists simply to wrap github.com/warthog618/gpiod on Linux, and\nprovide a dummy implementation on other platforms, so that things will still\ncompile. Only functions and types actually used by the other code have been\nadded to the dummy implementation.\n\n# Todos\n\nNext steps for my development (likely to get done soon):\n\n- [x] Security+: Write code to actually transmit by driving a Raspberry Pi pin\n- [x] Write a commandline app for testing\n- [ ] Implement MegaCode encoding\n- [ ] Implement MegaCode Raspberry Pi transmission\n\nFuture (PRs welcome!):\n\n- [ ] Convert these TODOs into issues\n- [ ] Add Security+2.0 decoding\n- [ ] Add Security+ encoding/decoding","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzellyn%2Fopeners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzellyn%2Fopeners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzellyn%2Fopeners/lists"}