在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:kushagharahi/homebridge-dahua-alerts开源软件地址:https://github.com/kushagharahi/homebridge-dahua-alerts开源编程语言:TypeScript 100.0%开源软件介绍:homebridge-dahua-alertsRoutes motion alerts for Dahua, Alhua, Amcrest and Lorex camera streams to homebridge-camera-ffmpeg Like this plugin? -> Buy me a Please check issue #15 if you have compatible hardware and would like to contribute SmartMotion dectectionThis plugin only supports VideoMotion alerts, not any SmartMotion detection. You must disable those features in order for this plugin to work correctly.Confirmed working with:
but lots of Dahua/Lorex NVRs and standalone cameras share this VideoMotion api. Installation
Sample config.json
homebridge-camera-ffmpeg{
"name": "Camera FFmpeg",
"porthttp": 8088,
"localhttp": true,
"cameras": [
{
"name": "Driveway",
"motion": true,
"motionTimeout": 0,
"videoConfig": {
"source": "-i rtsp://admin:<snip>@192.168.1.XX:554/cam/realmonitor?channel=1&subtype=1"
}
},
{
"name": "Porch",
"motion": true,
"motionTimeout": 0,
"videoConfig": {
"source": "-i rtsp://admin:<snip>@192.168.1.XX:554/cam/realmonitor?channel=2&subtype=1"
}
},
{
"name": "Backdoor",
"motion": true,
"motionTimeout": 0,
"videoConfig": {
"source": "-i rtsp://admin:<snip>@192.168.1.XX:554/cam/realmonitor?channel=4&subtype=1"
}
}
],
"platform": "Camera-ffmpeg"
} homebridge-dahua-alerts{
"cameras": [
{
"index": 0,
"cameraName": "Driveway"
},
{
"index": 1,
"cameraName": "Porch"
},
{
"index": 3,
"cameraName": "Backdoor"
}
],
"homebridgeCameraFfmpegHttpPort": 8088,
"host": "XX.XX.XX.XX",
"user": "admin",
"pass": "XX",
"platform": "dahua-alerts"
}
For each camera you want to monitor, add a new entry to the
Override Camera Connection CredentialsThis is useful if you have standalone IP Camera(s) (not going through an NVR), a mix of IP Cameras and NVR(s), or multiple NVRs. To define a host/user/pass on a camera simply add the "cameras": [
{
"index": 0,
"cameraName": "Driveway"
"cameraCredentials": {
"host": "XX.XX.XX.XX",
"user": "admin",
"pass": "XX"
}
},
Local development
CreditsReferenced nayrnet/node-dahua-api for the Dahua/Lorex motion alerts API. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论