HELP to use a cam with MM PLEASE
I want to use my cam with magic mirror.
I’ve bought 2 cams : an ip cam (SCS sentinel SVI0039 and an usb cam (Playstation eye 3)
Can anyone help me? which modules should I use?
@axel - Well, if you really want to use the camera, the basic module to use is MMM-Motion-Detection. This will turn the MagicMirror display off & on when it detects movement in front of the camera.
I’m pretty sure there is a selfie module around here that will let you take pictures of yourself. If you really want to get advanced, there’s a facial recognition app that has been used with varying degrees of success.
sdetweil last edited by sdetweil
and my MMM-SleepWake works with webcam for motion detection and Lucy for remembering which modules are hidden when waking by voice or movement
and supports three different screen off approaches, tvservice (pi only) dpms (some monitors) and screen blanking(for auto power off devices, like TVs, EnergyStar)
I would go with MMM-SleepWake because it’s a newer module and it’s fully supported by our friend, @sdetweil
thank toi guys for your answers but what i want is to see my usb cam in live on the mirror! is there a module for that please?
If your webcam has IP or URL address to stream video output, MMM-RTSP… or some iFrame modules could work.
see my usb cam in live on the mirror!
If you can get an RTSP stream URL from your IP camera you can use my module: MMM-RTSPStream. Use the
developbranch right now–and search this forum if you’re having issues getting it to work.
If you want to stream your USB camera by hooking it up to the Pi, you can look at something like mjpg-streamer (Google ‘OctoPrint mjpg-streamer setup’ for some good guides) and then use MMM-iframe to show the image.
i try to use mjpg_streamer :
$ mjpg_streamer -o “output_http.so -w ./www” -i “input_uvc.so -f 1 -q 75 -y”
but i have this error : bind:Address already in use.
also : Innappropriate ioctl for device (25)
bind:Address already in use.
The default port is the same as the Mirror, 8080. Try adding
-p 8081to your command to change the port.