You could get a PoE (power over Ethernet) IP camera (or modify an existing IP camera to become a PoE camera if you have some basic soldering skills, and the correct parts required--parts would depend on distance)....but, of course, you'd have to run an Ethernet cable to it.
Or you could use an old iPhone, combined with the IPcam app and a dock (for power and to stand the phone up).