samfox2 / homebridge-videodoorbell Goto Github PK
View Code? Open in Web Editor NEWVideo-Doorbell plugin based on homebridge-camera-ffmpeg for Homebridge.
License: Apache License 2.0
Video-Doorbell plugin based on homebridge-camera-ffmpeg for Homebridge.
License: Apache License 2.0
hi
i have video-doorbell and http-motion-sensor in the same room ....
since update from today (http-motion-sensor) i have no more snapshots .... video works..
Other room with http sensor and ffmpeg-camera works without problems .....
thx for help, richard
Hi!
First, thanks for this plugin, it is really helpful!
I saw that this plugin is made from homebridge-camera-ffmpeg
which the readme talk about a key videoFilter
to put in the config file that can be used to override the -vf scale=1280:720
put in the ffmpeg command. I did it in my config file but the key seems to be ignored as I still have the default -vf
, is it normal? how can i use video filters? I also need to use hflip
and vflip
but it is ignored too.
Thanks a lot!
I've added plugin to home bridge, accessory (camera) added to iOS and Mac. camera, associated with this plugin working, but when I call script using nothing occur in iPhone and Mac
script:
curl -X POST -d 'ding=dong&dong=ding' http://192.....30:5005
return
{"ding":"dong","dong":"ding"}
in homebridge.log:
Ding Dong!
[2019-3-25 18:22:30] Video-doorbell domofon rang!
Hi! can not start streaming. I get this mistake: FFmpeg exited with code 1
just regular cameras on other plugins seem to work.
First great plugin - have it setup and working fine. Any idea if it possible to have full intercom functionality work? Also is it possible to trigger an action on rich notification - i.e. open gate?
I'd love for this to support:
manufacturer
model
serialNumber
firmwareRevision
I'm posting to the port and it HTTP 200s all fine and well, but I don't appear to be getting any notifications from it on my phone.
Should the doorbell only show as a single device (a camera) or should there be a second device for the actual doorbell and the camera is a secondary accessory?
Can this plugin handle motion? If not, would you suggest a homebridge plugin pair to handle motion alerts?
I am new to this. What should the config.json file look like with both ffmpeg and videodoorbell plugins installed?
today homebridge start crashing. with this error:
[9/7/2019, 5:27:21 PM] Error: spawn ENOMEM
at ChildProcess.spawn (internal/child_process.js:366:11)
at spawn (child_process.js:551:9)
at FFMPEG.handleSnapshotRequest (/usr/lib/node_modules/homebridge-videodoorbell/ffmpeg.js:146:16)
at Accessory._handleResource (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/Accessory.js:934:25)
at HAPServer.emit (events.js:198:13)
at HAPServer._handleResource (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:1035:10)
at HAPServer. (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/lib/HAPServer.js:209:39)
at IncomingMessage.emit (events.js:198:13)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
it's possible to save "dingdonged" snapshots to the cloud ?
Hi there! Works brilliantly, thanks! Currently test-triggering it using the browser on my phone, but any chance that we can trigger the doorbell using the GPIO pins? Can install my pi next to the actual (dumb) doorbell.
Thanks in adv for your help! :)
The standard http call triggers a doorbell event (with live video). Motion events provide a snapshot instead of live video. Is there a different http call to trigger a motion notification?
Hi,
as i can see in your plugin description you write:
"If the same (HomeKit) room containing this camera also has a Lock mechanism accessory, the notification will show a working UNLOCK button. HomeKit/iOS will link them together automatically when they are in the same room."
I have added the following plugin to have a lock mechanism accessory (the camera and the lock mechanism and also the optional doorbell trigger button are all in the same room (default room)
https://www.npmjs.com/package/homebridge-http-lock-mechanism
Unfortunately when i trigger the notification there is no unlock button in the notification i may could use. Any idea why it's not working?
Btw. Why is a lock mechanism accessory working like On / Off, i use a Sonoff Relay with Pulsetime to trigger a door opener this is only activated once and deactivated automatically after x seconds by Sonoff's Pulsetime Option. Is there also a lock mechanism for just triggering something where the combination of the notification works?
Regards X23
Hello,
can somebody please help me.
I've been trying to create the stream correctly for days now.
The snapshot is taken and displayed in the app.
But as soon as I click on the stream it just loads.
And after a while I get the message "no Answer".
What am I doing wrong?
{
"platform": "Video-doorbell",
"cameras": [
{
"name": "Haupteingang",
"port": 5005,
"button": true,
"videoConfig": {
"stillImageSource": "-i http://192.168.1.25/snap.jpeg",
"source": "-re -i rtsp://192.168.1.2:7447/5b8391c417cb480790fdda8b_0",
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 15,
"debug": true
}
}
]
},
[2018-9-12 12:14:29] [Video-doorbell] Snapshot from Haupteingang at 480x270 ffmpeg -i http://192.168.1.25/snap.jpeg -t 1 -s 480x270 -f image2 -
[2018-9-12 12:14:39] [Video-doorbell] Start streaming video from Haupteingang with 1280x720@299kBit
ffmpeg -re -i rtsp://192.168.1.2:7447/5b8391c417cb480790fdda8b_0 -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 15 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -maxrate 299k -payload_type 99 -ssrc 13082713 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params 9clA7rvi36bJT1T6rRyCVEk88mUhf6udNAEEcG5c srtp://192.168.1.165:63684?rtcpport=63684&localrtcpport=63684&pkt_size=1316
[2018-9-12 12:15:43] [Video-doorbell] Stopped streaming
Hi @Samfox2 I'm testing out pulling in the idea to the door bird plugin. So far its all working with stream and doorbell, just converting each piece across. But I'm a bit stuck on adding more components to the plugin, I need to add a motion sensor, a light and a lock service. With this plugin is there a way to add them to get them to show up or will it be different?
The plugin works great. I'm triggering a notification with this http call:
http://10.10.12.241:5005
The notification takes between 2 to 3 seconds to show up. With the Doorbird plug-in (which I think is based in the same code) the notification is pretty much instant. Is there something I might be doing wrong? Thanks!
I have a SIP walkie-talkie, can I dock it to my homekit?
Does anyone have a little guidance?
Best Regards
songzh
So installed. Using the port that’s in the example. I also have the button turned on.
I can see the camera and stream fine. However, I don’t see doorbell notifications. How do I trigger a doorbell notification? I don’t see anything in HomeKit to kick it off!??
Hello !
In the Apple Home apps on iOS and Apple Watch I correctly receive notifications and snapshots.
But the live streaming won't start on iPhone or iPad in the Home app when I tap the still image, I receive a "camera not answering"; the feed starts only when triggered from Apple Watch.
I can therefore safely say that the specified source (a http streamer producing mjpegs) works, as well as ffmpeg install.
So I look into the log, and there, the "Start streaming/Stop streaming events only fire up when I use Apple Watch to look at the live feed. No Start/Stop event are generated when I use the Home app on iPhone or iPad.
I already tried recreating another "camera" instance for the video doorbell (with a different name), added it to HomeKit, but behaviour stays the same: no live feed triggered from iOS, only from WatchOS.
For information, I have other cameras (under the camera-ffmpeg plugin) and those are correctly live fed from iOS as well.
I looked at the code of index.je and ffmpeg.js for both plugins, and see no reason it does behave differently in video doorbell with iOS or WatchOS.
Does anybody have any suggestions to resolve that issue? It is really confusing...
my config:
"platform": "Video-doorbell",
"cameras": [
{
"name": "Visiophone",
"port": 5005,
"videoConfig": {
"debug": true,
"source": "-re -i http://192.168.1.101:8001/",
"stillImageSource": "-i http://192.168.1.101:6183/jpg/image.jpg",
"maxStreams": 5,
"maxWidth": 320,
"maxHeight": 240,
"maxFPS": 10
}
}
and the log when I trigger the live feed from the watch:
[2018-8-13 16:43:10] [Video-doorbell] Start streaming video from Visiophone with 320x240@68kBit
ffmpeg -re -i http://192.168.1.101:8001/ -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 10 -f rawvideo -tune zerolatency -vf scale=320:240 -b:v 68k -bufsize 68k -maxrate 68k -payload_type 99 -ssrc 10304847 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params vQ37oVBFJEhXNRGIn6jcPiWx+s+SJTlqKD4jKzlq srtp://192.168.1.38:50754?rtcpport=50754&localrtcpport=50754&pkt_size=1316
[2018-8-13 16:43:10] [Video-doorbell] Snapshot from Visiophone at 320x240
ffmpeg -i http://192.168.1.101:6183/jpg/image.jpg -t 1 -s 320x240 -f image2 -
[2018-8-13 16:43:22] [Video-doorbell] Stopped streaming
(of course, no log when triggered from iOS)
Thank you,
Michel
When i put an additional motion sensor in the same room .... will i get snapshots when motion is recognized ? ... or only when Ring button is pressed ?
Richard
Good afternoon.
Homebridge-camera-ffmpeg where cameras work without problems. And no problems have been noticed before. The supplier registered in the configuration cameras, noticed that there are problems with streams, RTSP, even through VCL, and selects the first channel of the DVR. The developer of the plugin homebridge-camera-ffmpeg described something identical, which is something similar to DDOS (https://github.com/KhaosT/homebridge-camera-ffmpeg/wiki/iOS-13-and-Photo-Notifications below fast). After such work, after 20 minutes the DVR will reboot without any reason. Tell me what could be the problem? Thanks in advance.
Hi @Samfox2,
Just wanted to know if you are planning to publish this plugin at npm?
Would be great to use the Pi camera module instead of a RTSP stream. Could make a self-contained, POE powered home kit doorbell.
Will this work with Arlo doorbells?
Hi there!
Looks interesting, kudo's.
Can you explain some more what this does or extend the readme? What's the difference with a "normal" camera accessory in HomeKit like the Logi Circle 2? How do you hook up a physical doorbell to this plugin?
Very curious, thanks in advance!
Is it possible? No one camera makers even "Works with homekit" logo dont have two way audio feature. Somfy is announce, but sales is not starting yet. Is it homekit problem or not? Seems that happened when apple removes doorbell category from list...
Hi,
I have a RPi running Homebridge and a LockMechanismAccessory that controls my front door.
I created a new room with a VideoDoorbell Camera and added the LockMechanismAccessory.
The camera works great! I can see live video and I can trigger the notification using the URL and using the virtual button.
The problem is that I don't get a screenshot with the notification and the lock button doesn't show either.
What am I doing wrong?
Thank you!
I wonder why Apple wants to have a Service.Lockmechanism instead of Service.Door? Would look so much nicer with a Door... :/
is it possible to get only „it has rang“ message without pic ?
i get the pic with the motion sensor that is in the same room ....
My other cams are well shown in homecam App.....
Will the videodoorbell also appear in this app as cam ?
Richard
In the Apple Home app I correctly receive notifications and snapshots, but streaming won't start.
When I verify the specified rstp:// destinations in VLC streaming works just fine. The videodoorbell plugin adds a lot of parameters to each ffmpeg session to set up a video stream.
When I look at the logging it seems ffmpeg is complaining about some of the parameters.
Does anybody have any suggestions to resolve this issue?
"platforms": [ { "platform": "Video-doorbell", "videoProcessor": "/usr/local/bin/ffmpeg", "cameras": [ { "name": "IQeye IQD52W", "port": 5005, "button": false, "videoConfig": { "source": "-re -i rtsp://192.168.0.239/stream1", "maxStreams": 2, "audio": true, "maxWidth": 1280, "maxHeight": 1024, "maxFPS": 30, "debug": true } }, { "name": "Ubiquity UniFi G3", "port": 5006, "videoConfig": { "source": "-re -i rtsp://192.168.0.205/s0", "maxStreams": 2, "audio": true, "maxWidth": 1280, "maxHeight": 1024, "maxFPS": 30, "debug": true } } ] },
Here's the logging where ffmpeg seems to complain:
apr 08 17:15:14 pi homebridge[23498]: Codec AVOption tune (Tune the encoding params (cf. x264 --fullhelp)) specified for output file #0 (srtp://1192.168.0.245:56766?rtcpport=56766&localrtcpport=56766&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. apr 08 17:15:14 pi homebridge[23498]: Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (srtp://1192.168.0.245:56766?rtcpport=56766&localrtcpport=56766&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. apr 08 17:15:14 pi homebridge[23498]: Codec AVOption b (set bitrate (in bits/s)) specified for output file #1 (srtp://1192.168.0.245:65168?rtcpport=65168&localrtcpport=65168&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. apr 08 17:15:14 pi homebridge[23498]: Codec AVOption profile () specified for output file #1 (srtp://1192.168.0.245:65168?rtcpport=65168&localrtcpport=65168&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. apr 08 17:15:14 pi homebridge[23498]: Finishing stream 1:0 without any data written to it. apr 08 17:15:14 pi homebridge[23498]: [mpeg4 @ 0x30c9690] Either both buffer size and max rate or neither must be specified apr 08 17:15:14 pi homebridge[23498]: Error initializing output stream 1:0 -- Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or height apr 08 17:15:14 pi homebridge[23498]: Exiting normally, received signal 15. apr 08 17:15:14 pi homebridge[23498]: [2018-4-8 17:15:14] [Video-doorbell] ERROR: FFmpeg exited with code 1
Here's all the logging:
apr 08 17:15:08 pi homebridge[23498]: ffmpeg -re -i rtsp://1192.168.0.205/s0 -t 1 -s 480x270 -f image2 - apr 08 17:15:08 pi homebridge[23498]: [2018-4-8 17:15:08] [Video-doorbell] Snapshot from IQeye IQD52W at 480x270 apr 08 17:15:08 pi homebridge[23498]: ffmpeg -re -i rtsp://1192.168.0.239/stream1 -t 1 -s 480x270 -f image2 - apr 08 17:15:12 pi homebridge[23498]: [2018-4-8 17:15:12] [Video-doorbell] Start streaming video from IQeye IQD52W with 640x360@132kBit apr 08 17:15:12 pi homebridge[23498]: ffmpeg -re -i rtsp://1192.168.0.239/stream1 -map 0:0 -vcodec libx264 -pix_fmt yuv420p -r 10 -f rawvideo -tune zerolatency -vf scale=640:360 -b:v 132k -bufsize 132k -payload_type 99 -ssrc 3647358 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params 8sju/UfwVjePSuMBivM/EKpe4D8/BIZZW/UocOth srtp://1192.168.0.245:56766?rtcpport=56766&localrtcpport=56766&pkt_size=1316 -map 0:1 -acodec libfdk_aac -profile:a aac_eld -flags +global_header -f null -ar 16k -b:a 24k -bufsize 24k -ac 1 -payload_type 110 -ssrc 8783487 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params vWIVLjdj09gF3+LziJT2+AcEyZhmdPnjT0LZE+sS srtp://1192.168.0.245:65168?rtcpport=65168&localrtcpport=65168&pkt_size=1316 apr 08 17:15:12 pi homebridge[23498]: ffmpeg version N-90636-gc837918f50 Copyright (c) 2000-2018 the FFmpeg developers apr 08 17:15:12 pi homebridge[23498]: built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516 apr 08 17:15:12 pi homebridge[23498]: configuration: --prefix=/usr/local --arch=armel --target-os=linux --enable-omx-rpi --enable-nonfree --enable-gpl --enable-libfdk-aac --enable-mmal --enable-libx264 --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-demuxer=rtsp apr 08 17:15:12 pi homebridge[23498]: libavutil 56. 13.100 / 56. 13.100 apr 08 17:15:12 pi homebridge[23498]: libavcodec 58. 17.100 / 58. 17.100 apr 08 17:15:12 pi homebridge[23498]: libavformat 58. 11.101 / 58. 11.101 apr 08 17:15:12 pi homebridge[23498]: libavdevice 58. 2.100 / 58. 2.100 apr 08 17:15:12 pi homebridge[23498]: libavfilter 7. 14.100 / 7. 14.100 apr 08 17:15:12 pi homebridge[23498]: libswscale 5. 0.102 / 5. 0.102 apr 08 17:15:12 pi homebridge[23498]: libswresample 3. 0.101 / 3. 0.101 apr 08 17:15:12 pi homebridge[23498]: libpostproc 55. 0.100 / 55. 0.100 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 10 size 400 truncated at 24 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 336 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 310 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 336 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 310 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 336 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 310 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 336 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 310 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 336 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 310 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 336 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 310 apr 08 17:15:13 pi homebridge[23498]: [h264 @ 0x2f42620] SEI type 97 size 824 truncated at 336 apr 08 17:15:14 pi homebridge[23498]: Last message repeated 4 times apr 08 17:15:14 pi homebridge[23498]: Guessed Channel Layout for Input Stream #0.0 : mono apr 08 17:15:14 pi homebridge[23498]: Input #0, rtsp, from 'rtsp://1192.168.0.239/stream1': apr 08 17:15:14 pi homebridge[23498]: Metadata: apr 08 17:15:14 pi homebridge[23498]: title : Session streamed by IQStreamer apr 08 17:15:14 pi homebridge[23498]: comment : unicast info here apr 08 17:15:14 pi homebridge[23498]: Duration: N/A, start: 0.000000, bitrate: N/A apr 08 17:15:14 pi homebridge[23498]: Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s apr 08 17:15:14 pi homebridge[23498]: Stream #0:1: Video: h264 (Main), yuv420p(tv, bt709, progressive), 640x480 [SAR 360:271 DAR 480:271], 10 fps, 29.97 tbr, 90k tbn, 19.98 tbc apr 08 17:15:14 pi homebridge[23498]: Codec AVOption tune (Tune the encoding params (cf. x264 --fullhelp)) specified for output file #0 (srtp://1192.168.0.245:56766?rtcpport=56766&localrtcpport=56766&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. apr 08 17:15:14 pi homebridge[23498]: Codec AVOption b (set bitrate (in bits/s)) specified for output file #0 (srtp://1192.168.0.245:56766?rtcpport=56766&localrtcpport=56766&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. apr 08 17:15:14 pi homebridge[23498]: Codec AVOption b (set bitrate (in bits/s)) specified for output file #1 (srtp://1192.168.0.245:65168?rtcpport=65168&localrtcpport=65168&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. apr 08 17:15:14 pi homebridge[23498]: Codec AVOption profile () specified for output file #1 (srtp://1192.168.0.245:65168?rtcpport=65168&localrtcpport=65168&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. apr 08 17:15:14 pi homebridge[23498]: Stream mapping: apr 08 17:15:14 pi homebridge[23498]: Stream #0:0 -> #0:0 (pcm_mulaw (native) -> pcm_mulaw (native)) apr 08 17:15:14 pi homebridge[23498]: Stream #0:1 -> #1:0 (h264 (native) -> mpeg4 (native)) apr 08 17:15:14 pi homebridge[23498]: Press [q] to stop, [?] for help apr 08 17:15:14 pi homebridge[23498]: Finishing stream 0:0 without any data written to it. apr 08 17:15:14 pi homebridge[23498]: Output #0, rtp, to 'srtp://1192.168.0.245:56766?rtcpport=56766&localrtcpport=56766&pkt_size=1316': apr 08 17:15:14 pi homebridge[23498]: Metadata: apr 08 17:15:14 pi homebridge[23498]: title : Session streamed by IQStreamer apr 08 17:15:14 pi homebridge[23498]: comment : unicast info here apr 08 17:15:14 pi homebridge[23498]: encoder : Lavf58.11.101 apr 08 17:15:14 pi homebridge[23498]: Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s apr 08 17:15:14 pi homebridge[23498]: Metadata: apr 08 17:15:14 pi homebridge[23498]: encoder : Lavc58.17.100 pcm_mulaw apr 08 17:15:14 pi homebridge[23498]: Finishing stream 1:0 without any data written to it. apr 08 17:15:14 pi homebridge[23498]: [mpeg4 @ 0x30c9690] Either both buffer size and max rate or neither must be specified apr 08 17:15:14 pi homebridge[23498]: Error initializing output stream 1:0 -- Error while opening encoder for output stream #1:0 - maybe incorrect parameters such as bit_rate, rate, width or height apr 08 17:15:14 pi homebridge[23498]: Exiting normally, received signal 15. apr 08 17:15:14 pi homebridge[23498]: [2018-4-8 17:15:14] [Video-doorbell] ERROR: FFmpeg exited with code 1 apr 08 17:15:22 pi homebridge[23498]: [2018-4-8 17:15:22] [Video-doorbell] Snapshot from IQeye IQD52W at 480x270 apr 08 17:15:22 pi homebridge[23498]: ffmpeg -re -i rtsp://1192.168.0.239/stream1 -t 1 -s 480x270 -f image2 - apr 08 17:15:22 pi homebridge[23498]: [2018-4-8 17:15:22] [Video-doorbell] Snapshot from Ubiquity UniFi G3 at 480x270 apr 08 17:15:22 pi homebridge[23498]: ffmpeg -re -i rtsp://1192.168.0.205/s0 -t 1 -s 480x270 -f image2 - apr 08 17:15:35 pi homebridge[23498]: [2018-4-8 17:15:35] [Video-doorbell] Snapshot from Ubiquity UniFi G3 at 480x270 apr 08 17:15:35 pi homebridge[23498]: ffmpeg -re -i rtsp://1192.168.0.205/s0 -t 1 -s 480x270 -f image2 - apr 08 17:15:36 pi homebridge[23498]: [2018-4-8 17:15:36] [Video-doorbell] Snapshot from IQeye IQD52W at 480x270 apr 08 17:15:36 pi homebridge[23498]: ffmpeg -re -i rtsp://1192.168.0.239/stream1 -t 1 -s 480x270 -f image2 -
I only get a thumb alongside the notification about 50% of the time. When the notification doesn't contain the thumb, tapping on it won't launch home.app into the doorbell camera. It lunches the app in the home tab instead. Any thoughts on how to solve this?
I have HomeKit door lock in the same room as one camera but I don’t see any icon for unlock or lock the door in the camera.
And on iOS 12.3 when have motion sensor is not sending notifications with the snapshot.
Hey,
wonderful plugin, using it for multiple weeks now.
On (only) one device I have the problem that the door notification pops up twice and takes way longer to show up, about 10 seconds longer.
Any idea how to fix this?
Greets
Hey @Samfox2 great work, I'm looking to take the ideas across to the doorbird plugin after i get the initial bit loading in a test setup. However I just cant get it to load as a vanilla install, any ideas?
[1/9/2018, 4:46:04 PM] Loaded plugin: homebridge-videodoorbell
[1/9/2018, 4:46:04 PM] Registering platform 'homebridge-videodoorbell.Video-doorbell'
[1/9/2018, 4:46:04 PM] ---
[1/9/2018, 4:46:04 PM] Loaded config.json with 0 accessories and 0 platforms.
[1/9/2018, 4:46:04 PM] ---
Load homebridge-videodoorbell.Video-doorbell
Setup Payload:
X-HM://0023OA6329K90
Scan this code with your HomeKit app on your iOS device to pair with Homebridge:
Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 123-45-678 │
└────────────┘
[1/9/2018, 4:46:04 PM] Homebridge is running on port 51827.
Config.js (really haven't changed anything yet..), I did have my own camera included at one point but same effect:
{
"bridge": {
"name": "Homebridge",
"username": "01:12:34:56:78:90",
"port": 51827,
"pin": "123-45-678"
},
"platform": "Video-doorbell",
"cameras": [
{
"name": "Camera Name",
"videoConfig": {
"source": "-re -i rtsp://myfancy_rtsp_stream",
"stillImageSource": "-i http://faster_still_image_grab_url/this_is_optional.jpg",
"maxStreams": 2,
"maxWidth": 1280,
"maxHeight": 720,
"maxFPS": 30,
"port": 5005
}
}
]
}
Been searching high and low for the August Doorbell video stream URL, just adding this to open up a dialog for those in the same boat.
is it possible to config a delay for the snapshot ? ... my videodoorbell cam is battery powered .. and needs about 2sec to come up ....
is that possible ?
Richard
Hello everyone!
Does someone try this plugin with Grandstream GDS3710? How to config it?
@Samfox2 your help wanted)
Hello,
Is it possible to add the mapaudio and mapvideo parameters as it’s done in homebridge-camera-ffmpeg?
I have a camera that provides 2 separated streams, and that’s why audio is not on 0.1, but on 1.0. With the mapaudio parameter, I was able to make it work in homebridge-camera-ffmpeg, but not with that plugin.
Thank you.
When viewing the preview images of e.g. the August Doorbell, they are distorted since this is a portrait camera.
Hi,
I'm using the original plugin with no issues, but failing to get the camera to show up:
[1/9/2018, 8:00:11 PM] Loaded plugin: homebridge-videodoorbell
[1/9/2018, 8:00:11 PM] Registering platform 'homebridge-videodoorbell.Video-doorbell'
[1/9/2018, 8:00:11 PM] ---
[1/9/2018, 8:00:11 PM] Loaded config.json with 0 accessories and 1 platforms.
[1/9/2018, 8:00:11 PM] ---
[1/9/2018, 8:00:11 PM] Loading 1 platforms...
[1/9/2018, 8:00:11 PM] [Video-doorbell] Initializing Video-doorbell platform...
Config is valid (copy of my existing camera config plus the port you've added). Is there any scenario where it can be added but there's no camera? I created a new Home to test it and load this one in with it to no avail.
Does anyone know the API for the August Doorbell Cam Pro to show the snapshots?
Hello
This plug-in is the only one without time stamps in log (during boot for example) ... is there a reason why ?
should "console.log" be changed in "self.log" ?
thx, Richard
[2017-12-11 10:22:14] ERROR LOADING PLUGIN homebridge-videodoorbell:
[2017-12-11 10:22:14] Error: Cannot find module 'ip'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/usr/lib/node_modules/homebridge-videodoorbell/ffmpeg.js:5:10)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
can you help me? ffmpeg is installed.
{ "platform": "Video-doorbell", "cameras": [{ "name": "Klingel", "videoConfig": { "source": "-re -i rtsp://ghxxx01:[email protected]:554/mpeg/media.amp", "stillImageSource": "-i http://[email protected]/bha-api/image.cgi", "maxStreams": 2, "maxWidth": 1280, "maxHeight": 720, "maxFPS": 30, "port": 5005 } }] }
Hi,
I managed to get your plugin work, it's awesome, exactly what I was looking for thank you! I have an old bell system in the building so I connected and an IKEA Tradfri Remote next to the bell (operated by a relay with a small hardware mod) which communicates by Conbee and the status of the switch is exposed to homekit via the deCONZ gateway. This button 'pushes' your virtual doorbell button and the notification and video feed works perfectly but the lock accessory which is in the same room is not paired with it. I am using the homebridge-broadlink-rm plugin to create a lock accessory which is controlling my gate with RF 433MHz signal. Both your plugin, the camera and the lock works individully, but they are not grouped. Do you have any idea?
Thanks
Would it at all be possible to make this project support HomeKit Secure Video for generic video doorbells? Or is Apple locking that down to paying manufacturers somehow?
Where is the difference?
Does anyone know how to trigger the doorbell events from the August Doorbell Cam Pro?
I have a Honeywell Lyric Security System in the Vestibule.
I have the doorbell on the Porch.
When I set up the doorbell (August Pro), it pulls in the following accessories:
Porch Front Door - Good (This is actually an August lock)
Porch Light - I have no idea why. This is a Hue light
Lyric Security controller - which is designated as being in the Vestibule
Porch Light Sensor (Part of a Fibaro Motion detector)
Porch Temperature (Also part of the Fibaro)
Interestingly, it left the Fibaro Motion Sensor as a seperate accessory.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.