在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:hjdhjd/homebridge-doorbird开源软件地址:https://github.com/hjdhjd/homebridge-doorbird开源编程语言:TypeScript 100.0%开源软件介绍:Homebridge DoorbirdHomebridge.HomeKit support for Doorbird video doorbells using
It provides the HomeKit video doorbell service which includes a camera, lock, motion sensor, and infrared light service, using the excellent homebridge-camera-ffmpeg as a foundation. Requirements and Limitations
InstallationIf you are new to Homebridge, please first read the Homebridge documentation.
sudo npm install -g --unsafe-perm homebridge
sudo npm install -g --unsafe-perm homebridge-doorbird Plugin configurationAdd the platform in "platforms": [
{
"platform": "Doorbird",
"doorbirds": [
{
"name": "Doorbird 1",
"ip": "your.doorbird.ip",
"username": "some-doorbird-user (or create a new one just for homebridge)",
"password": "some-doorbird-password",
"options": [ "Relay.Hide.2" ]
}
]
}
] Feature OptionsFeature options allow you to enable or disable certain features in this plugin. Feature options are specific to individual Doorbirds. The feature options for individual Doorbird devices can be customized using the
Night visionDepending on your situation, you might benefit from having Doorbird's infrared light (aka night vision) turn on automatically for you. This plugin supports the ability to enable night vision when the doorbell rings, HomeKit requests snapshots, or stream video. Night vision can be always-on or activated only at night, for supported events. See advanced configuration for more details, or configure this plugin using the Homebridge webUI. Command line scripts.If you would like to configure a command line to execute when motion or doorbell events are triggered, you can configure the Relays and peripheral devicesThe default for this plugin is to lock or unlock the first relay (relay 1) in the Doorbird. This is typically a door strike that unlocks a gate or door. Support for multiple relays is available on some Doorbird devices and on the following optionally attached peripheral devices:
All relays found on the Doorbird, including peripherals, will be made available in HomeKit and the Home app. You may switch the default relay using the Example configuration for an alternate relay as the default: "primaryRelay": "2" Another example configuration using a relay on a peripheral device: "primaryRelay": "gggggg@1" The name of the controller or station can be found in the App: Administration > Peripherals > Device (6-letter word) Advanced configuration (optional)This step is not required. For those that prefer to tailor the defaults to their liking, here are the supported parameters. "platforms": [
{
"platform": "Doorbird",
"name": "Doorbird",
"videoProcessor": "/usr/local/bin/ffmpeg",
"ffmpegOptions": "-probesize 32 -analyzeduration 0 -fflags nobuffer -preset veryfast -refs 1 -x264-params intra-refresh=1:bframes=0",
"doorbirds": [
{
"ip": "your.doorbird.ip",
"username": "some-doorbird-user (or create a new one just for homebridge)",
"password": "some-doorbird-password",
"name": "My Doorbird",
"nightVisionDoorbell": false,
"nightVisionSnapshot": false,
"nightVisionVideo": false,
"nightVisionDoorbellNight": false,
"nightVisionSnapshotNight": false,
"nightVisionVideoNight": false,
"primaryRelay": "1",
"cmdDoorbell": "/some/doorbell/script",
"cmdMotion": "/some/motion/script",
"options": [ "Relay.Hide.2" ]
}
]
}
] Platform-level configuration parameters:
Credits |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论