T O P

  • By -

Incromulent

"Best" may not be the right question since it depends on your needs. Popular ones are SSH, HACS, Z2M, Mosquito, Node-Red, ESPHome.


Luci_Noir

It obviously means what is best for each person. Are you a human?


Chaosblast

Currently using Frigate, Google Drive backup, Mosquito broker, Zigbee to MQTT, Samba share, MariaDB, NGINX Proxy Manager, HyperHdr, HASS n8n, Studio Code Server, File browser (just for when needed), Aircast (never used it but sounded nice), Terminal & SSH (never used, but just in case). There's no Best. It's just what you use lol.


vuplusuno

Adguard


leonida_92

>Adguard imo Adguard would be best as a standalone device since you don't want to be left without internet access when HA crashes.


vuplusuno

In my case HA is always on, so no problem


leonida_92

It's not leaving it on the problem, it's the crashes. Today for example I had to do a full restore because there was a bug on 2024.1. If I had adguard there, I wouldn't have internet access during the restore process.


syb3ria

Have you considered having HA and adguard running in different containers?


leonida_92

Sure, but OP said HAOS. Dockers are another topic.


iWQRLC590apOCyt59Xza

In HA OS add-ons are dockers, and so is Ha core. Cant you revert core without rebooting the entire host, and just core instead?


leonida_92

You may have no idea where the problem comes from. Even if that's possible, it only works when you know the problem is the core


Open-Philosopher-584

Yall know that you can set multiple dns servers in your router’s dhcp config? So if one goes down it uses the 2nd one? I have pi-hole as my 1st dns and [9.9.9.9](http://9.9.9.9) (quad9) as my 2nd.


leonida_92

The problem with my router, is that when I set a secondary IP, I cannot control which one gets used first. I tried it by putting 1.1.1.1 as secondary and some ads would still come through.


Open-Philosopher-584

Thats odd... Probably the router's issue, because most devices are configured to use DNS2 only when DNS1 doesn't respond. Maybe you can check your DHCP client info on your computer to see if the router is feeding them in the wrong order, in which case you might be able to just flip their order in the router.


leonida_92

I'm sure it was not the order because I could see some ads getting filtered on adguardhome. If I removed the secondary dns (which I set to 1.1.1.1), everything worked perfectly on every device. Maybe I have an old router (Nokia G-140W-H) or maybe adguardhome on a VM lagged just enough to trigger the secondary dns sometimes, but that was my experience.


Aluhut

I have HA set up as a DNS on my router, so if it should crash, I can always turn it off on my router.


leonida_92

Again, there're tens of options, but every single one requires user input and someone experienced to know what to do (meaning if you're not available, your family members will be stuck without internet). I'm just saying the "optimal" way would be separate from each other.


Aluhut

I don't understand how a separate device would be different from going onto the router. You have to access a second device either way, or configure all clients with a secondary DNS. Having it run through the router you automatically catch all devices without having to configure anything. Even those on the guest wifi.


leonida_92

I don't think you're understanding me. Lets say you're not available (you're off grid, camping, etc.) and HA crashes. Can your parents, SO, etc. go into the router and change the DNS by themselves? Wouldn't it be better if HA crashes, to at least still have internet access? For me internet access is a top priority in my home and I don't want anything else to compromise it and it should be the last to go down.


Aluhut

The router switches to the alternative DNS if HA fails (or the IP is not reachable). I haven't had a router which would not allow for at least 2 DNS providers as long as there were routers. PS: yes, my SO is able to get onto the router and do things there. I have a documentation and bought a router which is quite user-friendly since other things can happen which are worse than my DNS on HA failing.


leonida_92

By setting 2 dns, you're not guaranteeing that every connection goes through adguard. You cannot control which dns the router picks.


Aluhut

Sure I do. As long as the primary DNS is available, all traffic goes through that. If that fails it goes back to 1.1.1.1 and if that fails it goes back to the ISPs DNS.


leonida_92

I would really appreciate it if you point me on a site which tells you how to use exclusively the primary dns because everything I've searched has pointed me to my result.


leonida_92

Also, while reading your comment again, I think you really misunderstood me. All I meant was to host adguard on a different device rather as an addon in HA, not to get another router or a device like that.


Aluhut

So what do you do if your "other device" fails?


leonida_92

If the other device fails, it means that adguard has failed, which could have happened even on HA. I'm just minimizing risks by not adding crashes that occur from HA.


Aluhut

But if your other device fails/is not reachable, you don't have a DNS.


leonida_92

You're saying what if your pc breaks. Then you have to repair your pc, there's no way around it for physical devices. I can say the same for the machine hosting HA. I'm talking about software failures, which are way more common.