MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-NetworkConnection

    Scheduled Pinned Locked Moved Utilities
    19 Posts 8 Posters 11.0k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      epi
      last edited by

      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”?

      yawnsY 1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator @epi
        last edited by

        @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

        1 Reply Last reply Reply Quote 1
        • E Offline
          epi
          last edited by

          Thanks :)

          1 Reply Last reply Reply Quote 0
          • Cr4z33C Offline
            Cr4z33 @slametps
            last edited by

            @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"
            }
            
            
            1 Reply Last reply Reply Quote 0
            • Cr4z33C Offline
              Cr4z33 @slametps
              last edited by

              @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"
              
              slametpsS 1 Reply Last reply Reply Quote 0
              • slametpsS Offline
                slametps @Cr4z33
                last edited by

                @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.

                regards,

                Slamet PS

                Cr4z33C 1 Reply Last reply Reply Quote 0
                • Cr4z33C Offline
                  Cr4z33 @slametps
                  last edited by

                  @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. ;)

                  Cr4z33C 1 Reply Last reply Reply Quote 0
                  • Cr4z33C Offline
                    Cr4z33 @Cr4z33
                    last edited by Cr4z33

                    @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:

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 2 / 2
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy