khaost / homebridge-camera-isight Goto Github PK
View Code? Open in Web Editor NEWiSight camera plugin for homebridge
iSight camera plugin for homebridge
I've got it running and I was able to add the camera to my iOS device but when I touch the black window to see the camera it crashes, I assume because I don't the the proper stream in the config.
"source": "-re -i rtsp://myfancy_rtsp_stream", <-----WHAT SHOULD I USE HERE?
I already installed FFMPEG on my macbook.
Error installing homebridge-camera-isight? Please help!
`pi@hassbian:~ $ sudo npm install -g homebridge-camera-isight
sudo: unable to resolve host hassbian
npm WARN engine [email protected]: wanted: {"node":">=5.0.0","homebridge":">=0.4.5"} (current: {"node":"4.8.0","npm":"2.15.11"})
npm ERR! Linux 4.4.38-v7+
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "homebridge-camera-isight"
npm ERR! node v4.8.0
npm ERR! npm v2.15.11
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: arm
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/npm-debug.log
`
Novice, inexperienced! Seek help。
I have an iMac 5K with a Thunderbolt Display. Running this plugin works great, except it always selects the camera in the Thunderbolt Display. I'd like for it to select the camera in the iMac 5K, as it points a better direction in the room. Is this feasible? Perhaps an option to select which camera? Or an option to activate both?
Hi,
The code here - https://github.com/KhaosT/homebridge-camera-isight/blob/master/index.js#L37
always uses the default name of "iSight Camera" which causes issues if you want to name it, or have more than one within your home kit setup.
This PR - #21 fixes it.
Cheers
As soon as I open the camera in the Home app it causes homebridge to crash with the following error:
[10/12/2016, 12:09:00 PM] Homebridge is running on port 51826.
-re -f avfoundation -r 30 -i 0:0 -threads 0 -vcodec libx264 -an -pix_fmt yuv420p -r 30 -f rawvideo -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 299k -payload_type 99 -ssrc 1 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params gGoQLRe1wY/rTaou+bKk5I5tCFMNnKfHMv46iqSF srtp://10.0.1.20:65082?rtcpport=65082&localrtcpport=65082&pkt_size=1378
events.js:141
throw er; // Unhandled 'error' event
^
Error: spawn ffmpeg ENOENT
at exports._errnoException (util.js:907:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
at onErrorNT (internal/child_process.js:344:16)
at nextTickCallbackWith2Args (node.js:442:9)
at process._tickCallback (node.js:356:17)
I can see this plugin is more or less based on homebridge-camera-ffmpeg, but can't see where it's picking up the max-bitrate from. Is it possible to config bitrate in the plugin config at all?
Should the sound output also work? Or is currently only video supported? I use a external webcam.
On mac ffmpeg v3.4 fails for live streaming for this plugin and homebridge-camera-ffmpeg plugin.
Is there any version of ffmpeg that is known to work for live streams with iSight and D'link basic IPCams on mac with the latest versions of macOS and iOS?
So I've got my homebridge running on a Mac Mini, which obviously doesn't have an iSight camera.
Is this plugin only going to work with iSight, or with any attached camera?
Hello, I've got the following error.
Any idea where does this can come from ?
LOG:
ffmpeg [
'-re',
'-f',
'avfoundation',
'-r',
'25',
'-i',
'0:none',
'-threads',
'0',
'-vcodec',
'libx264',
'-an',
'-pix_fmt',
'yuv420p',
'-r',
'30',
'-f',
'rawvideo',
'-tune',
'zerolatency',
'-vf',
'scale=1280:720',
'-b:v',
'299k',
'-bufsize',
'299k',
'-payload_type',
'99',
'-ssrc',
'1',
'-f',
'rtp',
'-srtp_out_suite',
'AES_CM_128_HMAC_SHA1_80',
'-srtp_out_params',
'nUuMqlxBdoaYoaBCeWN1F+KwsuxexQjvOdydlXIv',
'srtp://192.168.1.35:57448?rtcpport=57448&localrtcpport=57448&pkt_size=1378'
]
stderr: ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with Apple clang version 11.0.3 (clang-1103.0.32.62)
stderr: configuration: --enable-videotoolbox --pkgconfigdir=/Users/runner/work/ffmpeg-for-homebridge/ffmpeg-for-homebridge/build/workspace/lib/pkgconfig --prefix=/Users/runner/work/ffmpeg-for-homebridge/ffmpeg-for-homebridge/build/workspace --pkg-config-flags=--static --extra-cflags=-I/Users/runner/work/ffmpeg-for-homebridge/ffmpeg-for-homebridge/build/workspace/include --extra-ldflags=-L/Users/runner/work/ffmpeg-for-homebridge/ffmpeg-for-homebridge/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
stderr: [avfoundation @ 0x7f9a53008200] Failed to create AV capture input device: Cannot use FaceTime HD Camera (Built-in)
stderr: 0:none: Input/output error
[avfoundation @ 0x7fbdd3808200] Failed to create AV capture input device: Cannot use FaceTime HD Camera (Built-in)
Config:
{
"platform": "Camera-iSight",
"name": "FaceTime HD Camera",
"fps": 25,
"video_device": "0",
"audio_device": "none"
}
I tried different configurations but nothing worked
Is there any way to have a password enabled so that you can only view the camera if you're allowed to?
how to install ffmpeg for mac?
what is the code to add the camera to Home app?
ffmpeg installation is complete, all the display is normal but I can not find it when adding accessories, I use the 2003 release of the 1394 interface of the iSIGHT, there is no need to troubleshoot it?
[2017-2-4 19:21:02] Homebridge is running on port 53306.
[2017-2-4 19:21:02] iSight Camera is running on port 49432.
I already have homebridge running on my RPi with several plugins
Can I have a 2nd homebridge instance running on my iMac for this plugin?
For this 2nd instance should I change the default Homekit code (PIN) and name?
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
It looks like the latest update doesn't work with my camera. 😄
I saw that you changed the fps form 30 to 25. Since this update I only see the first image and now live video.
We have to figure out a way to detect which features are supported by the connected webcam.
I am using a Logitech one and this one worked without any problems with the latest version (0.0.2)
Hey, I was wondering how we add this to the configuration profile for homebridge. Is there anything we need to add specifically?
Hi,
I'm getting this error:
stderr: [avfoundation @ 0x7f8543802e00] Selected framerate (30.000000) is not supported by the device
I'm using the default config:
{
"platform": "Camera-iSight",
"name": "iSight Camera",
"fps": 30
}
What should be the correct fps for the iMac 27" Retina iSight Camera?
P.S. The stills show up correctly but not Video
i have multiple macs in the same network. every one with it's own homebridge installed.
if i install the homebridge-camera-isight plugin on the second mac, there comes an bonjour-hap error:
Error: Service name is already in use on the network
at Registry._onProbeComplete (/usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/lib/Registry.js:108:27)
at Prober.done (/usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/lib/Prober.js:67:10)
at Prober.onMDNSresponse (/usr/local/lib/node_modules/homebridge/node_modules/bonjour-hap/lib/Prober.js:61:102)
at EventEmitter.emit (node:events:526:28)
at Socket. (/usr/local/lib/node_modules/homebridge/node_modules/multicast-dns/index.js:49:43)
at Socket.emit (node:events:526:28)
at UDP.onMessage (node:dgram:922:8)
the macOS is HighSierra (older iMac) and the ffmpeg version running is: 3.3.9 Hilbert.
Hi,
I've got the camera-isight up and running on my mac with a webcam and ffmpeg. (webcam->ffmpeg->mac->homebridge->appletv->iphone(wifi = ok, mobile=nok)
On my internal network it's running fine. But I get the message "No Response This camera is not responding" when I open homekit on an external network (like my mobile).
Which port do I have to open? And on which device? My mac, my appletv.
Anyway to implement this as a motion sensor for use with triggers? thank you!
Hello,
The plugin works correctly, but the video is very dark, if i launch facetime app on my mac, the stream viseo isn't dark.
Is there a method for have an image not dark?
Christopher
This plugin stopped working in macOS Catalina
Is the a fix for this?
No useful info in the log file
[11/3/2019, 7:33:03 PM] iSight Camera is running on port 50321. [11/3/2019, 7:33:03 PM] Please add [iSight Camera] manually in Home app. Setup Code: 031-45-155
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.