Internet of Toilets π½ππ© how I built a Kitty Litter using JS
summary
Built a working IoT litter box that logs every cat visit and a passive weight reading, using a Raspberry Pi running Node.js with Johnny-Five for GPIO and a magnetic lid switch, plus a Python child process polling load cells every 0.1s to capture weight (no native Node package available). Events and daily documents stream into MongoDB time-series collections; system re-zeroes after maintenance, records timestamped weights, and reliably distinguishes maintenance vs. bathroom events.
AI-written summary Β· about
chapters (10)
- 0:00Introduction
- 1:55What is IoT
- 3:22Why JavaScript
- 6:33Internet-connected kitty litter
- 8:57Hello World with Johnny-Five
- 10:43Maintenance mode detection
- 11:45Load cells with Python & Node
- 13:08Cat bathroom data in MongoDB
- 15:34IoT and JavaScript future
- 17:19Start your IoT project
related talks
32mAn Intro To IoT (Internet of Toilets π½); Or How I Built an IoT Kitty Litter Box with JavaScript
18mAn Introduction to IoT (Internet of Toilets); Or How I Built an IoT Kitty Litter Box Using JS
29mAn Introduction to the Internet of Toilets
14mAn Introduction To IoT
27mInternet of Cats
24mInternet of Cats
41mBringing JavaScript to the IoT Edge
26mFrom Software to Hardware: How Do I Track My Cat with JavaScript
