I use a raspberry pi and pinoir camera, take a picture every hour and post it to a web page, but it could easily be adapted to use Motion and provide real time alerts (
http://www.skyslab.info/skyslab-cam). Cost all up was $100 (not including my time to code and develop).