Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
uroshj opened this issue Dec 16, 2024 · 14 comments
Closed
3 tasks done
Labels
duplicate Duplicate or merged issues.

Comments

@uroshj
Copy link

uroshj commented 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.

@Dynamic5912
Copy link

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

@uroshj
Copy link
Author

uroshj commented 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.

@Dynamic5912
Copy link

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

@uroshj
Copy link
Author

uroshj commented 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
Copy link

Parental control web service?

@uroshj
Copy link
Author

uroshj commented 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.

@Dynamic5912
Copy link

Dynamic5912 commented Dec 17, 2024

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

@uroshj
Copy link
Author

uroshj commented 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!

@Dynamic5912
Copy link

The service is for blocking access to adult websites etc.

YouTube doesn't fall within that remit.

@uroshj
Copy link
Author

uroshj commented Dec 17, 2024

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

@Dynamic5912
Copy link

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.

@uroshj
Copy link
Author

uroshj commented Dec 18, 2024

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

@Dynamic5912
Copy link

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
Copy link
Contributor

ainar-g commented 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 ainar-g closed this as not planned Won't fix, can't repro, duplicate, stale Dec 19, 2024
@ainar-g ainar-g added duplicate Duplicate or merged issues. and removed feature request labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate or merged issues.
Projects
None yet
Development

No branches or pull requests

3 participants