QuickTools
Illustration of a TV at night with a moon and one allowed app, next to a phone app
Home TV1 Nov 202610 min read

How I Set Up Kids Mode and TV Time Limits at Home, With an AI Assistant

My kids kept sneaking into other apps and watching past bedtime. Here is how I fixed our Android TV without writing code.

9M4ckBy 9M4ck · Some patience needed

My kid likes to sneak into other apps and keep watching long past the time we agreed. I spent a whole day off chatting with an AI to fix it (my English was messy, see my tips). I did not write a single line of code. We ended up with a TV that has a kids mode, locks itself at bedtime and goes quiet, plus a phone app to control it. The photos and screenshots here are from our own TV and phone.

Photo of a TV kids home screen showing only one allowed app, AIS Play, on a night-sky background
Kids home screen on our TV: only the app we allowed is shown.

What you get

Kids home screenonly the apps you choose
Viewing hourse.g. school days 07:00-07:15 and 17:00-20:30
Auto lockTV locks and goes quiet at the end
Phone appoptional, needs a Mac and an iPhone
TV lock screen with a peach emoji and a Thai message saying it is time to rest your eyes
What the lock screen looks like when time is up.

Before you start

Check your TV first. This works for Android TV and Google TV (for example TCL, Sony, Xiaomi, Hisense, Chromecast). It does not work for Samsung, LG or Fire TV.

Step by step

  1. Turn on developer mode on the TV. Settings, System, About, then press OK on "Android TV OS build" seven times.
  2. Turn on USB debugging in the new Developer options menu.
  3. Clean the TV. Paste prompt 1 below into your assistant. It uses the open-source CleanYourTV project to remove ads and junk apps. Nothing is uninstalled for good, and you can tell the assistant to restore your TV.
  4. Allow your computer when the TV asks, then answer the assistant's questions.
  5. Add kids mode. In the same chat, paste prompt 2. It asks which apps your kids may open and what hours the TV may be used.

Prompt 1: clean the TV

Talk to me in Thai. Clone https://github.com/Gathin23/cleanyourtv and work inside that folder.
Open its PROMPT.md and do everything between the two --- lines, exactly as if I had pasted it to you.
My TV model is: ____ (if I left this blank, read the model from the TV once you are connected).

Prompt 2: kids mode and time rules

Talk to me in Thai. My TV was cleaned with CleanYourTV and the cleanyourtv folder is on this computer.
Clone https://github.com/nirasnet/peach-tv next to that folder, read its README.md, and set up the family TV
on my real TV step by step, checking each step with a screenshot from the TV:
1. Install the TV agent with tv-agent/install.sh. If network ADB is already closed, tell me how to turn
   USB debugging back on, and close it again at the end. Keep the agent token private, don't print it in chat.
2. Ask me which apps my kids may open, then turn on Kids mode with only those apps.
3. Ask me what hours the TV may be used on school days and on weekends, and the daily screen-time limit,
   then set those rules.
4. Show me the unlock code and how to unlock the lock screen with the remote.
5. Ask me whether I have a Mac with Xcode and an iPhone. If yes, build and install the Peach TV app
   (ios/build-and-install.sh) and pair it with the TV. If not, give me a small script to lock and unlock
   the TV from this computer.
Ask me before anything that needs my Apple account. Skip "away from home" (Tailscale) unless I ask for it.

Change "Talk to me in Thai" to your own language. The full steps and the latest version live in the peach-tv repository.

Screenshot of the phone app TV time settings with time ranges and a screen time limit
The phone app: time ranges and a daily screen-time limit.
Stay safe. Developer mode and USB debugging give your computer deep control of the TV, so turn USB debugging off again when you finish (the prompt does this). Keep the access token private and never paste it in a chat. Use this only on a TV that is yours, and read what the assistant plans before you approve it.

Credit

The TV-cleaning part is CleanYourTV by Gathin (MIT licence, cleanyour.tv). My kids mode and the iPhone app build on top of it.

9M4ck

About the author

Hi, I'm 9M4ck, a dad who loves trying new tech, especially AI that you can talk to in plain words and that builds something useful. I don't write code myself. I started Jubmue AI (จับมือ AI) because friends kept asking me to walk them through the things I made at home, like the family TV setup.

The photos and screenshots here are from my own TV, phone and projects. The videos and voice-overs on my Facebook page are made with AI tools. This blog adapts the written steps from my posts, so you can follow along at your own pace.

Follow along: Facebook · YouTube · TikTok

Keep reading