Toilet Keeper- Keep your toilet clean and keep your partner happy
Tags: azuretrialhack, iot, esp32, arduino
Published: 2022-03-08 15:56:32

[Instructions]: # (To submit to the Microsoft Azure Trial Hackathon on DEV, please fill out all sections.)


### Overview of My Submission
Has anyone told you to close the toilet lid after using bathroom? And you can't make a habit of doing so? Then, this is the system you need!
This is an alert system to keep your toilet clean and keep your partner happy.(If he/she doesn't like your way of using toilet.lol)
With this system, if you leave bathroom without closing the toilet lid , the unique alert system and a desktop notification let you know you forget to close the lid.

**Demonstration**

{% youtube https://youtu.be/lbmWat5kvqQ %}

**System Overview**
![System Overview](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d7mu6brz1nbrp17xrnwt.png)
 
### Why I built this system
Because my girlfriend often tells me to close the toilet lid after using bathroom but I always forget to do that. She says closing it is good for keeping the toilet clean and having less chances to drop something into toilet. I agreed with her but could not make a habit of closing the lid everytime I use bathroom. At that time, I happened to use Azure IoT Hub at work and find this azure hackathon on DEV.to. I felt like I could build something to break my bad habit and decided to join the hackathon!
I hope this system will help somebody who has the same habit and a partner who doesn't like it. lol
Happy Hacking!

[Note]: # (Please make sure the project links to the appropriate GitHub repository, and includes the [Apache-2 permissive license](https://www.apache.org/licenses/LICENSE-2.0)  and README.)


### Submission Category: 
Wacky Wildcards


### Link to Code on GitHub
{% github https://github.com/ironkicka/ToiletKeeper %}

[Note]: # (Our markdown editor supports pretty embeds. Try this syntax: `{% github link_to_your_repo %}` to share a GitHub repository)
[Note]: # (Your repository must include a README)
[Note]: # (You must use and list a permissive license for your code: MIT, Apache-2)


### Additional Resources / Info
Detailed explanation of my system is written on REDME in my repository.So, if you got interested in it, please visit my repo.

I will add some pictures of my system below since these are not in the repo.

- Toilet with sensors
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vazq1n4azd3zgjnu9sn2.png)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/82jltdgy0wz89lfdneg6.png)

- Alert System

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f2ktbe7pf4uca8d0yk0b.png)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/m43ou6375jogwxdpt24l.png)

- Desktop App
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hl1lxlnr9m3atykuqirn.png)
 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/86wplsv6xlvuapdo7qbv.png)


[Note]: # (Be sure to include the DEV usernames of your collaborators, if any. Prizes for winning projects with multiple collaborators will be sent to the person who posts this submission and they will distribute the prize evenly. DEV will not split prizes as per our rules)

[Reminder]: # (Submissions are due on March 8, 2022 @ 11:59 PM UTC)