huawei-modem-python-api-client
huawei-modem-python-api-client copied to clipboard
Any Good example for reboot / all of use of this lib ?
Any Good example for reboot / all of use of this lib , because im pretty new to python i would like to get some example for making this lib work in my code.
try
import huaweisms.api.user
import huaweisms.api.device
# change modem_host parameter to your router ip
ctx = huaweisms.api.user.quick_login("myusername", "mypassword", modem_host="192.168.3.1")
huaweisms.api.device.reboot(ctx)
ty that work ! but do you now how i can disable the web gui so i can reboot the modem like evry 5 min without the gui on ly screen ?