Read the statement by Michael Teeuw here.
Internet Monitor
-
-
Ive done quite a bit of testing and on the Zero this module really slows down my startup, and seems to cause a few other modules trying to connect to the internet to take forever to load, or timeout (i.e TubeStatus). Increases my startup from less than a minute to a few minutes. Im not really sure why, but as soon as i disable everything goes back to being smooth.
-
Really nice!! Now I can put just the indicator on my mirror and it’s a great way to make sure you’re connected!!! Thanks!!
-
I played with this module the better part of this afternoon and it crashed my MM every time. I tried different positions, verbose and minimal, indicator enabled and not, maxTime I left at default (20000) with updateInterval ranging from 40000 -100000. displayStrength on and off and displaySpeed on and off. I gave up before changing anything in strengthIconSize and maxGaugeScale. Each time it would try to load and then freeze and lock up MM, forcing me to switch the power off because MM could unresponsive and could not be quit. Upon restarting, I would have to quickly run VNC, open the terminal and “pm2 stop mm” before it would launch again and crash again.
I really love the idea of this module and I would like to have it on my mirror. Any ideas?
Pi 3, Jessie
-
@Mykle1 I’ll try it on mine… I’ll let you know what happens… I mean mine is pretty much setup like yours [layout wise :)]…
Ok put in my mirror [I was just using in my dev at first] …
It makes things load slower but it does load…
-
@cowboysdude said in Internet Monitor:
Ok put in my mirror [I was just using in my dev at first] …
It makes things load slower but it does load…Hmm, well, it’s not happening for me. I want it so bad that I invested a lot of time with it today, but to no avail.
You’re just using the defaults? Because those didn’t work for me either, right from the get go.
-
@Mykle1 It’s strange that it’s not loading at all and @cowboysdude thank you for your kind words, but I am upset that it is loading slow now. I could try and optimize a little and check with you, if that’s okay?
@Mykle1 could you post
pm2 logs? -
@ronny3050 said in Internet Monitor:
@Mykle1 could you post pm2 logs?
I could, if I knew how. I hope it doesn’t involve trying to run the module again. :-/ Please advise
-
@ronny3050 I don’t think it’s your module … I honestly believe that everything I’m loading is coming from an outside source as well so again I don’t believe it’s strictly your module :) I just think my mirror is away from my router and it takes a minute to shoot the info back [Ie news module, horoscope, globe data, weather]… :)
-
@Mykle1 You could run it without he module to see what happens. I tell you what I’d do before I tried it again… backup my sd card :)
The only thing I’m not loading that you are is the plantrise stuff didn’t need it… but other than that we are running almost identical.
-
@cowboysdude said in Internet Monitor:
@Mykle1 You could run it without he module to see what happens. I tell you what I’d do before I tried it again… backup my sd card :)
The only thing I’m not loading that you are is the plantrise stuff didn’t need it… but other than that we are running almost identical.
My mirror runs perfectly without the internet-monitor. It is only when I introduce that to my setup that things go south. Of course we’re running almost identical, you’re using my config. ;-) My project for today is backup my SD card so thanks for that suggestion.
@ronny3050 said in Internet Monitor:
@Mykle1 could you post pm2 logs?
If someone would tell me how to find the pm2 logs I will post them
-
@Mykle1 I think they are here if I’m not mistaken:
/root/.pm2/logs/
-
@cowboysdude said in Internet Monitor:
/root/.pm2/logs/
Thanks bro, I’ll look into that in a little while
-
@Mykle1 As I posted up above, seems like others are having the same issue. I noticed that in the logs the internet monitor is posting the speed every few seconds so I was thinking this was a probably cause?
Though the amount of slowdown just to show the wifi indicator was a little too much
-
@cowboysdude said in Internet Monitor:
/root/.pm2/logs/
when I try cd root it says permission denied. I tried sudo cd root and it said bad command.
So, how do I get to the logs so I can post them?
-
@Mar said in Internet Monitor:
@Mykle1 As I posted up above, seems like others are having the same issue. I noticed that in the logs the internet monitor is posting the speed every few seconds so I was thinking this was a probably cause?
Though the amount of slowdown just to show the wifi indicator was a little too much
My problem isn’t slowdown, it’s crashing my MM2 (see previous post) so I’m trying to get the the logs so I can post them and perhaps get a fix. Also, I’m on a Pi3
-
@Mykle1 run
pm2 logsfrom the terminal. -
This post is deleted! -
@ronny3050 - this is what I got when I ran pm2 logs
[TAILING] Tailing last 10 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/logs/mm-error-0.log last 10 lines: 0|mm | npm ERR! npm bugs magicmirror 0|mm | npm ERR! Or if that isn't available, you can get their info via: 0|mm | npm ERR! npm owner ls magicmirror 0|mm | npm ERR! There is likely additional logging output above. 0|mm | 0|mm | npm ERR! Please include the following file with any support request: 0|mm | npm ERR! /home/pi/MagicMirror/npm-debug.log 0|mm | ERROR! Could not find main module js file. 0|mm | ERROR! Could not find main module js file. 0|mm | ERROR! Could not find main module js file. /home/pi/.pm2/logs/mm-out-0.log last 10 lines: 0|mm | Starting module: newsfeed 0|mm | Sockets connected & modules started ... 0|mm | Launching application. 0|mm | Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000 0|mm | Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/themykle%40themykle.com/private-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/basic.ics - Interval: 300000 0|mm | Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 0|mm | 0|mm | > magicmirror@2.1.0 start /home/pi/MagicMirror 0|mm | > electron js/electron.js 0|mm | [STREAMING] Now streaming realtime logs for [all] processes -
@Mykle1 Could you run the following?
pm2 flush
pm2 logsand wait for a couple of minutes of log?Thanks!
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