Home Assistant Community Add-on: AdGuard Home

its already set up like this, but thanks for being such helpful :wink:

1 Like

\o/ thanx for your help #rtfm :wink:

1 Like

It looks like the average processing time sensor has the wrong decimal place. Iā€™m seeing the sensor show an average processing time of 4.58 ms whereas the AdGuard Home dashboard shows 46 ms. Am I misreading this?

Is there any ability to add a functionality for blocking self-promotion/ads from search engines? The first few links where theyā€™re noted as ā€˜adsā€™?

Perhaps Iā€™m missing it but I noticed that all these used to be dead from pihole but Iā€™ve recently moved to adguard with the home assistant integration and love it but noticed these links are no longer dead and they work.

https://kb.adguard.com/en/general/search-ads-and-self-promotion

EDIT: Also I wanted to say thank you so much for this integration and hard work. I absolutely love it!

Hi all,
Iā€™ve got this addon up and running, blocking ads on all devices connected to my router, but the client list on the dashboard only shows one client, my RPi thatā€™s running Adguard Home.

Iā€™ve tried to search about on how to change it but Iā€™m still at a loss. Do I need to set a DHCP in the addon, they show as experimental? Do I need to force the DHCP leases for my router (and all connected devices) to expire? Do I need to disable DHCP on my router (Iā€™m assuming no but figure I should through it in the mix)?

If someone can give me a simple answer that my fried little brain can comprehend that would be amazing.

Thanks

Salve ho 2 domande su Adguard Home su hassio con docker su raspbian!

  1. non ho ben capito se devo cambiare il dns dentro il dhcp, ho nella voce dnsv4 (fritz box)
  2. ce un modo per ripulire la query? un reset della dashboard?

Hi I have 2 questions about Adguard Home on hassio with docker on raspbian!

  1. I donā€™t quite understand if I have to change the dns inside the dhcp, I have in the entry dnsv4 (fritz box)
  2. is there a way to clean up the query? a reset of the dashboard?

@alberisca
You both have to change the dns adress in your dhcp options of your router.
Normaly the new ip adress should be the same as the one your using to connect to your home assistant.
E.g.: if your home assistant server uses the ip 192.168.178.10 set the dns server adress to this ip.

2 Likes

My AdGuard Home add-on is no longer listening on IPV6:
Bildschirmfoto vom 2020-04-03 11-19-39

I know that it used to listen on at least one of the local IPV6 addresses assigned to the Raspberry Pi / Hass.io instance. This must have changed recently, but I cannot identify what might have triggered that.

Iā€™ve tried restarting the add-on, restarting Home Assistant, and a full reboot of the Raspberry Pi already, but it didnā€™t help. Any further ideas?

UPDATE
AdGuard Home seems to listen on IPV6 even if it is not showing the address on the setup screen.
At least DNS from IPV6 addresses on my local network appear in the logs and seem to be answered or filtered, respectively, by AdGuard Home.

Thus it might just be a cosmetic issue.

Hi,
I have Home Assistant running on Ubuntu Server 18.04.4 LTS,
On my HA i have DuckDNS and https configured.
I installed AdGuard Home, and almost everything is fine.
I canā€™t open AdGuard Web UI, Iā€™m getting 502: Bad Gateway.
It is caused by using UFW firewall on my Ubuntu Server machine. When i tried to turn it off, AdGuard Web UI begins to work. However, disabling firewall it is not an option for me.
I tried add ā€˜allow rulesā€™ for port 3000 but it doesnā€™t help.
When i manually open https://myid.duckdns.org:3000/ ,Web UI works , but not inside Home Assistant
Port 3000 is forwarded on router to my server

What port should be opened to make Web UI work?

Heres my AdGuard config

Here is my Adguard log dump

Add-on version: 2.3.3
 There is an update available for this add-on!
 Latest add-on version: null
 Please consider upgrading as soon as possible.
 System: Ubuntu 18.04.4 LTS  (amd64 / qemux86-64)
 Home Assistant Core: 0.107.4
 Home Assistant Supervisor: 214
-----------------------------------------------------------
 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... 
[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... 
[22:51:45] 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
[22:51:50] INFO: Starting AdGuard Home server...
[services.d] done.
2020/04/03 22:51:50 [info] AdGuard Home, version v0.101.0, channel release
, arch linux amd64%!(EXTRA string=)
2020/04/03 22:51:50 [info] Upstream 0: https://dns10.quad9.net:443/dns-query
2020/04/03 22:51:50 [info] Go to http://127.0.0.1:45158
[22:51:50] INFO: Starting NGinx...
2020/04/03 22:51:51 [info] Starting the DNS proxy server
2020/04/03 22:51:51 [info] Ratelimit is enabled and set to 20 rps
2020/04/03 22:51:51 [info] The server is configured to refuse ANY requests
2020/04/03 22:51:51 [info] DNS cache is enabled
2020/04/03 22:51:51 [info] Creating the UDP server socket
2020/04/03 22:51:51 [info] Listening to udp://[::]:53
2020/04/03 22:51:51 [info] Creating the TCP server socket
2020/04/03 22:51:51 [info] Listening to tcp://[::]:53
2020/04/03 22:51:51 [info] Entering the tcp listener loop on [::]:53
2020/04/03 22:51:51 [info] Entering the UDP listener loop on [::]:53
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)

EDIT:
Solved
If anyone got similar problem, here is my solution:

  1. check ports in use

sudo ss -tulw

  1. look for docker IP, something that starts with 172.x.x.x
  2. allow that port with UFW

sudo ufw allow from 172.0.0.0/8 to any port xxxxx

2 Likes

Frenck, may I ask the technical reasons to use a static IP vs DHCP reservation? Iā€™m curious as to why not to use DHCP static reservations.

(Iā€™m about to redo my entire network, starting from scratch with new Unifi hardware - looking into where [i.e. vlans] to place HA)

Thatā€™s referring to the HA server running the add-on to have a static IP

Solved, sorry

I am Hassio user, I used Pi Hole and i starting use Ad Guard, but when i try to use it when i connected through to Wireguard VPN, ad guard service does not work, i have not any DNS resolution.
I think the problem is because ad guard is not listening in the correct network interface. When i used Pi Hole, i could choose where service was waiting petitions.
Is this capability available in Ad Guard?

Solved, sorry

I was running pi-hole tooā€¦ on hass.io
Since its decaprecatedā€¦ is this one as good as pihole?

Yes, AGH is as good as pi-hole was.

1 Like

Do i need to install it now through integrations https://www.home-assistant.io/integrations/adguard/

or as an addon?

Or are they different?

I installed the addon, i got a fixed ip for the pi (where HA is on) and dns servers set as 8.8.8.8
SSL is false

When i hit ā€œstartā€ nothing happensā€¦ it says its running (cant hit start anymore) but
i cant reach gui -> error bad gateway

when i look at the adguard home log, theres nothing there (it doenst load?)
when i look back if its running, it doenst say its running anymore and i can hit ā€œstartā€ again

when i look at system log i see:

start docker addon adguardā€¦
ERROR ingress error: cannot connect to host

Whats wrong

Hi, can you tell me how to clean up all the statistics on the Dashboard (reset type)?
I am using Adguard on hass.io in Docker on Raspbian

Ciao, sapete dirmi come ripulire tutte le statistiche sulla Dashboard (tipo reset)?
Sto usando Adguard su hass.io in Docker su Raspbian

In AdGuard Home go to ā€žSettingsā€œ, ā€žGeneral Settingsā€œ, and then use the buttons ā€žClear query logsā€œ or ā€žClear statisticsā€œ, respectively.

1 Like

mii che ciecoā€¦ lā€™ho cercato x giorniā€¦ ma quei tasti bianchi non hanno attirato la mia attenzione!

what a blind man. I have been looking for it for days ā€¦ but those white keys did not attract my attention!

Running after fresh install :slightly_smiling_face:

What are the basic settings i should use? Is there a page i can follow set it up?

i also found this https://www.home-assistant.io/integrations/adguard/

if i want to have the sensors, i have to add it to integrations right?
but then i have to point to the same ip of my pi running this addon?
what about username and password?