Skip to content
Monitors internet statistics such as strength and speed information on a smart mirror.
JavaScript HTML CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.previews Add files via upload Mar 15, 2017
images FallBack Mar 15, 2017
justgage-1.2.2 Initial Commit Sep 14, 2016
node_modules
.DS_Store WiFiSymbol Mar 15, 2017
LICENSE Initial commit Sep 14, 2016
README.md Update README.md Mar 15, 2017
internet-monitor.css WiFiSymbol Mar 15, 2017
internet-monitor.js Getting rid of tf toolbar in MainActivity Jun 25, 2018
jquery.js Initial Commit Sep 14, 2016
node_helper.js FallBack Mar 15, 2017
package.json Initial Commit Sep 14, 2016

README.md

Internet Monitor - Mirror

Monitors internet statistics such as strength and speed information on a smart mirror.

Monitor Visualization

Minimal Visualization

StrengthFullscreen Visualization

Installing the module

To install the module, just clone this repository to your modules folder: git clone https://github.com/ronny3050/internet-monitor.git internet-monitor. Then run cd internet-monitor and npm install which will install the dependencies.

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
	    module: 'internet-monitor',
            position: 'top_center',
            header: 'Internet Monitor',
            config:{
                type: '',
                maxTime: 20000,
                updateInterval: 0,
                verbose: false,
                displayStrength: true,
                displaySpeed: true,
                strengthIconSize: 80,
                maxGaugeScale: 100,
            },
	}
]

You can also customize the wifi symbol.

modules: [
	{
	    module: 'internet-monitor',
            position: 'top_center',
            header: 'Internet Monitor',
            config:{
                type: '',
                maxTime: 20000,
                updateInterval: 0,
                verbose: false,
                displayStrength: true,
                displaySpeed: true,
                strengthIconSize: 80,
                maxGaugeScale: 100,
		wifiSymbol:{
                    size: 50,
                    fullColor: '#3afc25',
                    almostColor: '#ffff0c',
                    halfColor: '#ff8c00',
	            noneColor: '#ff1111'
		},
            },
	}
]

Configuration options

The following properties can be configured:

Option Description
type Style of the speed gauges

Possible values: 'minimal' Minimalistic Style as shown in the second image above.
Default value: ''
maxTime Maximum time to test internet speed (Milliseconds)

Default value: 20000
updateInterval Time to rerun/update tests (Milliseconds)

Default value: 0
Please note that updateInterval has to be greater than maxTime
verbose Display additional information about test

Possible values: true or false
Default value: false
displayStrength Display Internet strength

Possible values: true or false
Default value: true
displaySpeed Display download and upload speed gauges

Possible values: true or false
Default value: true
strengthIconSize Size of the strength icon

Default value: 80
maxGaugeScale Maximum gauge value (Mbps)

Default value: 100
wifiSymbol Customize WiFi Symbol (Optional)

  • size Size of the WiFi Symbol
  • fullColorHex color code for full strength               
  • almostColorHex color code for almost strength        
  • halfColorHex color code for half strength              
  • noneColorHex color code for 0 strength                 

You can’t perform that action at this time.