homebridge-video-doorbell-button Video Doorbel plu

我要开发同款
匿名用户2021年12月10日
40阅读
开发技术JavaScript
所属分类其他开源、物联网
授权协议Apache-2.0 License

作品详情

homebridge-video-foorbell

ffmpegpluginforHomebridge

InstallationInstallffmpegonyourRaspberryInstallthispluginusing:npminstall-gnpmihomebridge-video-doorbell-button--unsafe-permEditconfig.jsonandaddthecameraandaddMi/AqaraButton.RunHomebridgeAddextracameraaccessoriesinHomeapp.Thesetupcodeisthesameashomebridge.config.jsonexample{"platform":"Video-DoorbellV2","camera":{"name":"Домофон","videoConfig":{"source":"-rtsp_transporttcp-irtsp://192.168.1.16/unicast","stillImageSource":"-irtsp://192.168.1.16/unicast-vframes1-r1","maxStreams":2,"maxWidth":1280,"maxHeight":720,"maxBitrate":1600,"maxFPS":20,"audio":true,"vcodec":"h264_omx"}},"event":{"buttonSid":"158d00029088e3","gpio":7,"motion":false,"switch":{"name":"DingDong"},"http":true},"lock":{"name":"Lockmechanism","gpio":5,"http":{"unlock":"https://192.168.1.6:4343/unlock"}}}EventsbuttonSid

sidforMiorAqaraswitch.

gpio

GPIOnumber,totriggerplugtoground(GND).

motion

virtualmotionaccessoryandswitchfortriggermotion.

switch

virtualswitchaccessoryfortriggerdoorbell.

-Youcannotadd"motion"and"switch"atthesametimehttp

HTTPserverforeventbridge"getorpostrequest"ip:6412/dingdong(example:https://192.168.1.2:6412/dingdong).

Lockmechanismgpio

GPIOnumberforlock.

http

HTTPurlforlock(example:https://192.168.1.6:4343/unlock).

Incidentally,checkiSpyConnect'scameradatabasetofindlikelyprotocolsandURLstotrywithyourcamera.

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论