Are you sure? I use the Adguard Home Add-on and the integration was automatically discovered for me…
At least that’s how I understand it.
Enter the host IP address of your HA server (since you are using the Adguard add-on), username and password as per a user you have setup in HA
Thanks for the hint. - I’m not quite there yet: Which port to use then? Using the HTTP port of the HA instance did not work, neither did the pre-filled 3000.
I’m not sure to be honest. I hadn’t yet setup the Integration, only read into it a bit.
Probably what is set up for the AdGuard add-on under configuration?
But maybe just the SSL/certificate option is your issue, I use AdGuard without SSL. You also see this on the add-on config page.
I have the integration active but seems that I cannot see with which parameters this was set up. But I cannot remember that I had any issues with activating it.
Noticed that my Adguard Dashboard in Hassio doesn’t update anymore the bloqued request graph although the protection is active ! I have tried to disable/re-enable it but no change ! If I check logs I can see some bloqued requests but not showing up in the graph since december 22nd ! Any ideas ?
In case someone is interested, I’d like to share this to people that are also not HA customization experts yet:
As I was missing the option that I had in Pi-hole to pause AdGuard just for a limited time with automatic reactivation afterwards, over several steps I have now created just one single button, which can completely activate/deactivate the protection, but also pause it for in my case 30 min. when clicking on the hour glass.
Button when on / paused:
It just requires the custom:button-card to make such a button, this is my code for it:
type: custom:button-card
entity: switch.adguard_protection
name: AdGuard
show_state: false
styles:
card:
- height: 120px
name:
- font-size: 14px
custom_fields:
pause:
- position: absolute
- right: 0%
- top: 0%
- font-size: 6px
state:
- value: 'on'
styles:
icon:
- color: green
- value: 'off'
styles:
icon:
- color: grey
custom_fields:
pause:
card:
type: custom:button-card
entity: timer.timer_30_min
show_state: true
show_name: false
tap_action:
action: call-service
service: input_boolean.toggle
service_data:
entity_id: input_boolean.adguard_pause
styles:
card:
- box-shadow: none
- margin-left: 0%
- width: 35px
state:
- font-size: 10px
icon:
- width: 100%
state:
- value: idle
styles:
icon:
- color: var(--paper-item-icon-color)
state:
- color: white
- value: active
styles:
icon:
- color: red
state:
- color: red
Besides this, one timer of 30 mins, one toggle button, an automation that starts the timer and stops the protection as long as the timer is running, and and automation that stops the timer and actives protection if I either press the hour glass or the big button while the timer is running.
I personally do not need variable timers, but one might add that for even more variability.
Maybe this addon does also provide pause functionalities out of the box one day.
I had this on my todo list to thanks for sharing! Makes it easier for me
Hi there,
I am trying to start usiong this addon for convenience. Everything seems to be working 100% fine in my PCs and mobiles, with one very problematic exception. I can’t log in into home assistant!
My current setup includes a Rpi4, duckdns and ssl activated. I am port forwarding 443 and 8123 to 8123 in the pi.
Any idea how to fix?
Are you sure this is related to AdGuard? Without AdGuard you can login and with you can’t?
I do not see why out of the box this should cause an issue here.
Hi Guys, i’m gonna try this add-on
But i use DHCP reservation for my HassOS , it always gets the same IP + GW + DNS, should i still change it and why?
thnx for feedback
You would want to go to your HAOS and setup a static IP first (System → Host → click CHANGE next to your IP Address), so that your HAOS would still have an IP without relying on any DHCP service.
Well, that’s the first step you would have to do anyway - see #1 under the Installation section of the first post of this thread, or reference the full documentation of this add-on on GitHub.
i’m using it with DHCP, it works too
but now i changed the DNS on router side , not gonna use this addon now
because if i reboot hassos for whatever reason, then internet is down
edit: or maybe i can setup my router to make the primary dns, the adguard addon , and the secundary the google dns? that should work , right? so when hassos/addon is down, internet still works?
Quick question. Would it be possible to directly communicate to Adguard with this integration. I want to control available services based on timeslots. My kids now have homescholing and I want to block YouTube and TikTok during the ‘school hours’.
Hi all,
I’m attempting to run AdGuard as a DHCP server but cannot set any static leases - I get the following error when I try:
I get the following error in the add on logs:
2022/02/03 12:33:21 [error] 535#535: *113 upstream prematurely closed connection while reading response header from upstream, client: 172.30.32.2, server: a0d7b954-adguard, request: "POST /control/dhcp/add_static_lease HTTP/1.1", upstream: "http://127.0.0.1:45158/control/dhcp/add_static_lease", host: "192.168.1.10:8123", referrer: "http://192.168.1.10:8123/api/hassio_ingress/CNZxLvYK0LcqqF4N-eWRovQKfO0dIE_aw4vDLiTMaAQ/"
Any ideas how to resolve this one? Cheers
I would like to block ads on my iPhone outside my network. To achive this I would like to setup DNS over https or tls in the Ardguard Home add-on. I can’t get it work and I’m probably missing something, I hope somebody can answer these questions I have;
So I’ve setup up an upstream tls dns server;
Encrypted DNS settings:
And downloaded the profile for iOS:
The profile is ‘not signed’, could that be the problem?
Webpages aren’t loading. Do I have to open the port 853 to my Home Assistant server to make this to work? What am I missing?
I tried TLS because the https port 443 was already in use by the NGINX add-on. Unfortunately I can’t find a guide to set it all up with Home Assistant, AdGuard Home, NGINX, Duckdns. I hope somebody could help me out!
Edit: Found a solution for this ‘problem’; set-up Wireguard split-tunneling to have only the DNS requests go through.
I do have another weird ‘problem’; is it normal that most of the query’s in query log are in there two times?
Type: A + Type: HTTPS
I configured Adguard to have encrypted DNS over https, so why are there also Type: A requests in there? Or is this normal behaviour?
I use port 853 yes. I can see your (double? ) queries are quite slow too.
I would suggest using only custom client names and local subnet allowed. That way the port is open, but only known clients can connect using xxxxxxx as clientname in xxxxxxx.mydomain.com
I’ve entered my AdGuard IP into my router’s DNS server settings, so my entire network is filtered through AdGuard. It works great.
My HA is running in a VirtualBox VM. I have noticed that if/when I start the VM (from a fresh Windows boot, or from Supervisor > Reboot Host, etc.) I cannot boot up HA and I’m given a prompt to jump into an emergency console …unless I remove the DNS settings in my router beforehand. After HA starts up, I then add the IP address(es) back to my DNS settings to apply AdGuard to my network again. Is there an alternative that wouldn’t require so much involvement on my part?
Is your HA instance setup with a fixed IP address ? it’s mandatory for Adguard to work properly ! Your HA must be setup with a fixed IPV4 address