Giter Site home page Giter Site logo

huaweimobiledashboard's Introduction

Mobile Router Dashboard

This repository contains JavaScript code that show dashboard with mobile connection parameters that are not always available in the Web UI of Huawei&Netgear routers. There are two versions of the script:

  • as a URL code for a browser Bookmark
  • as a TamperMonkey addon

Currently the extra dashboard shows the following data:

  • network type (GSM, WCDMA, LTE)
  • signal strength parameters specific to current network type (e.g. EC/IO for 3G, SINR for LTE)
  • DL/UL rates
  • Battery level and status (for mobile hotspots)
  • Device and battery temperature (for Netgear hotspots)

Additionally, dashboard for the Huawei routers allows fixation of LTE bands.

Screenshots

Huawei version

Dashboard with bar plot of signal history on E5573 mobile router:

Dashboard on E5573 router web UI

Select one of LTE modes:

  • Auto - automatic switch between LTE/3G/2G
  • LTE > GSM - Use LTE with GSM fallback (e.g. for SMS, USSD)
  • LTE > WCDMA - Use LTE with 3G fallback
  • LTE Only

Setting custom LTE bands

Specifying LTE bands:

Setting custom LTE bands

Example setup of B1+B7 with LTE only:

Setting specific bands and using only LTE

Now active inactive bands are greyed out in the dashboard:

Setting specific bands and using only LTE

Dashboard on E8372 USB modem:

Dashboard on E8372 router web UI

Dashboard on E5330 router:

Dashboard on E5330 router web UI

Netgear version

Dashboard with history and download/upload rate on Nightwawk M2 router:

Dashboard on Netgear web UI

Dashboard on Nightwawk AirCard 785s router:

Dashboard on Netgear AC785s

Installation & Usage

Bookmark version

  • Create new bookmark in a browser
  • Copy the code from ExtraAntennaStatus.min.js for Huawei router or NetgearEAS.min.js for Netgear router
  • Insert the code as new bookmark URL
  • Navigate to mobile WiFi page and execute the bookmark. Note: Changing of LTE bands on Huawei routers works only after logging into Web UI of the router.

TamperMonkey addon version

  • Install TamperMonkey addon to your browser (available on Chrome, Firefox, Firefox Mobile, etc) - https://www.tampermonkey.net/
  • Create new user script and copy the contents of the ExtraAntennaStatus.js for Huawei router or NetgearEAS.js for Netgear router file
  • Update @match tag to web dashboard address of the modem. One can specify several @match in case there are several adresses, i.e.:
@match        http://192.168.8.1/*
@match        http://192.168.9.1/*
  • Navigate to web dashboard page of the router. Some routers may require login to aquire all information.

Supported devices

The script was tested on the following routers:

Huawei

  • E5330
  • E5573
  • E8372
  • K5160 - DL/UL rates and adjusting LTE bands work. No signal data as firmware doesn't provide signal data by default.

Netgear

  • AirCard 785s
  • Nighthawk M2 (MR2100)

Tested on

Bookmark version

  • Safari on iOS 16.6
  • Firefox 116
    • Ubuntu 23.04
    • Windows 10
  • MS Edge 116 on Windows 10

Addon Version

Tested with TamperMonkey 4.19

  • Firefox 116 on Android 13
  • Firefox 116
    • Ubuntu 23.04
    • Windows 10
  • MS Edge 116 on Windows 10

TODO

  • Adjust refresh rate. Now it is handled by UPDATE_MS variable in the script.

Acknowledgments

huaweimobiledashboard's People

Contributors

postrediori avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.