Is there no way to add two Adguard home instances to HA core? It is not possible via the GUI integration method and I cannot see anything about manual configuration in the documentation.
I ran two Piholes for many years but decided to try out Adguard after seeing it was HA’s new choice of adblocker addon.
I really like it, but only being able to view/control one instance is a bit of a backwards step. It also means if I need to fully disable ad-filtering, I have to disable the primary instance via the Adguard filter switch and stop the secondary adguard container via HA as a workaround.
one for this
Just moved from having two PiHole to two AdGuard Home installations. One being the add-on and the other running on docker on another RPI.
Only one integration to control AdGuard Home from Home Assistant is allowed which is annoying.
The api is public. You could call command line switches with curl commands to enable/disable The filtering. You must need to know how to encode the authorization header. I’m on mobile but when I get to a computer I’ll see what I can link to you.
Here is how i implement multiple instance switches of aguard. the integration is flaky for me so i just hard coded some rest switches to turn on/off the protection, and then combine them into a template switch.
The authorization token is the base64data of the username password combo. I put them in an online encoder and used whatever spit out as the header token.