To all that want to extend the power cord for the Foscams / Airsight....
Be aware that the cameras draw a significant amount of current when the led's are on (about 1 amp). AND there WILL be voltage drop thru the cable.
The smaller wire (larger AWG), the more drop thru the cable.
This will most likely lead to camera instability in the form of constant rebooting of the camera, and dropped connections (wired or wireless).
I have a foscam 8918 (11 leds) about 20 feet from the pwr supply and had to modify the output voltage to about 6.5 volts just so the camera would see about 5 when the leds are on.
Of course the voltage is higher during the day when the leds are off, but is still within the operating voltage of the 5 volt logic.
It is up to each user to determine the voltage at the camera during use, the size of the power cable, the length of the power cable.
There are many articles about this on the web, so further investigation must be done before you connect your camera so you don't over voltage the logic, and maintain operating voltage for the camera.
The other option is to get some power over ethernet adaptors. These use four of the ethernet (unused) wires to place about 40volts on them and have a voltage regulator at the camera to drop it locally down to 5 volts.
You could make one yourself although you don't need 40 volts, just something that is higher than the dropout voltage of the regulator.
You could put 10-12 volts on the cable then use an LM7805 regulator at the camera end (a small heatsink should be used). As long as the drop across the regulator is greater than about 3 volts, and the power is small, there should not be a heating problem.