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

Add parental controls #189

Open
JohannHilbold opened this issue Jun 9, 2023 · 3 comments
Open

Add parental controls #189

JohannHilbold opened this issue Jun 9, 2023 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed not_supported_in_web_admin_api Feature is not supported in the web admin API

Comments

@JohannHilbold
Copy link

Hey guys,
I'm wondering if it's possible to add parental control switches. In the Deco app (on Android at least) you can display information and turn on/off internet for some "device groups". Although the information is not very accurate, the toggle internet feature works pretty well.

image

Describe the solution you'd like
Ideally, I would like to expose some switches on HA to toggle internet for this or that group.

Describe alternatives you've considered
Well I can use the Deco app to turn it off/on, but the idea was to automate it in HA. The HA companion app exposes an "interactive mode" boolean which says when the screen of a mobile/tablet is turned on or off. So when "kid A" has had "interactive mode" for 2 hours that day, it's time to take a break from the internet!

Additional context
I'm a developper myself and although I don't know python, the few lines I've read on this repo here don't scare me that much (yet). With a bit of help and some pointers on how this addon works, I wouldnt mind trying to do it myself.

Cheers

@amosyuen
Copy link
Owner

amosyuen commented Jun 9, 2023

So this integration connects with the router web admin UI not the mobile app. I don't think I saw parental controls in the router web admin UI. If the router doesn't support it, then you would need to figure out how to reverse engineer the mobile app API and auth.

@amosyuen amosyuen added enhancement New feature or request help wanted Extra attention is needed labels Jun 11, 2023
@JohannHilbold
Copy link
Author

JohannHilbold commented Jun 12, 2023

This is correct. The web admin UI does not display parental controls. But at the end of the day, when a parent turns off internet for their kid, it must be done at the router level.
So all there is no official API for Deco? All this integration does is mimic the admin web UI ? it's a nice feat, but that does seem to limit the possibilities for me

edit: oh wow, I just google tplink deco API and found dozens of forum posts on https://community.tp-link.com/ asking for an API... And no answer

@amosyuen
Copy link
Owner

Yep, pretty much can only try to reverse engineer their API which is quite time consuming. Usually much harder with mobile.

@amosyuen amosyuen added the not_supported_in_web_admin_api Feature is not supported in the web admin API label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed not_supported_in_web_admin_api Feature is not supported in the web admin API
Projects
None yet
Development

No branches or pull requests

2 participants