Amcrest IP5M-B1186EB-28MM w/ Motion + Doorbell
**Manufacturer/Model:**
Amcrest IP5M-B1186EB-28MM

**Homebridge Config:**

```
{
    "platform": "Camera-ffmpeg",
    "name": "Camera FFmpeg",
    "porthttp": 8090,
    "localhttp": true,
    "cameras": [
          {
              "name": "Front Door Cam",
              "manufacturer": "Amcrest",
              "motion": true,
              "doorbell": true,
              "motionDoorbell": true,
              "switches": false,
              "motionTimeout": 0,
              "videoConfig": {
                  "source": "-fflags nobuffer -fflags discardcorrupt -rtsp_transport tcp -analyzeduration 0 -probesize 32 -i rtsp://<username>:<password>@cam.frontdoor.lan:554/cam/realmonitor?channel=1&subtype=0",
                  "stillImageSource": "-analyzeduration 0 -probesize 32 -i http://<username>:<password>@cam.frontdoor.lan/cgi-bin/snapshot.cgi?channel=1",
                  "packetSize": 940,
                  "maxStreams": 4,
                  "maxWidth": 1920,
                  "maxHeight": 1080,
                  "maxBitrate": 4096,
                  "maxFPS": 30,
                  "vcodec": "copy",
                  "audio": false,
                  "debug": false
               },
              "unbridge": "true"
          }
    ]
}
```

**Additional Information:**

`dahua-alerts` config that supports motion activation (aka doorbell) alerts on Homekit devices. i.e. Video notification on AppleTV.

```
{
    "homebridgeCameraFfmpegHttpPort": 8090,
    "useHttp": true,
    "cameras": [
        {
        "index": 0,
        "cameraName": "Front Door Cam",
        "cameraCredentials": {
            "host": "<ip.addr.of.cam>",
            "user": "<username>",
            "pass": "<password>",
             "useHttp": true
             }
        }
    ],
    "platform": "dahua-alerts"
}
```
Vendor: [Amcrest URL](https://amcrest.com/5mp-poe-camera-bullet-ip5m-b1186eb-28mm.html)