elvisimprsntr/siriproxy-ipcam

How to use local IP cam?

Closed this issue · 3 comments

Hi, I'm running SiriProxy perfectly on my Raspberry Pi, except I can't get this plugin to work with my local IP cam on the Pi. I use the motion package. In the config.yml I've tried "/tmp/motion/lastsnap.jpg" "localhost://tmp/motion/lastsnap.jpg" "http://192.168.1.104/tmp/motion/lastsnap.jpg" I have no ideas where to go now.

  1. The path indicates to me that you are trying to grab the image from a local directory on the RPi. Is this correct?
  2. The plugin was designed to grab images directly from an IP camera, not USB camera. Hence, the name of the plugin is IPCam.
  3. If the IP camera requires authentication, it will cache the image to the RPi /var/www directory.
  4. If you want to push an image using some other package the grabs the image from an IP or USB cam from a local directory on the RPi you will need to clone and modify the plugin for your specific application since my plugin is not intended for that purpose.

That does explain some things. Thank you.

If you are using some other package or camera, if you can place the image in the /var/www directory and modify the plugin to retrieve from the RPi IP address similar to how I cache the camera image from authenticated cameras that will minimize the changes you need to make.
This of course assumes you have Apache installed.