Read the statement by Michael Teeuw here.
MMM-NetworkConnection
-
Description:
A MM-module to display network connection status (ping, download speed, upload speed) for MagicMirror2.
This module combines internet-monitor and MMM-connection-status…Download:
[card:slametps/MMM-NetworkConnection]
Screenshot


Initial Version
-
Hrm. I can’t get this to show up. I did get npm-speedtest to install, but the module isn’t appearing for me. I’m not receiving any error messages, but I’m also not seeing the header.
{ module: "MMM-NetworkConnections", header: "Network Speeds", position: "top_center", config: { updateInterval: 600000, maxTime: 5000, initialLoadDelay: 2500, decimal: 1, displayTextStatus: true, animationSpeed: 2500 } } -
Hello,
I try to monitor my internet connection as my WiFi disconnect a lot, but none of the avaliable modules (this one, but also the 2 originals ones “internet-monitor” and “MMM-connection-status”) are able to detect a disconnection…
When the WiFi is properly working, then I have the values displayed correctly, but in case of connection lost (I remove the wifi key…), then the module continu to display previous valid values.
I am on a RPI2 with WiFi USB key, can this be the origin of the issue ?
Thanks in advance for any help :slightly_smiling_face:
-
Installed as in readme file, fails to show up. No errors in browser. Module is not working.
-
@epi said in MMM-NetworkConnection:
Module is not working.
Uhh, I just installed it and it works just fine.

Post your config entry in a code block
-
That is very strange, as I see nothing. OK, my code
{ module: "MMM-NetworkConnection", position: "top_center", config: { updateInterval: 600000, maxTime: 5000, initialLoadDelay: 2500, decimal: 1, displayTextStatus: true, animationSpeed: 2500 } }, -
I copy and pasted your config entry and it fires right up. Did you follow the directions in the readme for installation and dependencies? Have you tried the module by itself? Have you modified any of the module files?
My terminal output upon launch:

-
@epi said in MMM-NetworkConnection:
module: “MMM-NetworkConnection”,
change in your config.js the name of the module from
module: "MMM-NetworkConnection",to
module: "MMM-NetworkConnections",I think that is your problem.
Sandy
-
Uhhh . . . . no.
-
@Sandy2503 I changed to “-s” and still did not work.
@Mykle1 I followed the installation guide, incl. the dependencies. I did not modify anything. I tried the module alone (all other cfg removed), still did not work for me.What is the installation folder for dependencies in your case?
-
Dependencies should be installed by running
npm installin the MMM-NetworkConnection directory -
Guys, can someone also make a simplified version? No need for internet speed metrics, just the ability to ping specific ip address and return as “internet is working” either “network down”?
-
@epi said in MMM-NetworkConnection:
Guys, can someone also make a simplified version? No need for internet speed metrics, just the ability to ping specific ip address and return as “internet is working” either “network down”?
Like this? https://github.com/sheyabernstein/MMM-connection-status
-
Thanks :)
-
@slametps here is the Italian translation if you want to add it.
{ "NETCONN_CONNECTED": "Connesso ad Internet", "NETCONN_NOTCONNECTED": "Nessuna connessione ad Internet", "NETCONN_MILLISECOND": "ms", "NETCONN_NA": "ND", "TXT_NETCONN": "CONNESSIONE DI RETE", "TXT_NETCONN_DESC": "mostra lo stato di connessione ad Internet" } -
@slametps I had long read at speedtest readme however I couldn’t figure out what to edit to have a different server selected as best/favourite server.
These are the details of the wanted server:
server url="http://speedtestrm1.telecomitalia.it/speedtest/upload.php" lat="41.9000" lon="12.5000" name="Rome" country="Italy" cc="IT" sponsor="Telecom Italia S.p.A." id="3243" host="speedtestrm1.telecomitalia.it:8080" -
@Cr4z33 said in MMM-NetworkConnection:
@slametps I had long read at speedtest readme however I couldn’t figure out what to edit to have a different server selected as best/favourite server.
These are the details of the wanted server:
server url="http://speedtestrm1.telecomitalia.it/speedtest/upload.php" lat="41.9000" lon="12.5000" name="Rome" country="Italy" cc="IT" sponsor="Telecom Italia S.p.A." id="3243" host="speedtestrm1.telecomitalia.it:8080"Currently, the module is using default test server provided by speedtest-net node module. You should modify node_helper.js to add your desired test server.
You can find how to add the options, in here. -
@slametps that is where I looked at, but then I didn’t understand what file and what lines to edit.
The problem is that the default server looks to be located in the US therefore showing a very high ping and low speed results isn’t really what someone is expecting from the module. ;)
-
@slametps at the end of the day I found finally some examples around, but everybody is reporting that setting a specific server somehow is not working (anymore?).
The line should look like
var test = speedTest({maxTime: 5000, serverId : "3243"});however this causes an error in node_helper.js at MM loading and the screen goes black until I end MM itself. :confused_face:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login