rahulmranjith / homekit

Homekit HAP-NodeJS - Integration of HAP-NodeJS with WS2812(NeoPixel) ,DHT11 ,SONOFF, Raspberry Pi Camera
MIT License
12 stars 0 forks source link

Camera core.js issue #1

Open adityasravya opened 6 years ago

adityasravya commented 6 years ago

Hi, I have tried this Camera core.js and i have the below issue. /home/pi/HAP-NodeJS/Camercore.js:14 var cameraSource = new Camera(); ^

TypeError: Camera is not a function at Object. (/home/pi/HAP-NodeJS/Camercore.js:14:20) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10) at startup (node.js:139:18) at node.js:968:3

Can you please let me know how to resolve this?

royfocker19 commented 5 years ago

Hi Ranjith, I saw here https://medium.com/@rahulranjith/ip-camera-issues-for-rpi-hap-node-js-76b6c70d0bfc that you said you were able to add some camera controls. Could you please share that code so I can test it? Regards Fede

royfocker19 commented 5 years ago

No info to share?