Is there a way to use individual messages (server not found) if AdGuard blocks a website?
hi all - i am looking for a way to automate blocked services (youtube, etc.) at certain times. is there a way to automate this?
Hello,
I have install AdGuardHome add-on on a Supervised HomeAssistant.
I have a lot of messages in 3 logs files on the Host :
==> /var/log/messages <==
Dec 18 11:13:42 home 15592d4c1975[637]: [INFO] 172.30.32.1:54466 - 47603 "PTR IN 202.1.168.192.in-addr.arpa. udp 55 true 2048" NXDOMAIN qr,rd,ra 44 1.612000334s
==> /var/log/syslog <==
Dec 18 11:13:42 home 15592d4c1975[637]: [INFO] 172.30.32.1:51736 - 48363 "PTR IN 107.1.168.192.in-addr.arpa. udp 55 true 2048" NXDOMAIN qr,rd,ra 44 1.632304071s
==> /var/log/user.log <==
Dec 18 11:13:42 home 15592d4c1975[637]: [INFO] 172.30.32.1:51736 - 48363 "PTR IN 107.1.168.192.in-addr.arpa. udp 55 true 2048" NXDOMAIN qr,rd,ra 44 1.632304071s
==> /var/log/messages <==
Dec 18 11:13:42 home 15592d4c1975[637]: [INFO] 172.30.32.1:51736 - 48363 "PTR IN 107.1.168.192.in-addr.arpa. udp 55 true 2048" NXDOMAIN qr,rd,ra 44 1.632304071s
Is there a way to disable this ? Many Thanks
PS: I have set log to warning in the AddOn config, but there is no change.
how do i create an automation that warns if a certain url is opened?
Am I the only one having that issue with AdGuard, where it takes for ever to get a response after I connect to WiFi?
I’ve a NUC with AdGuard Addon and came across this issue: Whenever I open my macbook, it takes pretty long to resolve names, when using AdGuard. I’ve also dnsmasq on the same NUC and when I use dnsmasq, there are no such issues.
Secondly I have to restart AdGuard automatically once every few days as it stops resolving names.
So basically, my router runs as DHCP and gives the IP of my HASS device as DNS. With dnsmasq thats not an issue. But when I run AdGuard instead (same port 53) it sometimes takes for ever.
There are no strange looking logs.
I’m trying to get the Adguard Home Integration connected to the Adguard Home Add-on. However, the automatic discovery (read this in some release notes above) does not seem to work and adguard is not shown as “Discovered” integration (have I missed enabeling it somewhere?). I’m greeted with the credentials screen when I add the integration manually:
However, here I’m puzzled what to enter. Can anyone help?
SOLVED
see Home Assistant Community Add-on: AdGuard Home - #663 by pigeldi gives the answer. Thanks @pigeldi
This thread is for the community addon and not the integration.
For the integration to work you’ll need a dedicated installation of AdGuard Home.
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.