Read the statement by Michael Teeuw here.
Internet Monitor
-
@bhepler ok, I’m seriously missing something here…I removed the internet monitor folder and did a git pull from your page (https://github.com/BrianHepler/internet-monitor) and also cleared down my config.js to a simple config but it just doesn’t look right (see attached image) I’m missing the wifi symbol and it defaults to a speedtest server in Norway and not the one specified in the file (12667 in the US).
Please help, it’s slowly driving me insane.
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 24, units: "metric", modules: [ { module: 'internet-monitor', position: 'top_center', header: 'Internet Monitor', config:{ type: '', maxTime: '20000', updateInterval: '0', verbose: 'true', serverID: '12667', displayStrength: 'true', displaySpeed: 'true', strengthIconSize: '80', maxGaugeScale: '100', wifiSymbol:{ size: '50', fullColor: '#3afc25', almostColor: '#ffff0c', halfColor: '#ff8c00', noneColor: '#ff1111' }, }, } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
-
@nickthebeer - Dude I am so sorry! I just saw your post now. I don’t know why I didn’t get a notification. Let’s get you fixed up.
The problem is in the capitalization of the
ServerId
variable. You haveId
in all caps. It’s uppercase “I” and lowercase “d”. Copy & paste this:{ module: 'internet-monitor', position: 'top_center', header: 'Internet Monitor', config:{ type: '', maxTime: '20000', updateInterval: '0', verbose: 'true', serverId: '12667', displayStrength: 'true', displaySpeed: 'true', strengthIconSize: '80', maxGaugeScale: '100', wifiSymbol:{ size: '50', fullColor: '#3afc25', almostColor: '#ffff0c', halfColor: '#ff8c00', noneColor: '#ff1111' }, } },
-
Yeah I am not able to get the plain WiFi symbol to appear as well. The heading size responds to the new sizing of where a symbol should be, but no symbol appears.
-
I am also not getting the wifi icon to appear by itself. Hoping for an update/fix as I really love the idea of a wifi status icon on my MM.
-
@GoodWillGustin I’d like to have it also.
I experience some wifi disconnections and I sometimes notice it couple hours after the issue. So that would be great to have it on the mirror, just like on the graphical UI of the Pi. -
@mattx38 I have just the Wifi icon on my MM, can you paste your config and I’ll take a look to at it. Also I setup a little script to restart my networking in the event of disconnection which I can share if that’ll help?
-
Is the missing WiFi icon still an issue? I haven’t looked into that area of the code. If there seems to be a problem I can dive into it.
-
@bhepler I have the same problem, No Wifi icon. Have mirrors in MacOS and RPI and have same results.
-
All right, I’ll dive back into it and see if I can fix it.
Update: Some progress made but still a ways to go. I ended up refactoring a lot of the code.
-
Okay, I have completed my first pass at fixing the WiFi symbol. It works for me, so let’s see how it goes for you.
If you’re not using my repository, you’ll have to switch by deleting your
modules/internet-monitor
folder, cloning from my repository athttps://github.com/BrianHepler/internet-monitor
and then installing like normal. You’ll have tocd internet-monitor
and thennpm install
.If you’re already using my repository, just
cd MagicMirror/modules/internet-monitor
andgit pull
. It will probably tell you that you need to stashpackage-lock.json
. Just delete that file and try again.Warning: The custom WiFi icon doesn’t work yet. I got the default one to show up, but I’m still working on the one with the custom colors. But right now I want to verify that you guys can at least see the WiFi icon.