{"id":15197058,"url":"https://github.com/ac0d3r/pimonitor","last_synced_at":"2025-07-30T23:14:18.729Z","repository":{"id":124226820,"uuid":"408076554","full_name":"ac0d3r/PiMonitor","owner":"ac0d3r","description":"golang + RaspberryPi 实现可控制的WEB视频监控器🕹","archived":false,"fork":false,"pushed_at":"2021-09-20T02:55:21.000Z","size":490,"stargazers_count":32,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T16:55:13.886Z","etag":null,"topics":["gobot","h264-player","livestream","raspberry-pi","raspberry-pi-camera"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ac0d3r.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-19T08:48:09.000Z","updated_at":"2025-01-26T10:18:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"f59b9c06-1afb-4ab5-8a27-3bb7b5316e56","html_url":"https://github.com/ac0d3r/PiMonitor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ac0d3r/PiMonitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ac0d3r%2FPiMonitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ac0d3r%2FPiMonitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ac0d3r%2FPiMonitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ac0d3r%2FPiMonitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ac0d3r","download_url":"https://codeload.github.com/ac0d3r/PiMonitor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ac0d3r%2FPiMonitor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267960178,"owners_count":24172490,"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-07-30T02:00:09.044Z","response_time":70,"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":["gobot","h264-player","livestream","raspberry-pi","raspberry-pi-camera"],"created_at":"2024-09-28T00:40:32.447Z","updated_at":"2025-07-30T23:14:18.665Z","avatar_url":"https://github.com/ac0d3r.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" \u003e\n    \u003cimg src=\"./frontend/static/logo.png\" width=\"280\" alt=\"PiMonitor\" /\u003e\n    \u003ch1\u003ePiMonitor\u003c/h1\u003e\n\u003c/div\u003e\n\n![](https://img.shields.io/badge/Golang-1.16+-292e33?style=flat-square\u0026logo=go) + ![](https://img.shields.io/badge/RaspberryPi-4b-292e33?style=flat-square\u0026logo=raspberry-pi) 实现可控制的WEB视频监控器。\n\n---\n\nbilibili: https://www.bilibili.com/video/BV1rL411x7dt\n\n## Hardware\n\n- 树莓派4b\n- 舵机(SG90)*2\n- 摄像头(Raspberry Pi Camera)\n- 杜邦线若干\n\n**接线：**\n- 摄像头接线(goooooogle\n- 舵机我分为了X轴和Y轴，X轴信号线：GPIO-23，Y轴信号线：GPIO-18；\n\n可随意修改，注意同步 `pimonitor.go` 代码中舵机设置：\n```golang\n...\n// 初始化舵机\nservo.Init(\"16\", \"12\", 15, 35, 10, 40)\n...\n```\n\n贴心附上GPIO图:\n![GPIO-Pinout-Diagram](https://user-images.githubusercontent.com/26270009/133922602-46dbe000-26df-491b-b8c7-09f9f7e6df63.png)\n\n\n## How to run the server\n\n1. 【Enabling PWM output on GPIO pins】https://gobot.io/documentation/platforms/raspi/\n\n（尽管如此也不能完美的控制舵机，不过因摄像头排线的问题只能在一个合理范围角度内转动，这目前测试下来还是没有出什么问题的。\n\n2. 编译 \u0026\u0026 启动服务\n```bash\n$ git clone https://github.com/Buzz2d0/PiMonitor.git\n$ cd PiMonitor\n$ make start\n```\n\n# Usage\n\n**默认用户名密码：** `admin`:`admin`\n\n用浏览器访问 http://[your-raspberry-pi-ip]:8000 登陆后，可以查看实时视频画面（PC端下使用方向键控制舵机）。\n\n## TODO\n\n- [ ] 触摸屏下虚拟按键控制舵机\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fac0d3r%2Fpimonitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fac0d3r%2Fpimonitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fac0d3r%2Fpimonitor/lists"}