{"id":34095520,"url":"https://github.com/indoorcorgi/cgpmgr","last_synced_at":"2026-04-06T09:01:36.780Z","repository":{"id":62561612,"uuid":"403222714","full_name":"IndoorCorgi/cgpmgr","owner":"IndoorCorgi","description":"Raspberry Pi用電源管理、制御基板「RPZ-PowerMGR」コントロールツールです。Controller tool of Raspberry Pi power management expansion board \"RPZ-PowerMGR\"","archived":false,"fork":false,"pushed_at":"2024-10-11T13:23:46.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-16T19:08:37.857Z","etag":null,"topics":["power-bank","power-management","raspberry-pi"],"latest_commit_sha":null,"homepage":"https://www.indoorcorgielec.com/products/rpz-powermgr/","language":"Python","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/IndoorCorgi.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-09-05T05:22:50.000Z","updated_at":"2025-03-23T08:07:46.000Z","dependencies_parsed_at":"2024-07-27T13:50:03.566Z","dependency_job_id":null,"html_url":"https://github.com/IndoorCorgi/cgpmgr","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/IndoorCorgi/cgpmgr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndoorCorgi%2Fcgpmgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndoorCorgi%2Fcgpmgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndoorCorgi%2Fcgpmgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndoorCorgi%2Fcgpmgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IndoorCorgi","download_url":"https://codeload.github.com/IndoorCorgi/cgpmgr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndoorCorgi%2Fcgpmgr/sbom","scorecard":{"id":66237,"data":{"date":"2025-08-11","repo":{"name":"github.com/IndoorCorgi/cgpmgr","commit":"8565c4e95d67cd12ba48b530c582f5797c73df97"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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/30 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":"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":"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":"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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: 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 'master'"],"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-15T02:39:27.485Z","repository_id":62561612,"created_at":"2025-08-15T02:39:27.485Z","updated_at":"2025-08-15T02:39:27.485Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31466228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"last_error":"SSL_read: 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":["power-bank","power-management","raspberry-pi"],"created_at":"2025-12-14T15:14:36.646Z","updated_at":"2026-04-06T09:01:36.773Z","avatar_url":"https://github.com/IndoorCorgi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 概要\nRaspberry Pi / Jetson Nano用電源管理、制御基板「[RPZ-PowerMGR](https://www.indoorcorgielec.com/products/rpz-powermgr/)」コントロールツールです。本ソフトウェアをインストール後にcgpmgrコマンドが使用できるようになり、以下のことが可能になります。\n\n- RPZ-PowerMGR基板の設定の変更\n- 電源ON/OFFするスケジュール日時の追加、削除、インポート、エクスポート\n- Raspberry Pi / Jetson本体の消費電流の測定、エクスポート\n- RPZ-PowerMGR基板のファームウェア更新\n\nRaspberry PiやJetson Nanoは便利なシングルボードコンピュータですが、次のような悩みを持ったことはありませんか？\n\n- USBケーブルを抜き差ししないと電源をON、OFFできない\n- ネットワークや遠隔から電源をOFFできない\n- インターネットに繋がっていないと時刻がずれる\n- 決まった時間だけ起動して消費電力を抑えたい\n- モバイルバッテリーで長時間運用したい\n- どれくらい電力を消費しているか知りたい\n\n電源管理、省電力運用に必要な機能を網羅している「[RPZ-PowerMGR](https://www.indoorcorgielec.com/products/rpz-powermgr/)」拡張基板を使えばこれらの問題を全て解決できます。\n\n## 必要環境\n### ハードウェア\n\n- 40ピン端子を持つRaspberry Piシリーズ\n- Jetson Nano\n\n### OS\n- Raspberry Pi OS\n- JetPack4.6\n\n## 動作確認済モデル\n- Raspberry Pi 4 Model B\n- Raspberry Pi 3 Model B/B+\n- Raspberry Pi Zero W/WH\n- Raspberry Pi Zero\n- Jetson Nano Developer Kit B01\n- Jetson Nano 2GB Developer Kit\n\n## インストール\n\n以下のコマンドでコントロールツールをインストール/アップグレードできます。取り付けやOSのセットアップ手順は[製品ページ](https://www.indoorcorgielec.com/products/rpz-powermgr/)を参照してください. \n\n### Raspberry Pi OS\n\n`sudo python3 -m pip install -U cgpmgr --break-system-packages`\n\n上記でエラーとなる場合は以下をお試しください. \n\n`sudo python3 -m pip install -U cgpmgr`\n\n### Jetson Nano\n\n`sudo python3 -m pip install -U cgpmgr`\n\n## 使い方\nコマンドラインから`cgpmgr -h`を実行することでオプションの解説が表示されます。シチュエーション別の使い方は、以下の解説記事をご参照下さい。\n\n- [スイッチでRaspberry Piの電源ON/OFF](https://www.indoorcorgielec.com/resources/raspberry-pi/rpz-powermgr-switch/)\n- [指定時刻にRaspberry Piの電源をON/OFF](https://www.indoorcorgielec.com/resources/raspberry-pi/rpz-powermgr-schedule/)\n- [Raspberry Piの消費電力測定\u0026モバイルバッテリー稼働時間の計算](https://www.indoorcorgielec.com/resources/raspberry-pi/rpz-powermgr-current/)\n- [定期撮影Raspberry Piカメラをモバイルバッテリーで長期運用](https://www.indoorcorgielec.com/resources/raspberry-pi/rpz-powermgr-battery-camera/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findoorcorgi%2Fcgpmgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findoorcorgi%2Fcgpmgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findoorcorgi%2Fcgpmgr/lists"}