Here’s a good little tutorial I found on GitHub. It uses an 801s vibration module and a Raspberry Pi Zero to detect vibrations from a home appliance, such as a washing machine. If it detects stillness for a specified amount of time, the appliance is assumed to have finished running and a tweet is sent to let you know. It’s a nice combination of hardware and software and can be found here on GitHub.