Skip to content

kali4nya/xiaomi-parental-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xiaomi-parental-control

simple python script to run on a home server that controls internet access for specified devices

everything to set up is explained in code

tested on xiaomi router 4A and python 3.12

cutoff_time = "23:00" #time to cutoff internet access
restore_time = "06:00" #time to restore internet access

mac = '4F:76:51:92:58:5F' # <- replace with mac address of the device you want to control (you can do a list for multiple devices)

ip = '192.168.31.1' # <- repalce with your router ip (default is usually 192.168.31.1)
username = 'admin' #router username (for xiaomi routers, it's admin by default)
password = 'password' # <- replace with your actuall router password

If you have any problems/issues/questions let me know, Im happy to help :3

About

simple python script to run on a home server that controls internet access for specified devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages