Skip to content

ZB-Codes-n-Plays/MMM-network-signal

 
 

Repository files navigation

MMM-network-signal

Display a solid wifi logo as network signal for MagicMirror2

Signal icons: none, weak, normal, strong, loading

Dependencies

Installation

  1. Clone this repo into ~/MagicMirror/modules directory.

  2. Install dependencies npm i

  3. Configure your ~/MagicMirror/config/config.js:

    {
        module: "MMM-network-signal",
        position: "bottom_right",
        config: {
            // Configuration of the module goes here
        }
    }
    

Configuration Options

Option Default Description
updateInterval 5000 Time in ms between connection tests
maxTimeout 1000 Maximum timeout in ms for every pings
animationSpeed 250 Icon change animation time in ms
initialLoadDelay 3000 Delay in ms for first ping
server 8.8.8.8 Pingable server IP address
thresholds { strong: 50, medium: 150, weak: 500 } Tresholds for icons (ping answer in ms)
showMessage true Shows status messages depending on how good or bad is the connection
flexDirection row Sets the direction the module is displayed; row displays the status message on the left and the ping icon on the right, row-reverse displays the ping icon on the left and the status message on the right.
scale 0.45 How much to scale the ping icon.

About

MagicMirror2 solid network status

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%