luisiam / homebridge-foscamcamera

Foscam Plugin for HomeBridge (API 2.1): https://github.com/nfarina/homebridge
Apache License 2.0
42 stars 6 forks source link

Update with human movement detection #69

Open OABsoftware opened 5 years ago

OABsoftware commented 5 years ago

First of all, this is a wonderful plugin! But I do have a request. The most recent cameras by Foscam (e.g. the C2M) have new functionality for detecting human movement. This is not yet supported by your plugin. So could you please add the following line to index.js below line 394:

if (state.humanDetectAlarmState === 2) self.motionDetected(mac);