This AI fan turns on/off based on your sleeping position
A Bengaluru engineer, Pankaj (@the2ndfloorguy), is trending after building an AI-powered system that automatically controls his ceiling fan (via a remote/button-pusher) based on how you're sleeping.
Frustrated by waking up too hot or cold, he created a system that spots whether you're under or outside your blanket and tweaks the fan accordingly.
How does the AI fan work?
The setup uses a MediaPipe pose vision model running on a Raspberry Pi to track your sleeping position in real time.
Depending on what it detects, it sends signals to a remote device that presses the fan switch for you—Pankaj calls this "real smart home" tech.
People want to build their own AI fans
Pankaj's post showing his bedroom with pose detection overlays quickly went viral. People praised his creativity and practical use of AI, with one user saying, "Total out-of-the-box thinking and great use of tech."
Now, many are asking him for tutorials or code so they can try building their own AI fans too.