i wired my toilet to a Raspberry Pi

Companies still have to ship AI, and their AI agents now have real access to real servers and real data. Wiz gives you the complete context and runtime protection to adopt AI fast and safely. See Wiz AIDR in action with a demo and tell them Chuck sent you: https://ntck.co/WizAIDR


My toilet officially has an IP address. Every time my editors flush, all of our computers drop off the NAS and even the internet kind of hiccups, so I put a float switch in the toilet tank and wired it to an old Raspberry Pi. Now I know exactly when that toilet flushes, down to the millisecond, and my whole team gets a Slack alert. It took a Lego, a few tries, a few zip ties and way too much hand washing. That's just good IT work. In this video you'll learn how a float switch works (two metal strips, a glass tube and a magnet), how to wire one to the GPIO pins on a Raspberry Pi, why the Pi's built-in pull-up resistor keeps stray electrical noise from faking a flush, and how a small Python script checks the pin every tenth of a second and logs every flush to a JSON file. Whether you have never touched a GPIO pin or everything in your house already has an IP address, this is a very dumb project with a real IT lesson inside it: when something weird happens on your network, log everything around it.


Join the NetworkChuck Academy!: https://ntck.co/NCAcademy


RESOURCES / LINKS:
🔌 Jumper wires (buy a million of these): https://geni.us/qSh67
🚽 Toilet monitor code + step-by-step guide: https://github.com/theNetworkChuck/toilet-monitor-guide
📺 My Paperclip video (where the flush problem started): https://www.youtube.com/watch?v=7RVf25Rg0Mc
📺 You SUCK at Subnetting EP 1 (where I first joked about giving my toilet an IP address): https://www.youtube.com/watch?v=5WfiTHiU4x8


**Sponsored by Wiz


SUPPORT NETWORKCHUCK:
☕☕ COFFEE and MERCH: https://ntck.co/coffee

READY TO LEARN??
🔥🔥Join the NetworkChuck Academy!: https://ntck.co/NCAcademy
📚 CCNA Course: https://ntck.co/ccna

FOLLOW ME EVERYWHERE:
Instagram: https://www.instagram.com/networkchuck/
X/Twitter: https://x.com/networkchuck
Facebook: https://www.facebook.com/NetworkChuck/
Join the Discord server: https://ntck.co/discord


Some links in this description are affiliate links. If you buy through them, I may earn a small commission at no extra cost to you. #sponsored

#raspberrypi #homelab #networkchuck Receive SMS online on sms24.me

TubeReader video aggregator is a website that collects and organizes online videos from the YouTube source. Video aggregation is done for different purposes, and TubeReader take different approaches to achieve their purpose.

Our try to collect videos of high quality or interest for visitors to view; the collection may be made by editors or may be based on community votes.

Another method is to base the collection on those videos most viewed, either at the aggregator site or at various popular video hosting sites.

TubeReader site exists to allow users to collect their own sets of videos, for personal use as well as for browsing and viewing by others; TubeReader can develop online communities around video sharing.

Our site allow users to create a personalized video playlist, for personal use as well as for browsing and viewing by others.

@YouTubeReaderBot allows you to subscribe to Youtube channels.

By using @YouTubeReaderBot Bot you agree with YouTube Terms of Service.

Use the @YouTubeReaderBot telegram bot to be the first to be notified when new videos are released on your favorite channels.

Look for new videos or channels and share them with your friends.

You can start using our bot from this video, subscribe now to i wired my toilet to a Raspberry Pi

What is YouTube?

YouTube is a free video sharing website that makes it easy to watch online videos. You can even create and upload your own videos to share with others. Originally created in 2005, YouTube is now one of the most popular sites on the Web, with visitors watching around 6 billion hours of video every month.