Giter Site home page Giter Site logo

Comments (4)

Vaskivskyi avatar Vaskivskyi commented on June 15, 2024

Hello, yes, for sure. This feature can be added. Also, this should not take too much time to implement

For not the library contains something I was using or users of my Home Assistant integration asked for.

However, I am always open to implementing more features and making the library compatible with more devices.

P.S. Are you using Merlin 388.4?

from asusrouter.

mzakharo avatar mzakharo commented on June 15, 2024

Hi, I am running 388.1, and yeah, I tried MULTIFILTER_BLOCK_ALL instead of MULTIFILTER_ALL and it worked! Thank you again, this library really rocks, and now I am on my way of implementing total blackout for my network based on a schedule. how nice. Just need to get my home assistant updated, as I see you only support latest versions.

P.S. Enjoy some coffee ;) best of luck with this project.

from asusrouter.

Vaskivskyi avatar Vaskivskyi commented on June 15, 2024

Thanks (:

Unfortunately, Home Assistant is implementing a bit too many changes from time to time. For now, I am not planning on moving further than 2023.10+ as it is currently so that at least several HA main releases will be supported

from asusrouter.

Vaskivskyi avatar Vaskivskyi commented on June 15, 2024

Hey. With 1.3.0 you can:

from asusrouter.modules.parental_control import AsusBlockAll

# Initialize `router` as an AsusRouter here and connect

# Block internet for all
await router.async_set_state(AsusBlockAll.ON)
# Remove the block
await router.async_set_state(AsusBlockAll.OFF)

from asusrouter.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.