huawei-modem-python-api-client
huawei-modem-python-api-client copied to clipboard
Modem USB Huawei HTTP API Python client
```python #!/usr/bin/python3 import huaweisms.api.user import huaweisms.api.sms import urllib ctx = huaweisms.api.user.quick_login("admin", "admin", modem_host='192.168.3.1') phone = "+79261234567" message = "Тест" result = huaweisms.api.sms.send_sms(ctx, phone, message) print(result) ``` Output ```python Traceback (most...
Hi. I'm trying to get an sms import huaweisms.api.user import huaweisms.api.sms ctx = huaweisms.api.user.quick_login("admin", "password") print(ctx) smss = huaweisms.api.sms.get_sms(ctx, box_type=1, qty=1, unread_preferred=True) print(smss) The SMS comes and I see unknown...
How to get sms from inbox? ctx = get_session() sent = sms.get_sms(ctx) print(sent) get_sms: get information from boxes: inbox, outbox
Hello Team, I am still a novice and I just discovered this project, I would like to know if it is possible to change the senderID of the SMS sending....
I've noticed when MMS messages are received, the program crashes with ``` Traceback (most recent call last): File "huaweiApi.py", line 52, in latestMessage=huaweisms.api.sms.get_sms(ctx,1,1,1) File "/home/christopher/.local/lib/python3.8/site-packages/huaweisms/api/sms.py", line 39, in get_sms r...
Hello, Thank you for your work on this. I want to add support for getting the battery status. Any pointers on where I should start? Thank you. EDIT 1: I...
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...
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...
Hello ! Do you think it is possible to select profile management (in settings/Dial-UP menu) in order to select APN from py scripts? Thanks.
Can I use this API for Huawei E3337 lte modem which is without login? The API works fine with my E8372, but I have 2 models to use