How inotdream/mt5700webui-openwrt-server works
This is an OpenWrt AT-modem management package: a browser UI exposes modem/network controls, messaging, system information and upgrades, while a Python server provides AT-command connectivity and monitoring/notifications. The LuCI app configures the service and presents debug/log tools. The main path is user action → web UI → WebSocket/server → modem command, with results displayed in the UI. The excerpts show the debug WebSocket and several UI command calls; backend routing and most bundled-page interactions are not sampled, so those links are marked unverified.
Main entry points: at-server.py AT WebSocket Server · umi.ec9b4b52.js Web App Shell · logs.js Notification Logs · config.js Service Config
Components 22
LuCI Administration
- Service Config
luci-app-at-webserver/htdocs/luci-static/resources/view/at-webserver/config.js - AT Debug
luci-app-at-webserver/htdocs/luci-static/resources/view/at-webserver/debug.js - Notification Logs
luci-app-at-webserver/htdocs/luci-static/resources/view/at-webserver/logs.js
Modem Web UI
- Web App Shell
at-webserver/files/www/5700/umi.ec9b4b52.js - Dial Controls
at-webserver/files/www/5700/p__CPE__Network__Dial__index.a360ac4c.async.js - Network Status
at-webserver/files/www/5700/p__CPE__Network__Info__index.30901ff8.async.js - Network Settings
at-webserver/files/www/5700/p__CPE__Network__Settings__index.893ddec9.async.js - SMS Center
at-webserver/files/www/5700/p__CPE__SMS__Center__index.88186f3e.async.js - SMS Settings
at-webserver/files/www/5700/p__CPE__SMS__Settings__index.c3a79efc.async.js - System Info
at-webserver/files/www/5700/p__CPE__System__Info__index.a04926af.async.js - Firmware Upgrade
at-webserver/files/www/5700/p__CPE__System__Upgrade__index.d7af163b.async.js - AT Terminal
at-webserver/files/www/5700/p__CPE__AT__Terminal__index.2ff1b893.async.js
AT Service
- AT WebSocket Server
at-webserver/files/usr/bin/at-server.py - AT Connection
at-webserver/files/usr/bin/at-server.py - Signal Monitor
at-webserver/files/usr/bin/at-server.py - Band Locking
at-webserver/files/usr/bin/at-server.py - Event Notifications
at-webserver/files/usr/bin/at-server.py
Runtime Operations
- UCI Config
at-webserver/files/etc/config/at-webserver - Service Log
- Log Clear CGI
at-webserver/files/www/cgi-bin/at-log-clear
Other components
- Operator
- AT Modem
Connections 29
- Operator → Service Config: configures
luci-app-at-webserver/htdocs/luci-static/resources/view/at-webserver/config.js - Service Config → UCI Config: saves settings
luci-app-at-webserver/htdocs/luci-static/resources/view/at-webserver/config.js - Operator → AT Debug: enters commands
luci-app-at-webserver/htdocs/luci-static/resources/view/at-webserver/debug.js - AT Debug → AT WebSocket Server: WebSocket commands
luci-app-at-webserver/htdocs/luci-static/resources/view/at-webserver/debug.js - Operator → Web App Shell: uses
- Web App Shell → Dial Controls: opens page
- Web App Shell → Network Status: opens page
- Web App Shell → Network Settings: opens page
- Web App Shell → SMS Center: opens page
- Web App Shell → SMS Settings: opens page
- Web App Shell → System Info: opens page
- Web App Shell → Firmware Upgrade: opens page
- Web App Shell → AT Terminal: opens page
- Dial Controls → AT WebSocket Server: sends commands
- Network Settings → AT WebSocket Server: sends commands
- Network Status → AT WebSocket Server: requests status
- SMS Center → AT WebSocket Server: manages messages
- SMS Settings → AT WebSocket Server: configures messaging
- System Info → AT WebSocket Server: requests details
- Firmware Upgrade → AT WebSocket Server: requests upgrade
- AT Terminal → AT WebSocket Server: sends commands
- AT WebSocket Server → AT Connection: uses connection
at-webserver/files/usr/bin/at-server.py - AT Connection → AT Modem: exchanges AT
- AT WebSocket Server → Signal Monitor: monitors signal
at-webserver/files/usr/bin/at-server.py - AT WebSocket Server → Band Locking: applies band lock
at-webserver/files/usr/bin/at-server.py - AT WebSocket Server → Event Notifications: dispatches events
at-webserver/files/usr/bin/at-server.py - Notification Logs → Service Log: reads log
luci-app-at-webserver/htdocs/luci-static/resources/view/at-webserver/logs.js - Notification Logs → Log Clear CGI: requests clearing
luci-app-at-webserver/htdocs/luci-static/resources/view/at-webserver/logs.js - Log Clear CGI → Service Log: clears log