from Hacker News

Using Home Assistant, adguard home and an $8 smart outlet to avoid brain rot

by remuskaos on 6/22/25, 8:26 PM with 197 comments

  • by userbinator on 6/22/25, 10:04 PM

    Distracting yourself from distractions by building an overly complex system to help you do that, and writing an article about it, is certainly a very HN-ish thing to do.
  • by polivier on 6/22/25, 10:42 PM

    I love Home Assistant.

    Many years ago we gave our then-toddler an old digital camera to play with. Some time later, we looked at the pictures he took. We were horrified to find out that he took pictures of the outside of the house at night. As in, our toddler would unlock and open the front door, go outside (at night!), take pictures of the house, go back in, close and lock the door, and go back into his bed. I bought some wireless door sensors and created an automation where if the sensors are triggered between 10pm and 6am, the lights in our room would turn on to wake us up.

    I expanded this later and today we have sensors on all doors/windows that kids can use to leave the house (we have 4 young kids). As it happens, these are the same doors/windows that burglars can use to enter the house, so this doubles as an alarm system (that we can activate when we leave the house and will notify us remotely if the sensors are triggered).

    The best part is that with Home Assistant you are not locked into an app/ecosystem. Our door/window sensors are of a different brand than our lightbulbs, and we control everything from a single app.

  • by AdieuToLogic on 6/23/25, 2:48 AM

    Here is a gradated set of exercises to determine one's phone addiction, if any, in increasing levels of potential difficulty.

      1 - on an off day, with no reason to require phone use,
        put your phone in a dresser drawer for the day and
        do not use or look at it.
    
      2 - on an off day, with no reason to require phone use,
        put your phone in a dresser drawer for the day and
        leave your residence for at least one hour.
    
      3 - leave your phone at home when either meeting friends,
        getting lunch, or going to the grocery store.
    
      4 - leave your phone at home when going into the office
        for one day.
    
      5 - leave your phone in a dresser drawer for an entire
        weekend.
    
      6 - leave your phone at home when traveling for more
        than a day (vacation, visiting family, etc.).
  • by tmhrtly on 6/22/25, 11:02 PM

    The one thing I’ve found that works for me on my phone is the OneSec app. It hooks into shortcuts (for apps) and a Safari extension (for websites) to prompt you with a small task to do (eg a 20sec breathing exercise) before you access the softblocked content. The time delay + task is enough for me to remind myself that this isn’t what I want to be doing. And in the instances where I actually do consciously want to visit XYZ platform, I can just do the exercise and be granted access.

    The only downside is that the Safari extension is granted full access to my web browsing in order to facilitate the website blocking. They say they don’t capture any data and at this point do trust them (you may feel differently). For blocking apps, no private data sharing is required.

  • by gerdesj on 6/22/25, 11:20 PM

    When I specify smart home stuff, I have several criteria. Things like controls must be mains powered or on UPS or both.

    If it is important, then if wifi/ethernet out then it should still work. So my doorbell used to have a link to a mechanical chime (Doorbird), the current Reolink jobbie does not but it is PoE and all my switches have UPS. The Reolink does have a separate chime that plugs into a power socket and a way better camera.

    Oh and none of my home things ever get unfettered access to the internet. I have two VLANs for IoT: things is for most devices and sewer is for those that scare me somewhat.

    I treat the whole thing the same way I do corporate IT and I do point Nessus at it. I have several Home Assistants that I look after - home and work and several customer ones too.

    The OP's choice of smart plug is clearly designed to be mildly inconvenient to get at but also reliable. I'll put money on there being a monitoring function too.

    That's a nerd that does things "proper like".

  • by hydrogen7800 on 6/23/25, 12:39 PM

    I did something more low tech, but much more expensive. Not that I have the tech chops to do anything more sophisticated than install pihole (with help), though. I bought a 2001 E39 BMW that requires some work. I still doomscroll too much, but half is now about this car and car repair in general.
  • by alkonaut on 6/23/25, 6:29 AM

    I'm sure there's no amount of ads or social media that will rot your brain faster than trying to do programming in YAML.
  • by stavros on 6/22/25, 9:40 PM

    Why is this using a plug rather than a Zigbee button? I don't understand the plug bit.
  • by remuskaos on 6/22/25, 8:26 PM

    Neil Chen just posted this genius idea to disable internet filters for social media addicts: https://news.ycombinator.com/item?id=44346450

    I've used his idea and make a home assistant automation that temporarily disables adguard home to do the same thing.

  • by rlue on 6/23/25, 5:06 PM

    Great concept. But author, if you're reading this: a piece like this could be so much better with a quick summary of what it does somewhere in the first two paragraphs. Something like:

    "I've leveraged my home automation system to limit my access to social media to 15 minutes at a time, no more than once an hour. Using the built-in adblock feature, my router black-holes DNS queries to social media by default—which I can now disable temporarily by pushing the button on any one of several smart outlets around my house."

  • by ricardobeat on 6/22/25, 11:22 PM

    Unfortunately there is no way to block websites at the network level (that I know of) as browsers and mobile phones have started using hardcoded DNS resolvers, so the utility of this is limited.
  • by weq on 6/23/25, 3:02 AM

    Modern day methadone maintainence plan. So many people in this world need this button! Goodluck on your journey!

    I quite tech at home when i started working as a software engineer over 20yrs ago. Hobbies are a great way to break free, and quitting news fullstop is another good way to avoid social media. You dont even need to delete your accounts, just turn off all notifications of every app and avoid coupling your life to them in any way.

  • by urbandw311er on 6/22/25, 9:41 PM

    Nice idea. But it needs to be harder for me to reverse. I think I would very quickly develop the reflex of disabling WiFi on my phone so it loads the site via mobile data.
  • by FrankPetrilli on 6/22/25, 9:37 PM

    Seeing this, I had the initial idea of using AdGuard logs to trigger a power-down of your device if you try and visit brainrot content. I think I like it that way more.
  • by varenc on 6/22/25, 11:17 PM

    I do something similar but with a global keyboard shortcut on my Mac managed with Alfred. When I hit the shortcut it just changes my system's DNS resolver to 1.1.1.1 and reset the macOS DNS cache. And then automatically switches back in 1 minute or 10 minutes depending on the shortcut.

    Quite easy, but doesn't help anyone but me. Though I like that it only disables blocking on my device and not my entire network.

  • by baggachipz on 6/23/25, 12:13 PM

    This is so much easier to accomplish with a pi-hole and the pihole remote app[1]. Block requests out to forbidden sites at the network level, disable the pihole for an amount of time when you want to slum it.

    [1] https://apps.apple.com/us/app/pi-hole-remote/id1515445551

  • by neurostimulant on 6/23/25, 1:19 PM

    An ikea tradfri on/off switch seems better for this purpose. I think the one with just on/off switches is discontinued as it's no longer listed in their website, and it has steep discount in their brick and mortar stores, cost <$8 the last time I grabbed one.
  • by guluarte on 6/23/25, 7:24 PM

    I have found that the problem with smart home automation is that it suddenly stops working after an update, and fixing it becomes annoying, and when you have multiple triggers and routines you lose track of what activated what.
  • by suprjami on 6/22/25, 9:49 PM

    Glad to see GL-iNet get a mention.

    Their routers are OpenWrt compatible by design, the factory firmware is based on owrt or you can flash upstream for a "pure" image. I've used them for many years and they're great.

  • by BrandoElFollito on 6/23/25, 6:11 PM

    I must have missed something, but why not just using a zigbee button to trigger the 15 min of open internet?
  • by cess11 on 6/23/25, 9:20 AM

    Conditioning oneself like some kind of lab rodent is unlikely to avoid brain damage.

    Shame has a better and longer track record.

  • by awaymazdacx5 on 6/22/25, 10:52 PM

    rasberry pi-5 for HDMI virtualization on a Wayland windows manager column should serve adguard assistance
  • by jz10 on 6/22/25, 11:49 PM

    NextDNS Privacy and Parental control features works really well for me
  • by orsenthil on 6/23/25, 1:36 PM

    Does anyone know how to block ads in Amazon Prime Videos?
  • by cdg007 on 6/23/25, 3:33 AM

    I'm down with innovations
  • by roscas on 6/23/25, 10:35 AM

    "The internet is the bane of my existence. Ads, distractions, sponsored content, bad news, bad ideas, more ads, social media, antisocial media, even more ads." that is call for Pi-Hole on a Raspberry PI install. Wide block of ads and dns firewall all in one, without any "free trial" from AdGuard. I wonder what is their default "white list"...
  • by p1necone on 6/22/25, 9:50 PM

    I don't know if this'll help anyone else or if it's just specific to me but I'll throw it out there anyway.

    Drop the idea that short form content like youtube shorts or tik toks or whatever is somehow ignoble and worthy of scorn. Recognize it's just a fun way to kill some time.

    Internalized that? Cool.

    Now find a comfy place to sit or lie down and binge that shit. For hours. Do it for as long as it brings you joy. Had your fill? Cool.

    Keep doing this, whenever you've got some free time and there isn't something else you want to do more binge that short form "brainrot" content. Do not let the thought that you're somehow "wasting" your time enter your mind. You're having fun, and that's all that matters.

    If you're anything like me once you've internalized the idea that it's just dumb short videos for fun and you've watched hours of them, you'll just get bored of it. Maybe you'll spend 20 minutes scrolling occasionally but your brain aint gonna rot.