Smart WiFi Camera 2MP FullHD 1080p, Nous W3

It has motion detection, but not just any motion detection. It also has IR night vision, so you can see clearly even in the dark. It can be mounted on the wall or ceiling, or placed on a flat surface.

eBay