8-Dollar Smart Plug Turns into a Productivity Booster
2025-06-22
A simple script monitors an $8 smart plug's state. The plug has a physical switch and WiFi connectivity, allowing API access to its status. When the switch is on, the script modifies /etc/hosts to block distracting websites (Twitter, YouTube, etc.). Placed out of easy reach, this creates friction; accessing blocked sites requires physically turning off the plug, making mindless internet browsing less appealing. A surprisingly effective productivity hack!
Read more
Misc