Skip to content

A simpe react app that plots a live view of the T-Mobile Home Internet Nokia 5G Gateway signal stats, helpful for optimizing signal.

License

Notifications You must be signed in to change notification settings

highvolt-dev/tmo-live-graph

Repository files navigation

tmo-live-graph logo

tmo-live-graph

A simpe react app that plots a live view of the T-Mobile Home Internet Nokia 5G Gateway signal stats, helpful for optimizing signal.

This project should be considered to be in a pre-release state.

desktop screenshot of tmo-live-graph

Getting Started

Ensure that you have nodejs installed on your machine, then run:

npm install

In order to properly fetch API responses from the Nokia Gateway in-browser, they must be proxied to work around CORS restrictions.

This is handled automatically when running the project in development mode using webpack-dev-server with the following command:

npm start

This will start the project at http://localhost:3000/

This project has not been prepared to handle proxying in a production-ready release mode.

Configuration

You can avoid specifying your gateway model and admin username/password by making use of an environment file.

The default environment configuration is specified in the .env file.

It is suggested that you make a copy as .env.local.

Inside .env.local you can specify your desired configuration, e.g.:

REACT_APP_GATEWAY_MODEL=NOK5G21
REACT_APP_USER=admin
REACT_APP_PASSWORD=yourpassword

Note that the file has further instructions (helpful if you have the Arcadyan gateway).

If necessary, you may need to enclose your value in single (') or double quotes (").

When your environment file is fully configured, the application will not prompt you for your gateway model (Nokia vs Arcadyan) and will automatically attempt to log you into your gateway with the provided username and password, enabling advanced functionality that requires authentication against your administrative credentials.

Cell Info

This section requires authentication with admin username and password - login form appears at top of app.

  • Connection Type
  • Operator (PLMN/MCC-MNC)
  • eNB ID (Cell Site)
  • Cell ID
  • Link to cellmapper.net for given operator. Zoomed to geographic center of US. To respect cellmapper.net, you must manually copy and paste the enNB ID to find your cell site.

Summarized Statistics

4G LTE

  • Connected band
  • Carrier Aggregation (Download, Upload, Bands)
  • Current/Best RSRP
  • Current/Best SNR
  • Current/Best RSRQ

5G NR

  • Connected band
  • Current/Best RSRP
  • Current/Best SNR
  • Current/Best RSRQ

Visualized Statistics

4G LTE

  • RSRP value with Min/Max reference lines
  • SNR value with Min/Max reference lines
  • RSRQ value with Min/Max reference lines

5G NR

  • RSRP value with Min/Max reference lines
  • SNR value with Min/Max reference lines
  • RSRQ value with Min/Max reference lines

Screenshots

Desktop

desktop screenshot of tmo-live-graph

Tablet

tablet screenshot of tmo-live-graph

Mobile

mobile screenshot of tmo-live-graph

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify