mehcam is a tool to capture picture from a D-Link DCS 932L and to detection motion using Average Hash and Hamming Distance.
In case of motion, it is able to use the Pushover API to send push notifications to a mobile application. See
mehcam.conf for configuration.
It is the source code of articles available at: https://remy.io/blog/how-ive-created-an-intruder-detector-part-1/