28 lines
538 B
Markdown
28 lines
538 B
Markdown
# Script: network-huawei-modem
|
|
|
|
Print stats from Huawei modem sticks. Such as signal levels, sms count and traffic bandwidth.
|
|
|
|
Tested with E3372h-320, but should work with others.
|
|
|
|

|
|
|
|
|
|
## Dependencies
|
|
|
|
* [`Salamek/huawei-lte-api`](https://github.com/Salamek/huawei-lte-api)
|
|
|
|
|
|
## Configuration
|
|
|
|
Just insert your modem ip and credentials into heading of script.
|
|
|
|
|
|
## Module
|
|
|
|
```ini
|
|
[module/network-huawei-modem]
|
|
type = custom/script
|
|
exec = ~/polybar-scripts/network-huawei-modem.py
|
|
interval = 5
|
|
```
|