If you go this route and its a semi permanent solution, would probably be better to get a ip camera or something instead of a smart phone, that way you don't have to worry about the phone battery going bad from being plugged in 24/7.