Home Assistant Community Add-on: AdGuard Home

I’d be looking the blocked domains list and see what is on top and then use the query log to find out what device is doing all the requests?

thanks for the hint, seems that my 3 yeelights was hammering queries all the day in the past, now it appears that they just try to connect every 24 hours at around 8 a.m. :face_with_monocle:

Hello Guys,

I have running SSH tunnel using autossh add-on on hassio in docker connected to remote nginx server, so I’m able to reach my Home Assistant instance from internet by my domain.

Now I would like to use also AdGuard Home server, but when I start it I’m loosing possibility to connect to HA by domain name…
Any suggestion if this can work together and how to configure it?

Hi, does anyone know a way of stopping Adguard home blocking YouTube comments, Streams and DrZzzs videos? The rest of this addon functionality is great and really helping the family browsing but not been able to watch the community who supports this eco system in the first place is rather annoying. Just a targeted filter or setting to change would be ideal.

HI I am new to HASS.
I had rpi2 laying around so I installed HASS for AdGuard. I got automation working with AdGuard to enable and disable it.
I want to block YouTube specifically at certain time. Is it possible to Automate “Blocked services” feature?

I believe there is an option for parental controls, that enables/disables the selected services you choose in the AdGuard blocked services settings. Once that’s configured, you can create an automation to enable/disable parental controls at a certain time.

@moto2000
Parental control is for blocking Adult site only, which comes under General settings. Blocking service comes under filtering.

Good Morning.
I have had this addon working perfectly for several weeks but for 2 or 3 days I cannot access the AdGuard configuration in the sidebar.
Before it showed me the information and I could perfectly see the graphs, activate, configure but now it does not load me, it remains soft.
I have tried from the Android application, web browser, etc. and I can’t get it to show me anything.
In the log all I see is this:

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] 00-banner.sh: executing…

Add-on: AdGuard Home
Network-wide ads & trackers blocking DNS server

Add-on version: 2.5.1
You are running the latest version of this add-on.
System: Ubuntu 20.04.1 LTS (amd64 / qemux86-64)
Home Assistant Core: 0.116.1
Home Assistant Supervisor: 247

Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.

[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing…
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] adguard.sh: executing…
[cont-init.d] adguard.sh: exited 0.
[cont-init.d] discovery.sh: executing…
[06:46:08] INFO: Successfully send discovery information to Home Assistant.
[cont-init.d] discovery.sh: exited 0.
[cont-init.d] nginx.sh: executing…
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[06:46:08] INFO: Starting AdGuard Home server…
2020/10/09 06:46:08 [info] AdGuard Home, version 0.103.3, channel release, arch linux amd64
2020/10/09 06:46:08 [info] Initializing auth module: /data/adguard/data/sessions.db
2020/10/09 06:46:08 [info] Auth: initialized. users:0 sessions:0
2020/10/09 06:46:08 [info] Initialize web module
2020/10/09 06:46:08 [info] Go to http://127.0.0.1:45158
2020/10/09 06:46:08 [info] Starting the DNS proxy server
2020/10/09 06:46:08 [info] Ratelimit is enabled and set to 20 rps
2020/10/09 06:46:08 [info] The server is configured to refuse ANY requests
2020/10/09 06:46:08 [info] DNS cache is enabled
2020/10/09 06:46:08 [info] Creating the UDP server socket
2020/10/09 06:46:08 [info] Listening to udp://[::]:53
2020/10/09 06:46:08 [info] Creating the TCP server socket
2020/10/09 06:46:08 [info] Listening to tcp://[::]:53
2020/10/09 06:46:08 [info] Entering the UDP listener loop on [::]:53
2020/10/09 06:46:08 [info] Entering the tcp listener loop on [::]:53
[06:46:09] INFO: Starting NGinx…
nginx: [alert] detected a LuaJIT version which is not OpenResty’s; many optimizations will be disabled and performance will be compromised (see h–s://github.com/openresty/luajit2 for OpenResty’s LuaJIT or, even better, consider using the OpenResty releases from h–s://openresty.org/en/download.html)

Can you give me a hand?

Thank you very much.

A greeting.

Hi all, I have an impressive amout of queries from “dns.local.hass.io”. I’m pretty sure it’s the nmap presence monitor without “-n” switch. If I enable the switch the presence detection is wrong. There’s a way to not monitor “dns.local.hass.io” ?

Just curious, how to access the advanced configuration files of adguard home when installed to hass os?
Documentation provides interesting settings to play with:


so how can I access this AdGuardHome.yaml?

You will have to get into the container I expect. https://developers.home-assistant.io/docs/operating-system/debugging/

Hello, I have set up the add on and its running fine on my RBP.

But, I’m having trouble with getting it to work across my entire network. I’m running a Google Wifi setup, anyone that has managed to get it to work?

Where do I find the RBP/HA DNS address? Google Wifi requires me to set a IPv6 address as well.

A Lot of questions here, but any nudge in the right direction is much appreciated.

Thanks

RPB IP is your DNS IP

Great, thanks!

Do you know what i shuld put as IPv6 address ?

Is there possibility to automate this?

I’m sorry, I’m not sure what you mean?

I solved my problem above by using the pi’s IP address and the ipv6 address from AdGaurds documentation.

sorry replied to wrong message.

Is it possible to automate this?

Is it possible to enable the filtering only for specific clients? I’ve disabled it under “General” and I’ve added a client by IP to the client list and set it to “Block domains using filters and hosts files”. However, this doesn’t seem to work. It only works if I also enable the filtering under “General” but then it applies to all clients, not just the specific client I want to enable blocking for.

Edit: Just to clarify, I’m positive the client settings/IP are correct. I can see the queries getting added to the client’s count and the client name shows up in the query log along with the IP. It’s just not blocking anything unless it’s enabled under “general” as well.

Running Home Assistant on a PI trying to setup a custom blocklist using a local file. Put the blocklist in the config directory (/config/blocklist.txt) but I can’t figure out the path to use when adding to AdGuard. Everything I have tried comes back with:

Error: control/filtering/add_url | Invalid URL or file path | 400.

Any ideas what path to use?