-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Sorry to create an issue for this but how about a walk-through of all the features. #77
Comments
I was looking to do the exact same thing with this library. So from one dad to another, below is a working script. Basically, run the script with -d first to get the MAC addresses of attached devices and then run it again with -a (for allow) or -b (for block) and then pass the MAC of the device you want to allow/block. Try this:
|
Note you could use HomeAssistant for this, but of course a simple python script will also do: To print a list of all devices to figure out the mac of the device you want to block
To block a device:
To allow a device:
|
Wanting to either block or allow a couple of kids access to the internet at the run of a script. I can not seem to figure it out.
I can authenticate, get_attached_devices. but I am failing to toggle Allow or Block for allow_block_device(mac='00:00:00:00:00:00', device_status=Block
The text was updated successfully, but these errors were encountered: