• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Need help with internet monitor-module

Scheduled Pinned Locked Moved Solved Troubleshooting
20 Posts 5 Posters 8.6k 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.
  • D Offline
    doubleT Module Developer
    last edited by Jan 15, 2018, 3:37 PM

    I don’t see any problem with it. But to be on the safe side, I changed the single quotes in the config object for the internet-monitor to double quotes (as the rest of the file), what Schlachtkreuzer said. Again, shouldn’t be an issue – unless it’s conflicting with single quotes in a different place.

    ,{
        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"
            }
        }
    }
    

    What happens if you leave out that module? Does it work then?
    Are there any errors listed in the console where you start the mirror? Any errors listed in the browser’s console (if you start it with npm start dev)?

    1 Reply Last reply Reply Quote 0
    • S Offline
      schlachtkreuzer6
      last edited by schlachtkreuzer6 Jan 15, 2018, 5:30 PM Jan 15, 2018, 5:29 PM

      Try this

          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"
              }
          }
      }
      
      1 Reply Last reply Reply Quote 0
      • D Offline
        doubleT Module Developer
        last edited by doubleT Jan 15, 2018, 6:04 PM Jan 15, 2018, 6:02 PM

        That doesn’t make sense, the functions are expecting integer and boolean, not strings.

        But maybe I found something while checking the module’s readme for the variables and default config:

        “Please note that updateInterval has to be greater than maxTime”

        https://github.com/ronny3050/internet-monitor

        M 1 Reply Last reply Jan 15, 2018, 10:26 PM Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @doubleT
          last edited by Jan 15, 2018, 10:26 PM

          My config entry:

          {
          	    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,
                      }
          	},
          

          And my result:

          0_1516055182288_3.PNG

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • D Offline
            duedahlb @Mykle1
            last edited by Jan 16, 2018, 7:17 AM

            @Mykle1 I got it now! I just reinstalled it, tnx:)

            M 1 Reply Last reply Jan 16, 2018, 12:17 PM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @duedahlb
              last edited by Jan 16, 2018, 12:17 PM

              @duedahlb

              Well done, mate.

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • 1
              • 2
              • 2 / 2
              2 / 2
              • First post
                19/20
                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