Home Assistant Community Add-on: AdGuard Home

:tada: Release v2.2.4

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrades nginx to 1.16.1-r1
  • :arrow_up: Upgrades AdGuard to v0.99.3
  • :arrow_up: Upgrades add-on base image to v5.0.2

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work: https://patreon.com/frenck

Is there any way to configure time based service blocking?
For example an automation to disable facebook (service) between specific hours of the day?

Thanks!

I blocked it 24h/365 days

Good for you!

What about other services I want to allow only time based (@Klagio please don’t suggest to block them all permanently)?

Would it be possible to make your own self-hosted filter containing the Facebook-URL and add/remove subscription to it by using the adguard.enable_url and adguard.disable_url services in an automation?

1 Like

I have a github repository with a fb, whatsapp and instagram filter

1 Like

@Skeletorjus yes, probably using the urls provided by @gieljnssns I will make an automation to explicitly enable/disable facebook filtering url…

Thanks guys!

Did it work?

Yes, tried yesterday, works perfect, thanks

here’s some basic usage with input boolean switch, you can change the trigger to timebased or whatever…


input_boolean:
  allowfacebook:
    name: Allow Facebook
    # initial: on
    icon: mdi:facebook


automation:
  - id: enable_facebook
    alias: Enable Facebook
    hide_entity: true
    initial_state: 'on'
    trigger:
      platform: state
      entity_id: input_boolean.allowfacebook
      to: 'on'
    action:
    - service: adguard.disable_url
      data:
        url: https://raw.githubusercontent.com/gieljnssns/Block_facebook_dns/master/adguard-facebook.txt

  - id: disable_facebook
    alias: Disable Facebook
    hide_entity: true
    initial_state: 'on'
    trigger:
      platform: state
      entity_id: input_boolean.allowfacebook
      to: 'off'
    action:
    - service: adguard.enable_url
      data:
        url: https://raw.githubusercontent.com/gieljnssns/Block_facebook_dns/master/adguard-facebook.txt
2 Likes

I’ve added 2 extra filters, for youtube and tiktok
So I renamed my repository to Social-media-Blocklists because it’s not only for facebook anymore…

1 Like

does it block facebook, youtube
or it blocks ads from facebook and youtube

It should block whole Facebook and YouTube.

1 Like

Hi all, maybe a stupid question:

I’ve installed the addon on my hassio running inside my synology nas.

Now it’s monitoring this ip adresses:

  • 127.0.0.1
  • ::1
  • 192.168.2.100
  • 172.19.0.1
  • 172.21.0.1
  • 172.24.0.1
  • 172.20.0.1
  • 172.30.32.1
  • 172.17.0.1
  • 172.18.0.1
  • 172.22.0.1

(192.168.2.100 is my NAS IP running hassio). Do I have to change DSN to 192.168.2.100 on my router to allow ad guard to monitor all my traffic?

yep, if you don’t, the traffic won’t go to AdGuard, right? :wink:

1 Like

In case of a router running OpenWRT, you have to go to your LAN interface settings, DHCP server and Advanced Settings:
image

I know it was a stupid question :sweat_smile: but I wanted to be sure before doing it.

Thanks

@joem I have Asus Merlin firmware running on Netgear R7000 (I know, it’s complicated) so page is different but similar. Thank you!

:tada: Release v2.3.0

Full Changelog

This is a general maintenance release.

:hammer: Changes

  • :arrow_up: Upgrade Adguard to 0.100.5 (#41)
  • :fireworks: Updates maintenance/license year to 2020
  • :arrow_up: Upgrades add-on base image to v6.0.1
  • :pencil2: Funding adjustments
  • :pencil2: Fixes some spelling and grammar
  • :books: Adjust add-on installation instructions
  • :arrow_up: Upgrades nginx to 1.16.1-r4
  • :arrow_up: Upgrades lua-resty-http to 0.15-r0
  • :arrow_up: Upgrades AdGuard Home to v0.100.8
  • :pencil2: Fixes some spelling and grammar

Questions? Join our Discord server! https://discord.me/hassioaddons
Enjoying my add-ons? Consider supporting my work:
https://github.com/sponsors/frenck or https://patreon.com/frenck

Since installing v2.3.0, the switch switch.adguard_protection no longer works. If I toggle it to off (developer tools/ states), it turns off for about 1 second, the toggles back on again. All other switches ( switch.adguard_parental_control etc ) behave normally. I can turn off AdGuard Protection from the ingress dashboard still. I love this add-on, but I do miss the ability to turn off the master switch from my Lovelace home page.
Any help would be appreciated!

Please raise an issue with Home Assistant in those cases, so it can be address/fixed/looked at: https://github.com/home-assistant/home-assistant/issues