AdGuardHome icon indicating copy to clipboard operation
AdGuardHome copied to clipboard

Add possibility to setup schedule for blocked services on per-client basis

Open maximtop opened this issue 5 years ago • 16 comments

It would be cool to add a schedule for blocked services/sites in order to turn on/off automatically.

maximtop avatar Aug 22 '19 13:08 maximtop

Edited @ApeviaX

Settings button

Screenshot_87

65788378-2211c280-e185-11e9-97f9-fae7d826e1e2

(Block VPN - most home users never willing to own or use dedicated firewalls and AGH able to run on low end devices then that will be helpful)

Service availability page - might be perfect for kids and teenagers without mention adguard may decrease priority to find alternative access methods.

  • Youtube will be available at 8pm
  • Steam access available from 2:00pm to 11:59pm

Some prepaid internet package offer ISPs has such notification page when exceed quota or visit to certain subscribed services.

ghost avatar Aug 22 '19 13:08 ghost

One more relevant feature request: https://github.com/AdguardTeam/AdGuardHome/issues/1838

ameshkov avatar Jun 29 '20 12:06 ameshkov

And one more: https://github.com/AdguardTeam/AdGuardHome/issues/1594

ameshkov avatar Jun 29 '20 12:06 ameshkov

More blocked services feature > https://github.com/AdguardTeam/AdGuardHome/issues/1692

temporallyaccount avatar Jul 14 '20 11:07 temporallyaccount

Hi! I'd like to contribute to development of this feature. Is there design approach/hint which configuration files/format/etc is preferable? I.e. how should I take it form here?

ay89607 avatar Sep 01 '20 00:09 ay89607

@ay89607 thank you! Let's get back to it in approximately 2 months, we're planning to conduct a massive refactoring, implementing this feature right now may be problematic.

ameshkov avatar Sep 01 '20 07:09 ameshkov

Schedule blocked have any progress until now?

Mosney avatar Apr 14 '21 16:04 Mosney

Not yet

ameshkov avatar Apr 14 '21 16:04 ameshkov

I'm looking for this feature, please progress it.

johnnychungg avatar Jul 06 '21 01:07 johnnychungg

This would be a awesome feature to have, I am looking forward to it !

grf692 avatar Sep 27 '21 14:09 grf692

Can I also please add my voice to this feature request. And perhaps add another. Is it possible to see 'live' per client activity on the network; what services are being used, what URLs visited, etc.

allhailCdosdude avatar Nov 01 '21 14:11 allhailCdosdude

Would like to throw my vote in for this one.. It's the only way i can think of to stop my daughter using the "1 more minute" once her phone locks!

danmed avatar Mar 24 '22 21:03 danmed

On Thu, 24 Mar 2022 14:12:55 -0700 danmed @.***> wrote:

Would like to throw my vote in for this one.. It's the only way i can think of to stop my daughter using the "1 more minute" once her phone locks!

I join you in throwing my vote in for this as well, and perhaps for the very same reason!

-- whoami @.***>

allhailCdosdude avatar Mar 25 '22 14:03 allhailCdosdude

@danmed, @allhailCdosdude, please do not add “+1” type messages, as reacting to the original message with a “:+1:” is enough. The feature is already scheduled for the next major release, but precise timing is still unclear.

ainar-g avatar Mar 25 '22 14:03 ainar-g

So as understand this feature is planned for version 1.0.8? 2023?

BobWs avatar Jun 15 '22 15:06 BobWs

So as understand this feature is planned for version 1.0.8? 2023?

no due date https://github.com/AdguardTeam/AdGuardHome/milestone/24

BrianGilbert avatar Jul 26 '22 00:07 BrianGilbert

@ainar-g I'd like to contribute and help write this functionality. Let me know what's the best way to help.

Thanks, Moshe

moshecom avatar Jun 05 '23 01:06 moshecom

@moshecom, hello and thank you for the suggestion, but we're already in the process of implementing it. No exact timeframes, but we hope to ship it with the next release.

ainar-g avatar Jun 05 '23 09:06 ainar-g

Very much looking forward to this ... even just a way to do the service blocking via command line would be good, then I can just use a cron job. Been searching and can't find any info about doing this. I use to be able to do this with Pi-hole.

sikosis avatar Aug 08 '23 12:08 sikosis

I think we can use the API and cronjob to achieve that. We have /parental/enable and /parental/disenable. Also /filtering/add_url and /filtering/remove_url. i'm trying this now! more about the api

dongu54321 avatar Aug 18 '23 08:08 dongu54321

This will be released in the upcoming v0.107.37.

ainar-g avatar Sep 06 '23 13:09 ainar-g

Hi, I apologize if I did not get it, but the title says "on per-client basis" - which is the feature I was looking for - and I don't think it is what is provided in 0.107.37. This release "only" enables to schedule the on/off the service-blocking filter globally. Am I wrong ?

grf692 avatar Sep 08 '23 08:09 grf692

@grf692, I'm afraid that you are, heh. The schedule for a client is the next tab after blocked services, and it's called Pause service blocking. The UI needs improvement, but that will probably come in v0.108 cycle.

ainar-g avatar Sep 08 '23 08:09 ainar-g

Sorry for being stupid, I did see the "Pause service blocking" but I can't find where I select the individual client/device. All I see is that I can add a schedule per week day to pause the service blocking filter globally (= for all clients). Can you share a screenshot where I can select the individual client/device please ?

grf692 avatar Sep 08 '23 08:09 grf692

@grf692, Settings → Client settings → New client/Edit. Pause service blocking tab is to the right of the Block specific services tab.

Screen Shot 2023-09-08 at 11 41 26

ainar-g avatar Sep 08 '23 08:09 ainar-g

Thanks for adding this feature.

A not that it appears you can only add the same schedule for every day of the week.

When I created a schedule for the weekend, it is replaced altogether in the UI when I subsequently add a different schedule for weekdays.

BrianGilbert avatar Sep 11 '23 00:09 BrianGilbert

@BrianGilbert, that's #6177.

ainar-g avatar Sep 11 '23 09:09 ainar-g

Thanks for adding this feature.

If I want to suspend a service two times the same day from 8:00 to 14:00 and from 20:00 to 23:59 how can I do?

venethia avatar Oct 18 '23 11:10 venethia

@venethia, there is only one interval currently. You can create a feature request for multiple intervals within the same weekday.

ainar-g avatar Oct 18 '23 11:10 ainar-g

Done: https://github.com/AdguardTeam/AdGuardHome/issues/6326

venethia avatar Oct 18 '23 11:10 venethia