Utilities for Parents
← Home · free scripts for the home PC and TV

Small tools I wrote for my own home, so the children's PC and TV are for study and fixed hours, not endless videos. They are free to use and change. Each page explains what the tool does, what you need, how to set it up step by step, and what it cannot do.

Windows 11 · Python

FocusGuard: screen time and site blocker

Blocks videos, social media, games and music sites for the children's Windows accounts, and limits PC time per day with allowed hours. Study mode allows only the sites you list. You give extra study time from your phone.

Chrome · Edge · Firefox · phone control over home Wi-Fi
Android TV · Termux · ADB

Home TV Lock: lock videos from your phone

One tap on your phone pauses YouTube, Hotstar, Netflix and other video apps on the TV, and switches off casting, until you unlock it. Works from your phone with Termux, from the FocusGuard page, or from a PC.

Termux widget buttons · works with or without FocusGuard
Router · How-to

Fixed IP addresses for home devices

Find the IP and MAC address of your PC, TV, printer or camera from the router, then reserve (bind) a fixed IP for each, so phone apps and scripts always find them.

Step by step · common Indian ISP routers · troubleshooting

How the two fit together

You haveUse
Only a TV to controlHome TV Lock with Termux on your phone (TV-only mode, no PC needed).
Only a children's Windows PCFocusGuard. Open its home page on your phone to give study time.
BothFocusGuard on the PC with TV control turned on, and home_lock.sh on each parent's phone. The phone goes through the PC when it is on, so everyone shares one lock state, and talks to the TV directly when the PC is off.
Before you start. These are home scripts, shared as they are, with no warranty. Try them on a weekend when you have time to check them, keep your own Windows admin password private, and read the Limits part of each page. Talk to the children about the rules too; software works best as a reminder, not a wall.