The basics of functioning
Let's assume that our laundry room is equipped with a washing machine and a lamp used by the user when they have to pick up the laundry. In these conditions, the BeagleBone Black can be equipped with some special sensors to detect when the washing machine has started or finished its job and when someone goes into the laundry room to pick up the washed clothes.
In this scenario, the BeagleBone Black should detect when the washing machine has been started by the user and then wait until the job has finished. At this point, the system can generate a WhatsApp message to alert the user that they have to pick up their clothes. When the user enters into the room, the light is turned on, and when they leave the room, the light is turned off. In this manner, our BeagleBone Black can detect when the user has done their job and then restart the cycle.