legotheboss / YouTube-files

Files for QuickPi tutorials
https://www.youtube.com/QuickPie
109 stars 40 forks source link

Multiple Cameras On Same Pi #33

Closed erfind closed 6 years ago

erfind commented 6 years ago

Hey! I am trying to figure out how to create two HomeKit Cameras with two cameras connected to my Pi and running in motionEye. Could you help with that? :)

legotheboss commented 6 years ago

It is doable, but a bit complex to do. You would need to clone the HAP-NodeJS folder, edit the lib/Camera.js file to reflect your second camera's motioneye ports, edit CameraCore.js to create a new camera for HomeKit to recognize and run it on a different port as well. Once all this is done, running the second CameraCore.js should allow the Camera to function properly.