A software engineer from the Indian city of Bengaluru has found an innovative means to keep his body temperature ideal throughout the night. His artificial intelligence-powered smart fan creation has gone viral with many praising his ingenuity.
In X and LinkedIn posts on Feb. 20, Pankaj Tanwar explained that he was inspired to develop the technology to avoid waking up sweaty or freezing cold at 3 a.m.
“So I taught my AI roommate to automatically control the fan by watching me sleep,” he said. “Arms or leg sticking out means I’m hot so fan turns on, arms curled up means I’m cold so fan turns off.”
The system works by using a remote button pusher to physically press the fan switch when it receives a signal.
“You are building solutions every other day like they are piece of cake!!,” commented one user. “Total out-of-the-box thinking and great use of tech.”
Another asked if he could tell him about the “secret sauce” that drives him to come up with such interesting ideas. Many have described it as a practical use of artificial intelligence in the home.
Unusual tech is his calling
The man says that he “builds whatever his brain finds funny” and he has definitely come up with a handful of quirky and popular inventions recently.
Earlier in February, Tanwar created a device that helps deter people in his vicinity from smoking by making them feel bad about themselves.
“I HATE people smoking around me in public,” he elaborated on X, “so I built a device that plays audio of a baby coughing and granny abusing in local language whenever it detects someone smoking nearby.”
Like the novel fan device, it runs off of his miniature Raspberry Pi computer. Tanwar alleges to have successfully tested the gadget at a bus stop, saying that a smoker looked around with a confused look after hearing the unpleasant sounds and extinguished his cigarette.
He thinks AI can improve Indian culinary experiences
The Bengaluru native also created the AI model “BuffetGPT” this month to help optimize food consumption at Indian weddings. This peculiar tech creation received even more attention on social media than the smart fan system, garnering almost 7,000 likes on X.
“Indian wedding buffet is a scam, I always leave regretting something,” Tanwar stated. “So i built BuffetGPT: an AI agent that scans entire buffet and gives you a game plan.”
He has gotten sick of his boss catching him watching Netflix at work, so he crafted a mechanism that automatically detects them and switches his screen over to job material.
“Thanks to this, I’ve watched all seasons of Stranger Things in a week,” Tanwar enthusiastically wrote Jan. 29 on the X platform.
That post was written the same month that Tanwar concluded his term as Lead Software Engineer at India’s InMobi Advertising. He was in that position for over one year.
i'm an engineer in india.
i do stand up comedy and write jokes. i occasionally teach kids math and science on weekends. i write blogs and build stupid projects in my free time.
i've automated most of my bedroom in the weirdest ways possible – lights, gate, tv, camera, mirror,… https://t.co/tZfb8VcNhu
— Pankaj (@the2ndfloorguy) February 11, 2026
Read more: NextSense launches unique brain-sensing EEG ‘Smartbuds’
Follow Rowan Dunne on LinkedIn
rowan@mugglehead.com