Yeah, thanks @soltecno for the comment and nice suggestion. The feature you mentioned can also be added to make it smarter and extend its functionality in other to prevent or address any possible medical issue that could occur when the user takes more time than expected in the restroom.
It is a great idea 👍, I would look into it and probably modify the device functionality as suggested.