{"id":20121445,"url":"https://github.com/networld-to/homecontrol","last_synced_at":"2026-05-08T20:33:54.660Z","repository":{"id":57527685,"uuid":"100761657","full_name":"networld-to/homecontrol","owner":"networld-to","description":"Internet of Things (IoT) home control unit. Philips Hue light control GRPC service.","archived":false,"fork":false,"pushed_at":"2024-12-03T02:32:29.000Z","size":158,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-02T20:20:30.962Z","etag":null,"topics":["go","golang","grpc","iot","philips-hue","protobuf"],"latest_commit_sha":null,"homepage":"","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/networld-to.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}},"created_at":"2017-08-19T01:27:08.000Z","updated_at":"2024-12-03T02:29:08.000Z","dependencies_parsed_at":"2023-12-12T15:54:36.138Z","dependency_job_id":null,"html_url":"https://github.com/networld-to/homecontrol","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/networld-to/homecontrol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networld-to%2Fhomecontrol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networld-to%2Fhomecontrol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networld-to%2Fhomecontrol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networld-to%2Fhomecontrol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/networld-to","download_url":"https://codeload.github.com/networld-to/homecontrol/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networld-to%2Fhomecontrol/sbom","scorecard":{"id":681233,"data":{"date":"2025-08-11","repo":{"name":"github.com/networld-to/homecontrol","commit":"9432a288189e23e8fab672be76641d3cbb620ee6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/28 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml:1","Warn: no topLevel permission defined: .github/workflows/trivy.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/networld-to/homecontrol/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/networld-to/homecontrol/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/trivy.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/networld-to/homecontrol/trivy.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/trivy.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/networld-to/homecontrol/trivy.yml/main?enable=pin","Warn: containerImage not pinned by hash: .devcontainer/Dockerfile:5","Warn: containerImage not pinned by hash: Dockerfile:2","Warn: downloadThenRun not pinned by hash: .devcontainer/library-scripts/common-debian.sh:154","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T23:14:02.945Z","repository_id":57527685,"created_at":"2025-08-21T23:14:02.946Z","updated_at":"2025-08-21T23:14:02.946Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32795997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["go","golang","grpc","iot","philips-hue","protobuf"],"created_at":"2024-11-13T19:29:11.483Z","updated_at":"2026-05-08T20:33:54.639Z","avatar_url":"https://github.com/networld-to.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\n[![Go](https://github.com/networld-to/homecontrol/workflows/Go/badge.svg)](https://github.com/networld-to/homecontrol/actions?query=workflow%3AGo)\n[![Go Report Card](https://goreportcard.com/badge/github.com/networld-to/homecontrol)](https://goreportcard.com/report/github.com/networld-to/homecontrol)\n\nCollection of different IoT services implemented in golang with the help of\ngRPC and Protobuf.\n\nThe first implemented service allows the control of Philips Hue lights if\nthey are in the same network or if the Philips Hub API is accessible.\n\nSequence Diagrams under [./doc/DIAGRAMS.md](./doc/DIAGRAMS.md)\n\n# Getting Started\n\n    # If not yet done create Philips Hue credentials and follow the instructions printed to STDOU\n    $ go run setup/add-application.go\n\n    # Build server and client.\n    # Install server and client to ${GOPATH}/bin\n    make all\n\n    # Install server and client to ${GOPATH}/bin\n    make install\n\n    # Build and start docker image\n    make docker-build docker-run\n\n    # Clean generate protobuf and binaries\n    make clean\n\n    # Start local server with TLS\n    go run server/main.go -tls\n\n    # Blink lights that are part of group 2 via homecontrol service hosted\n    # locally.\n    go run client/main.go -host 127.0.0.1:50051 -tls -cmd blink -group 2\n\n    # Dockerized client example with service hosted under 192.168.1.2\n    docker run -it --rm networld/homecontrol /client -host 192.168.1.2:50051 -cmd blink\n\n    # Dockerized client example with service hosted under 192.168.1.2. TLS support\n    make tls\n    docker run -it --rm --name homecontrol -v ~/.homecontrol:/.homecontrol networld/homecontrol /client -host 192.168.1.2:50051 -tls -cmd blink\n    docker exec -it homecontrol /client -tls\n\n# Examples: Client\n\n    # Change the lights in group 3 to GREEN\n    $ ./client/client -group 3 -cmd on -brightness 1 -sat 1 -hue 25500\n\n    # Change the lights in group 3 to RED\n    $ ./client/client -group 3 -cmd on -brightness 1 -sat 1 -hue 65535\n\n# Features\n\n* TLS encrypted connections\n* Lights: Philips Hue support\n\n# Appendix A: Directory Structure\n\n    ├─ api\n    │  ├─ generated                 # Generated Code from protobuf files\n    │  │  ├─ hue                        # Service 1 package\n    │  │  │  └─ hue.pb.go\n    │  │  └─ version                    # Service 2 package\n    │  │     └─ version.pb.go\n    │  └─ proto                     # All the protobuf service definitions\n    │     ├─ hue.proto\n    │     └─ version.proto\n    ├─ client                       # Client implementation, using api/generated code\n    │  ├─ client\n    │  └─ main.go\n    ├─ go.mod\n    ├─ go.sum\n    ├─ server                       # Server implementation, using api/generated code\n    │  ├─ hue.go\n    │  ├─ main.go\n    │  ├─ server\n    │  └─ version.go\n    └─ utils                        # Helper code used by client and server\n        └─ version.go\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworld-to%2Fhomecontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetworld-to%2Fhomecontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworld-to%2Fhomecontrol/lists"}