I have a Foscam like this and they're meant to be used indoors so you may have to watch out for weather depending on where you mount it. Mine is outside under an overhang and has worked well, but the lens gets fogged up sometimes and I have to point it toward the sun for a day or more to clear it out. (I'm just using mine until it dies and I can replace it with something better.) I read that the pan/tilt will stop working at freezing temperatures, and direct rain will surely kill it for good. The glare will keep you from leaving it inside and pointing it out a window. But putting it inside and watching the interior of a building works great.
They won't work with X10 directly, but the real Foscams have an API that you can use to control the camera with http get requests. The clones may or may not work the same.
This may be more than the OP wanted but I've never seen so many Foscam owners in one place before, so if anyone is interested in the API, I went through several versions of it (some were half in Chinese) to get as many commands as I could and put them in a script which I meant to clean up and make more respectable but never did.
http://a-more-common-hades.blogspot.com/2011/02/foscam-control-script-etc.htmlIt's for Linux, but wherever you see "${addy}", just replace that with "
http://user:password@ip:port" and it'll work from anything that can do http requests, even a browser. The last section was a hastily written help section that may explain the commands a little bit. As haphazardly as it was put together, I've been using the script for a year with my computer and phone. At dusk and dawn, I have the settings change automatically and point in a different direction and with an X10 motion sensor is triggered, the script points the cam in a preset direction, etc.