i wired my toilet to a Raspberry Pi

i wired my toilet to a Raspberry Pi

Title history
  • i wired my toilet to a Raspberry Pi — observed on 20261111-1825 UTC (YouTube)
🎙 NetworkChuck 👥 5.5M 📅 November 11, 2026 ⏱ 11 min 👁 2K 📄 tutorial 🧭 2026-11-11
Available in: English (current) Français

Keywords

float switchRaspberry PiGPIOPythonSlack alert

Summary

In this video, NetworkChuck demonstrates how to give a toilet an IP address by monitoring its flushes using a float switch wired to a Raspberry Pi. The motivation is to correlate flushes with network drops in his office, as flushes were causing disconnections. He explains the internal workings of a float switch (two metal strips in a glass tube with a magnet), how to wire it to the Pi’s GPIO pins (ground and GPIO 17), and the importance of the Pi’s built-in pull-up resistor to avoid noise. A Python script checks the pin state every 0.1 seconds and logs events to a JSON file, also triggering a Slack notification for the team. The installation process is shown step by step, including a janky but functional mounting with a Lego piece and zip ties. After testing, the system works, and he jokes about the HR implications. The video includes a sponsored segment from Wiz about AI threat detection, but the core tutorial is practical and accessible for beginners.

167 words

Critical Evaluation

Value of the Information & Strength of the Argument

The video provides valuable hands-on knowledge for IoT beginners, clearly explaining the principles behind a float switch and pull-up resistors. The argumentation is solid: the reasoning for the project (correlating flushes with network issues) is logical, and the technical explanation of how the circuit operates is accurate. The step-by-step approach, including potential pitfalls like wire contact and power-on safety, adds practical value. However, the content is more show-and-tell than rigorous scientific demonstration; it lacks quantitative measurements or in-depth analysis of alternative solutions.

Scientific Rigor, Source Quality, Title Accuracy

The scientific rigor is sufficient for a tutorial: the presenter correctly explains the circuit behavior and the code, and references the underlying concepts. Sources are not cited beyond the provided GitHub repository and a couple of related videos; the affiliate links are commercial but not misleading. The title is perfectly aligned with the content, and the video delivers exactly what it promises. Comments were not provided, so no public feedback analysis is included.

170 words

Title / Content Match

Title perfectly matches the content: the video shows wiring a float switch to a Raspberry Pi to monitor flushes.

Quality & Reliability

7/10

Clear practical demonstration with accurate technical details on float switch operation, GPIO wiring, and pull-up resistor behavior. Minor caveats: use of affiliate links and a sponsored segment, but the core DIY project is reliable and reproducible.

Key Moments

Cited Sources

Concurring Sources

  • Raspberry Pi GPIO documentation — Official documentation supporting the GPIO pin behavior and pull-up resistor configuration.

External References

Contribution & Novelties

The video offers a creative, low-cost approach to IoT monitoring using salvageable hardware, bridging network diagnostics and home automation. It adds value by demonstrating a real-world troubleshooting scenario (flushing causing network drops) and providing a complete open-source codebase. The inclusion of pull-up resistor theory and float switch mechanics makes it educational for beginners.

Pour aller plus loin :

99 words

Radar Profile

The profile shows balanced scores across quantity and quality of information, with a moderate technical level. The reliability is slightly lower due to the informal style and commercial elements, but the core content is practical and reproducible.

Reliability 7/10