{"id":23458159,"url":"https://github.com/lawrencebensaid/enet-api","last_synced_at":"2025-10-24T18:09:11.752Z","repository":{"id":40123695,"uuid":"348423328","full_name":"lawrencebensaid/enet-api","owner":"lawrencebensaid","description":"eNet smart home API and CLI.","archived":false,"fork":false,"pushed_at":"2023-01-07T19:30:31.000Z","size":43,"stargazers_count":7,"open_issues_count":2,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-08T13:12:57.755Z","etag":null,"topics":["api","cli","enet","enet-api"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lawrencebensaid.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}},"created_at":"2021-03-16T16:48:39.000Z","updated_at":"2023-07-08T19:31:09.000Z","dependencies_parsed_at":"2023-02-07T23:01:18.549Z","dependency_job_id":null,"html_url":"https://github.com/lawrencebensaid/enet-api","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lawrencebensaid/enet-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrencebensaid%2Fenet-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrencebensaid%2Fenet-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrencebensaid%2Fenet-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrencebensaid%2Fenet-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lawrencebensaid","download_url":"https://codeload.github.com/lawrencebensaid/enet-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lawrencebensaid%2Fenet-api/sbom","scorecard":{"id":580309,"data":{"date":"2025-08-11","repo":{"name":"github.com/lawrencebensaid/enet-api","commit":"6419cc6691121ead9cd48c4b8dc9620c828b97e7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Code-Review","score":0,"reason":"Found 0/8 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":"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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"}}]},"last_synced_at":"2025-08-20T19:00:48.590Z","repository_id":40123695,"created_at":"2025-08-20T19:00:48.590Z","updated_at":"2025-08-20T19:00:48.590Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280841834,"owners_count":26400517,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","cli","enet","enet-api"],"created_at":"2024-12-24T05:16:40.909Z","updated_at":"2025-10-24T18:09:11.720Z","avatar_url":"https://github.com/lawrencebensaid.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eNet API \u0026 CLI\n\nAPI and CLI for eNet smart home.\n\n**To install the CLI on your device**\n\n`$ npm install -g enet-api`\n\n**To add the API to your project as dependency**\n\n`$ npm install enet-api`\n\n## Implementing the API\n\n```js\nconst { ENet } = require(\"enet-api\");\n\n(async () =\u003e {\n\n  // Authenticate with eNet server\n  const enet = new ENet(\"192.168.0.7\");\n  const token = await enet.authenticate(\"admin\", \"admin\");\n\n  // Power on the first device in the array.\n  const devices = await enet.getDevices();\n  await enet.setDevicePrimaryState(devices[0].deviceUID, true);\n\n})();\n\n```\n\n\n## Using the CLI\n```\nUsage: main [options] [command]\n\neNet Smart Home utility CLI.\n\nOptions:\n  -V, --version                                output the version number\n  -d, --debug                                  Debug\n  -j, --json                                   JSON\n  -p, --pretty                                 Pretty printed\n  -s, --include-state                          Include device state in device list (when executing 'enet device ls')\n  -h, --help                                   display help for command\n\nCommands:\n  auth \u003cusername\u003e \u003cpassword\u003e \u003chostname\u003e        authenticate with eNet\n  deauth                                       Authenticate with eNet interface.\n  location \u003ccommand\u003e                           manage locations\n  project \u003ccommand\u003e [project]                  manage devices\n  device \u003cuid/ls\u003e [action] [function] [value]  manage devices\n  function \u003cfuid\u003e \u003caction\u003e                     manage devices\n  get \u003ccommand\u003e                                manage variables\n  set \u003ccommand\u003e \u003cvalue\u003e                        manage variables\n  help [command]                               display help for command\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawrencebensaid%2Fenet-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flawrencebensaid%2Fenet-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flawrencebensaid%2Fenet-api/lists"}