mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
One-click option to enable services blocking on one device - Adguard home in docker #5470
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#5470
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Not sure, If that can also be added to filtering
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.
@Dynamic5912 commented on GitHub (Dec 16, 2024):
Can you not use the scheduled time instead so it's a regular allow/block?
@uroshj commented on GitHub (Dec 17, 2024):
No, I would need it to be enabled/disabled by button. As needed. So no schedules are possible.
@Dynamic5912 commented on GitHub (Dec 17, 2024):
Then the only way to do this currently is by logging into the AGH dashboard
@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!
@Dynamic5912 commented on GitHub (Dec 17, 2024):
Parental control web service?
@uroshj commented on GitHub (Dec 17, 2024):
I can enable it simply in HA:

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.
@Dynamic5912 commented on GitHub (Dec 17, 2024):
You can't change that service and what it blocks.
@uroshj commented on GitHub (Dec 17, 2024):
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!
@Dynamic5912 commented on GitHub (Dec 17, 2024):
The service is for blocking access to adult websites etc.
YouTube doesn't fall within that remit.
@uroshj commented on GitHub (Dec 17, 2024):
Yes, I know. Would be a workaround, just to be able to block it quick.
@Dynamic5912 commented on GitHub (Dec 17, 2024):
It's not a workaround as it blocks other things as well.
@uroshj commented on GitHub (Dec 18, 2024):
Not a problem if adult content is blocked for that time.
@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.
@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.