Motion
Closed this issue · 21 comments
Can this plugin handle motion? If not, would you suggest a homebridge plugin pair to handle motion alerts?
If you put a motion sensor into the same room as your video doorbell, a motion detection will also trigger a snapshot message to your mobile.
with ios13 the motion sensor ist not working anymore.
There is a solution for homebridge-camera-ffmpeg
see: NorthernMan54/homebridge-camera-ffmpeg@1d874ee
is it possible to fix it here also ?
regards, Richard
Should work if you add
"button": true
to your config file. You get a switch that you can use with any automation to trigger the doorbell.
i actually trigger the video doorbell with:
curl -X POST -d 'ding=dong&dong=ding' http://IP_OF_HOMEBRIDGE_RUNNING_DEVICE:5005
.... and there is no more picture in the rich notifications.
is the button not doing the same as the curl comand ?
i think the button has to be "part" of the camera ....
Richard
i want to „activate „ the video doorbell without the notification „it has rang“ ... like the motion sensor would do ...
Yes, the button should do the same but I will have a look...
Ok, webserver should work now. Please update to the latest version.
ok... i can test it on monday ... but how ist works now ?
i use the curl call for the ring and the switch for the motion sensor ?
richard
Both methods should work now - however, they will act like a doorbell with the „doorbell rang“ message. I will see if an additional motion sensor can be implemented.
@Samfox2 any news about additional motion sensor for rich notifications ?
regards richard
In iOS 13.2 there is a separate camera setting for triggering notifications if the cam detects motion. Maybe this works out of the box with a motion sensor in the same room?
just tested ... when i activate this feature and exit the settings ... then enter again in settings, the switch is turned off ... so it stays not on :-(
Great feature 👎
@roe1974 ok, added an additional motion service + switch for your automations. Please upgrade to the latest version. To get it to work you have to remove your current videodoorbell from home and add it as a new one, otherwise the new service cannot be recognized.
To receive rich notifications triggered by motion please activate them in home app.
Does motion event initiated by camera could be triggered by plugin? I have activated motion triggering in Apple Home, but still have no any notifications about motion. The button set to true in a config.
You have to enable notifications for motion event in home app - cam settings - notifications - motion. You can test it with the separate motion switch afterwards.
It is enabled. It might as per your recent updates. But still does not work.
{
"platform": "Video-doorbell",
"name": "DoorBell",
"cameras": [
{
"name": "Hikvision",
"manufacturer": "Hikvision",
"model": "DS-KB8112-IM",
"firmwareRevision": "1.4.5.190219",
"port": 5005,
"button": true,
"throttle": 3000,
"motion": true,
"videoConfig": {
"source": "-rtsp_transport tcp -re -i rtsp://user:pass@172.16.1.4/Streaming/channels/101",
"stillImageSource": "-i rtsp://user:pass@172.16.1.4/ISAPI/Streaming/channels/101/picture",
"maxStreams": 5,
"motion": true,
"maxWidth": 1280,
"maxHeight": 720,
"vcodec": "h264",
"audio": true,
"packetSize": 188,
"debug": false,
"maxFPS": 24
}
}
]
}
May I ask you create another port webhook for motion?
"port": 5005, -- keep this one for doorbell events
"motion_port": 5006, --create something like this? So I can trigger the motion sensor through the (ifttt.com + ezviz platform)
Sorry, holiday time :-) but you can trigger the motion button with the http-motion plugin.
Thanks for advice! I have successfully implemented this idea...
Good to hear and thx for the feadback.