frenck
(Franck Nijhof)
November 27, 2019, 7:24pm
141
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!
Klagio
(Klagio)
December 9, 2019, 7:01am
143
radinsky:
disable facebook
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)?
Skeletorjus
(Skeletorjus)
December 9, 2019, 12:27pm
145
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!
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
kirpat
(Kir)
December 12, 2019, 5:00pm
152
does it block facebook, youtube
or it blocks ads from facebook and youtube
It should block whole Facebook and YouTube.
1 Like
Jokerigno
(Jokerigno)
December 18, 2019, 3:47pm
154
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?
frenck
(Franck Nijhof)
December 18, 2019, 4:06pm
155
yep, if you don’t, the traffic won’t go to AdGuard, right?
1 Like
joem
(Zsolt)
December 18, 2019, 6:56pm
156
In case of a router running OpenWRT, you have to go to your LAN interface settings, DHCP server and Advanced Settings:
Jokerigno
(Jokerigno)
December 19, 2019, 7:00am
157
I know it was a stupid question 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!
frenck
(Franck Nijhof)
January 4, 2020, 9:21pm
158
Dredzed
(Zak)
January 6, 2020, 10:01am
159
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!
frenck
(Franck Nijhof)
January 6, 2020, 10:07am
160
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