Asus RT controling wifi

Hi,

Is anyone able to help ?
I wanted to control ASUS rt router to disable Wifi , aiming to get a integration with HA.
My goal is to be able to switch wifi on / off , and if possible to individually to any device.
As such, I would cut wifi once is bed time to my kids.
Any idea on how to accomplish ?

Hey there,

would you mind sharing the exact model of router you own?
If ASUS exposes an API or some other sort of command line access like SSH you could call it to turn of wifi completely or to prevent internet access with some firewall rules for your kids phones :slight_smile:

Asus RT-AC57U
I’ve access via ssh , but still not with ssh:key … i’m logging via terminal

In that case you should be able to use https://www.home-assistant.io/integrations/shell_command/
Use ssh commands that enable/disable WiFi I guess, but since I don’t have an ASUS router I can’t give you the exact command
maybe wl radio off and wl radio on ?

it might work but … I’m also using the Wifi , and if disconnect the wifi, I would loose the access to re-enable it

Well, in that case you can either enable a set of firewall rules that prevent internet communication of your kids phones, or filter their DNS requests?

on the DNS request i’m already using AD-guard but it fails on games (probably direct IPs)
i will need to investigate the firewall rules … but they both haves tablet and phone and PC … so a lot of rules … :slight_smile:

An easier way would be to create a (maybe hidden) secondary wifi network?

I live in a building and i’m already detecting when scanning more than 30 different SSID … another wifi channel is something that I would want to avoid .
but i will investigate a way on firewall rules, as it would be more efficient on the long run . the router do have an option to block traffic for any device … maybe a way forward

1 Like