{"id":26156770,"url":"https://github.com/maxmudjon/homebridge-video-doorbell-button","last_synced_at":"2025-04-14T08:21:11.728Z","repository":{"id":56286895,"uuid":"150162665","full_name":"Maxmudjon/homebridge-video-doorbell-button","owner":"Maxmudjon","description":"Video Doorbel plugin for Homebridge","archived":false,"fork":false,"pushed_at":"2020-11-16T19:27:33.000Z","size":14,"stargazers_count":13,"open_issues_count":4,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-13T01:46:57.876Z","etag":null,"topics":["aqara","camera","doorbell","ffmpeg","gpio","homebridge","mi","switch","video-doorbel-plugin","video-doorbell"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Maxmudjon.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}},"created_at":"2018-09-24T20:14:00.000Z","updated_at":"2025-01-19T05:17:36.000Z","dependencies_parsed_at":"2022-08-15T16:00:55.931Z","dependency_job_id":null,"html_url":"https://github.com/Maxmudjon/homebridge-video-doorbell-button","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxmudjon%2Fhomebridge-video-doorbell-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxmudjon%2Fhomebridge-video-doorbell-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxmudjon%2Fhomebridge-video-doorbell-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Maxmudjon%2Fhomebridge-video-doorbell-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Maxmudjon","download_url":"https://codeload.github.com/Maxmudjon/homebridge-video-doorbell-button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248844036,"owners_count":21170505,"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":["aqara","camera","doorbell","ffmpeg","gpio","homebridge","mi","switch","video-doorbel-plugin","video-doorbell"],"created_at":"2025-03-11T09:25:42.853Z","updated_at":"2025-04-14T08:21:11.694Z","avatar_url":"https://github.com/Maxmudjon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# homebridge-video-foorbell\n\nffmpeg plugin for [Homebridge](https://github.com/nfarina/homebridge)\n\n## Installation\n\n1. Install ffmpeg on your Raspberry\n2. Install this plugin using:\n\n```\nnpm install -g npm i homebridge-video-doorbell-button --unsafe-perm\n```\n\n3. Edit `config.json` and add the camera and add Mi/Aqara Button.\n4. Run Homebridge\n5. Add extra camera accessories in Home app. The setup code is the same as homebridge.\n\n### config.json example\n\n```\n{\n  \"platform\": \"Video-DoorbellV2\",\n  \"camera\": {\n    \"name\": \"Домофон\",\n    \"videoConfig\": {\n      \"source\": \"-rtsp_transport tcp -i rtsp://192.168.1.16/unicast\",\n      \"stillImageSource\": \"-i rtsp://192.168.1.16/unicast -vframes 1 -r 1\",\n      \"maxStreams\": 2,\n      \"maxWidth\": 1280,\n      \"maxHeight\": 720,\n      \"maxBitrate\": 1600,\n      \"maxFPS\": 20,\n      \"audio\": true,\n      \"vcodec\": \"h264_omx\"\n    }\n  },\n  \"event\": {\n    \"buttonSid\": \"158d00029088e3\",\n    \"gpio\": 7,\n    \"motion\": false,\n    \"switch\": {\n      \"name\": \"Ding Dong\"\n    },\n    \"http\": true\n  },\n  \"lock\": {\n    \"name\": \"Lock mechanism\",\n    \"gpio\": 5,\n    \"http\": {\n      \"unlock\": \"http://192.168.1.6:4343/unlock\"\n    }\n  }\n}\n```\n\n## Events\n\n### buttonSid\n\nsid for Mi or Aqara switch.\n\n### gpio\n\nGPIO number, to trigger plug to ground (GND).\n\n### motion\n\nvirtual motion accessory and switch for trigger motion.\n\n### switch\n\nvirtual switch accessory for trigger doorbell.\n\n```diff\n- You cannot add \"motion\" and \"switch\" at the same time\n```\n\n### http\n\nHTTP server for event bridge \"get or post request\" ip:6412/dingdong (example: http://192.168.1.2:6412/dingdong).\n\n## Lock mechanism\n\n### gpio\n\nGPIO number for lock.\n\n### http\n\nHTTP url for lock (example: http://192.168.1.6:4343/unlock).\n\nIncidentally, check [iSpyConnect's camera database](https://www.ispyconnect.com/sources.aspx) to find likely protocols and URLs to try with your camera.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmudjon%2Fhomebridge-video-doorbell-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxmudjon%2Fhomebridge-video-doorbell-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxmudjon%2Fhomebridge-video-doorbell-button/lists"}