One-click option to enable services blocking on one device - Adguard home in docker #5470

Closed
opened 2026-03-04 06:10:55 -05:00 by deekerman · 14 comments
Owner

Originally created by @uroshj on GitHub (Dec 16, 2024).

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

My son watches youtube for xx amount of minutes on the TV.
I am able to login to Adguard, select the device and disable standard blocking for the device (youtube already selected). That way, youtube stops working on the device.
Now, to explain what to do to my wife - no, I would rather have a simpler option.

Proposed solution

If there would be an webservice call like: ip/settings/device=xx/clokingenable=true (or whatever that would look lie)
Another (better) option would be, if I could integrate that in HomeAssistant. Either over the add-on, or as a webservice that I could call simply with a click of a button. That is something my wife can then also do.
image
Not sure, If that can also be added to filtering
image

Alternatives considered and additional information

In worst case - if I can integrate the block into the parental control - I can trigger that already in HomeAssistant, sadly I have not found on how to add something into the Parental control. Sure, I do understand, that in this case youtube would be blocked for all devices, but for a quick fix, that would also work. Later it would be really cool, if such an option on a device level would be there.

Originally created by @uroshj on GitHub (Dec 16, 2024). ### Prerequisites - [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer - [X] I have searched other issues and found no duplicates - [X] I want to request a feature or enhancement and not ask a question ### The problem My son watches youtube for xx amount of minutes on the TV. I am able to login to Adguard, select the device and disable standard blocking for the device (youtube already selected). That way, youtube stops working on the device. Now, to explain what to do to my wife - no, I would rather have a simpler option. ### Proposed solution If there would be an webservice call like: ip/settings/device=xx/clokingenable=true (or whatever that would look lie) Another (better) option would be, if I could integrate that in HomeAssistant. Either over the add-on, or as a webservice that I could call simply with a click of a button. That is something my wife can then also do. ![image](https://github.com/user-attachments/assets/7ef79497-a28a-407a-b44a-1e317fb79fcd) Not sure, If that can also be added to filtering ![image](https://github.com/user-attachments/assets/ec1413bc-5743-4637-a29d-3e1348075d71) ### Alternatives considered and additional information In worst case - if I can integrate the block into the parental control - I can trigger that already in HomeAssistant, sadly I have not found on how to add something into the Parental control. Sure, I do understand, that in this case youtube would be blocked for all devices, but for a quick fix, that would also work. Later it would be really cool, if such an option on a device level would be there.
deekerman 2026-03-04 06:10:55 -05:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@Dynamic5912 commented on GitHub (Dec 16, 2024):

Can you not use the scheduled time instead so it's a regular allow/block?

@Dynamic5912 commented on GitHub (Dec 16, 2024): Can you not use the scheduled time instead so it's a regular allow/block?
Author
Owner

@uroshj commented on GitHub (Dec 17, 2024):

Can you not use the scheduled time instead so it's a regular allow/block?

No, I would need it to be enabled/disabled by button. As needed. So no schedules are possible.

@uroshj commented on GitHub (Dec 17, 2024): > Can you not use the scheduled time instead so it's a regular allow/block? No, I would need it to be enabled/disabled by button. As needed. So no schedules are possible.
Author
Owner

@Dynamic5912 commented on GitHub (Dec 17, 2024):

Then the only way to do this currently is by logging into the AGH dashboard

@Dynamic5912 commented on GitHub (Dec 17, 2024): Then the only way to do this currently is by logging into the AGH dashboard
Author
Owner

@uroshj commented on GitHub (Dec 17, 2024):

Thanks for the reply.
Would there be an option, to add the youtube block to parental control? That I could select which services should be blocked wit parental control? I know, that would be for all, but still better.
Would there be an option to add something like this to the to-do list?
Thanks!

@uroshj commented on GitHub (Dec 17, 2024): Thanks for the reply. Would there be an option, to add the youtube block to parental control? That I could select which services should be blocked wit parental control? I know, that would be for all, but still better. Would there be an option to add something like this to the to-do list? Thanks!
Author
Owner

@Dynamic5912 commented on GitHub (Dec 17, 2024):

Parental control web service?

@Dynamic5912 commented on GitHub (Dec 17, 2024): Parental control web service?
Author
Owner

@uroshj commented on GitHub (Dec 17, 2024):

I can enable it simply in HA:
image
So if I could add YouTube to it (I did not see any option to change what is assigned there), then my wife would be able to turn that on (YouTube would be blocked on the whole network).
Sure it is not exactly what I would like to achieve (whole network instead of one/more devices), but it is still better than explaining where she has to go in, what to select, etc over the web access in AdGuard home.

@uroshj commented on GitHub (Dec 17, 2024): I can enable it simply in HA: ![image](https://github.com/user-attachments/assets/eb534d29-e9cd-4a15-9321-e320eff5bcb3) So if I could add YouTube to it (I did not see any option to change what is assigned there), then my wife would be able to turn that on (YouTube would be blocked on the whole network). Sure it is not exactly what I would like to achieve (whole network instead of one/more devices), but it is still better than explaining where she has to go in, what to select, etc over the web access in AdGuard home.
Author
Owner

@Dynamic5912 commented on GitHub (Dec 17, 2024):

You can't change that service and what it blocks.

@Dynamic5912 commented on GitHub (Dec 17, 2024): You can't change that service and what it blocks.
Author
Owner

@uroshj commented on GitHub (Dec 17, 2024):

You can't change that service and what it blocks.

That is exactly my point :)

Maybe it would be good also to consider such use cases, as I hope, I am not the only one with such ideas :)
Maybe also in the add-on in HA. For the "non-technical" users :)

Thanks either way!

@uroshj commented on GitHub (Dec 17, 2024): > You can't change that service and what it blocks. That is exactly my point :) Maybe it would be good also to consider such use cases, as I hope, I am not the only one with such ideas :) Maybe also in the add-on in HA. For the "non-technical" users :) Thanks either way!
Author
Owner

@Dynamic5912 commented on GitHub (Dec 17, 2024):

The service is for blocking access to adult websites etc.

YouTube doesn't fall within that remit.

@Dynamic5912 commented on GitHub (Dec 17, 2024): The service is for blocking access to adult websites etc. YouTube doesn't fall within that remit.
Author
Owner

@uroshj commented on GitHub (Dec 17, 2024):

Yes, I know. Would be a workaround, just to be able to block it quick.

@uroshj commented on GitHub (Dec 17, 2024): Yes, I know. Would be a workaround, just to be able to block it quick.
Author
Owner

@Dynamic5912 commented on GitHub (Dec 17, 2024):

Yes, I know. Would be a workaround, just to be able to block it quick.

It's not a workaround as it blocks other things as well.

@Dynamic5912 commented on GitHub (Dec 17, 2024): > Yes, I know. Would be a workaround, just to be able to block it quick. It's not a workaround as it blocks other things as well.
Author
Owner

@uroshj commented on GitHub (Dec 18, 2024):

Not a problem if adult content is blocked for that time.

@uroshj commented on GitHub (Dec 18, 2024): Not a problem if adult content is blocked for that time.
Author
Owner

@Dynamic5912 commented on GitHub (Dec 18, 2024):

YouTube doesn't fall under the remit of parental control though.

Have you looked at the unofficial mobile apps?

They offer options to enable and disable services per client when purchased.

@Dynamic5912 commented on GitHub (Dec 18, 2024): YouTube doesn't fall under the remit of parental control though. Have you looked at the unofficial mobile apps? They offer options to enable and disable services per client when purchased.
Author
Owner

@ainar-g commented on GitHub (Dec 19, 2024):

Sorry, I'm not entirely sure what this feature request is about. There is a feature request for custom UI elements in #1502. In the meantime, if you don't want to use the current UI, and you can code, you could call the documented API directly.

I'm going to close this one as a duplicate of #1502, and please let me know if I didn't get your request correctly.

@ainar-g commented on GitHub (Dec 19, 2024): Sorry, I'm not entirely sure what this feature request is about. There is a feature request for custom UI elements in #1502. In the meantime, if you don't want to use the current UI, and you can code, you could call the [documented API](https://github.com/AdguardTeam/AdGuardHome/blob/21945c6058ed0227b741d1ac1fd0230b7e1e3dc6/openapi/openapi.yaml) directly. I'm going to close this one as a duplicate of #1502, and please let me know if I didn't get your request correctly.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#5470
No description provided.