Skip to content

A Windows IoT on Raspberry Pi, SignalR and XamarinForms project.

License

Notifications You must be signed in to change notification settings

LanceMcCarthy/Flusher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Flusher

Introducing The Flusher, a Windows IoT app running on Raspberry Pi, SignalR and Xamarin.Forms project that uses AI to automatically flush a human toilet for my cat while I'm on vacation :)

manual flush

For how I did this and more details, read my blog post Using Windows IoT, SignalR, Azure Custom Vision and Xamarin Forms to Flush a Toilet.

Parts and Services

Operation Details

The IoT client (a UWP app running on the Raspberry Pi) will take a photo of the toilet bowl and upload it to Azure blob. Once uploaded to the blob, the photo's URL is passed to Azure Custom Vision. I have trained the AI to detect and locate the position of any substance in the bowl, it will return the results of the analysis to the IoT client.

If the detection is 85% or higher probability that there is an undesirable substance, the servo angle will be changed from 0 degrees to 100 degrees for a duration of 5 seconds. This opens the toilet valve and flushes the toilet.

manual flush

At all times, the IoT client is communicating information in real-time to all admin applications using SignalR.

Admin Applications

The native admin apps have been compiled for Android, iOS and PC (UWP Desktop). There is also a web portal on the same SignalR server using MVC. The admin can manually take a photo or request an analysis at any time.

Mobile App

android

Web app

web

About

A Windows IoT on Raspberry Pi, SignalR and XamarinForms project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published