I have 2 wireless ip cameras. (Y-Cam with audio and a cheaper Wanscam no audio)
I have them set up on my tower through Blue Iris for motion detection email alert. Blue Iris fires off an email with a jpeg image if it is triggered. It also stores the same on the tower along with a 5 second clip.
I also have a QNAP NAS with Surveillance Station Pro. This is set to record 24/7
If I get a Blue Iris email, I can remotely go in to the NAS and play back the video.
(To remotely log in you need a static ip on the router from your isp)
The NAS is set to keep all video for 30 days and then it gets written over. (it records in 5min segments)
.........................................
All hunky dory. However, very occasionally one of the cameras goes down and the only way to get it up and running again is to switch it off at the mains and back on again.
How do I know a camera has gone offline?
With Surveillance Station Pro you can set up "alerts". One of them being to fire off an email if a camera goes down, so it points to a gmail account and gets delivered to my mobile immediately.
Now comes the easy bit

Get yourself one of these and plug the camera in to it.
http://www.wifiplug.co.uk/
It has an app for apple and android. (and you can log in to their site remotely)
If you get an email to tell you the camera has gone offline, open the app, click the "off" switch, wait 5 seconds and switch to "on" and within 30 seconds the camera is back online and it's business as usual.
It's not very often a camera goes down but if it does, wifi plug is a godsend. I've used it to bring a camera back online when sitting at the bar at 1am in Turkey. If I did not have wifi plug it would be down until I came home.
.