I have developed a Raspi (with the camera module, relay and motion sensor) to a monitoring tool. With a registered movement a light is switched on and shot a series of photos, which are then uploaded directly to the Internet via the relay. Works flawlessly.