huawei-modem-python-api-client icon indicating copy to clipboard operation
huawei-modem-python-api-client copied to clipboard

reboot does not seem to work

Open joaotinoco opened this issue 3 years ago • 0 comments

Hello! I have been testing the code from this repository on a Huawei E8372-155 router.

The thing that I have been trying to do is reboot this modem, remotely, by using your API, when the modem loses it's connection.

The problem is that the reboot does not seems to actually reboot the modem, it's lights are always in the same state and the connection stays always "Disconnected". I have to cut the power from the router so it really reboots.

Also when I use the command

huaweisms.api.dialup.switch_mobile_on(ctx)

and then check its current state with the command

huaweisms.api.dialup.get_mobile_status(ctx)

I receive the message "CONNECTED", even thou in the "site" of the router, the status appears always as "Disconnected" (like in the image below).

Capture

joaotinoco avatar Oct 21 '21 13:10 joaotinoco