i wired my toilet to a Raspberry Pi @NetworkChuck
i wired my toilet to a Raspberry Pi  @NetworkChuck
Uploaded November 2026 | Updated November 2026, 6 hours ago
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: 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!: ntck.co/NCAcademy


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


**Sponsored by Wiz


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

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

FOLLOW ME EVERYWHERE:
Instagram: instagram.com/networkchuck
X/Twitter: https://x.com/networkchuck
Facebook: facebook.com/NetworkChuck
Join the Discord server: 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
i wired my toilet to a Raspberry PiIm Moderating My First Panel… Come see me at Cisco LiveI gave Claude Code a phone number #claudecodeLearn networking with REAL labs 👉 Join the Summer of CCNAHow to Actually Code with AI (ft. Matt Pocock)I’m changing how I use AI (Open WebUI + LiteLLM)AI can handle the boring stuff!your house needs TWO networks (heres why)Hackers infected the wrong girlfriend....playing with the Rasperry Pi AI CameraClaude Code on your Phone is OFFICIAL (it changes  everything)EVERYTHING NEW with ChatGPT 4o Image Generation
NetworkChuck |

i wired my toilet to a Raspberry Pi

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER