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.

    Internet Monitor

    Scheduled Pinned Locked Moved Utilities
    108 Posts 27 Posters 145.7k Views 30 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @ronny3050
      last edited by yawns

      @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
      

      Create a working config
      How to add modules

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        ronny3050 Module Developer @Mykle1
        last edited by

        @Mykle1 Could you run the following?
        pm2 flush
        pm2 logs and wait for a couple of minutes of log?

        Thanks!

        Mykle1M 1 Reply Last reply Reply Quote 1
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @ronny3050
          last edited by Mykle1

          @ronny3050 wait for it to complete doing something? Will it stop by itself or I have to do something?

          If so, what do I have to do?

          It’s running now

          Create a working config
          How to add modules

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            ronny3050 Module Developer @Mykle1
            last edited by

            @Mykle1 yes, after typing pm2 logs it will update logs realtime so then you can post it here. I am wondering what exactly crashes your mirror inside my module.

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @ronny3050
              last edited by

              @ronny3050 ok, I’m waiting for it to complete

              Create a working config
              How to add modules

              Mykle1M 1 Reply Last reply Reply Quote 1
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @Mykle1
                last edited by

                I’ve been waiting for 34 minutes and nothing has happened. My console still reads:

                [STREAMING] Now streaming realtime logs for [all] processes.

                Am I supposed to do something? run MM with your module perhaps? You didn’t say

                Create a working config
                How to add modules

                Mykle1M 1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer @Mykle1
                  last edited by yawns

                  Well, I waited over and hour, staring at the console, and nothing happened since I ran:
                  pm2 flush
                  pm2 logs

                  Here is what I’ve been staring at:

                  pi@Pi3:~ $ pm2 flush
                  [PM2] Flushing /home/pi/.pm2/pm2.log
                  [PM2] Flushing
                  [PM2] /home/pi/.pm2/logs/mm-out-0.log
                  [PM2] /home/pi/.pm2/logs/mm-error-0.log
                  [PM2] Logs flushed
                  pi@Pi3:~ $ pm2 logs
                  [TAILING] Tailing last 10 lines for [all] processes (change the value with --lines option)
                  /home/pi/.pm2/pm2.log last 10 lines:
                  /home/pi/.pm2/logs/mm-out-0.log last 10 lines:
                  /home/pi/.pm2/logs/mm-error-0.log last 10 lines:
                  [STREAMING] Now streaming realtime logs for [all] processes
                  

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @cowboysdude
                    last edited by

                    @cowboysdude said in Internet Monitor:

                    I tell you what I’d do before I tried it again… backup my sd card

                    Done. I made two backups of my SD card. One locally and one on my backup server. While that was going on I installed a fan on my Pi. I have spare parts lying around. Good little mini project while I waited for the backups. Now my Pi runs at 35 C, down from 60 C. Sweet.

                    Create a working config
                    How to add modules

                    cowboysdudeC 1 Reply Last reply Reply Quote 1
                    • cowboysdudeC Offline
                      cowboysdude Module Developer @Mykle1
                      last edited by

                      @Mykle1 That’s a great idea that I should probably do as well… adding the fan!!!

                      1 Reply Last reply Reply Quote 0
                      • pjkoelemanP Offline
                        pjkoeleman
                        last edited by

                        @Mykle1 said in Internet Monitor:
                        @ronny3050 thanks for a nice Monitor, i love the wifi indicator.

                        You asked for wishes for the Internet Monitor.
                        I have been looking in the code if it is possible to give te wifi indicators some color.
                        Making strength_full.png green, strength_almost yellow, strength_half orange and strength_non.png red. Would love to see this as an config option of in the my custom.css.

                        Is there a way to do this?

                        A 1 Reply Last reply Reply Quote 1
                        • A Offline
                          Advokaten @pjkoeleman
                          last edited by

                          @pjkoeleman is this module working for you? I can’t get it to work :(

                          pjkoelemanP 1 Reply Last reply Reply Quote 1
                          • pjkoelemanP Offline
                            pjkoeleman @Advokaten
                            last edited by

                            @Advokaten Yes it’s just working as discribed. Here is my part off config.js for the Internet Monitor.

                            {
                              Module: 'internet-monitor',
                              position: 'bottom_right',
                              config: {
                                type: 'minimal',
                                maxTime: 10000,
                                updateInterval: 120000,
                                verbose: false,
                                displayStrength: true,
                                displaySpeed: false,
                                strengthIconSize: 40,
                                maxGaugeScale: 25
                              }
                            },
                            

                            Now I want to bring a little color to the wifi indicator.

                            A 1 Reply Last reply Reply Quote 1
                            • A Offline
                              Advokaten @pjkoeleman
                              last edited by

                              @pjkoeleman Thank you! Using your config lines made it work somehow! I am too interested in changing color of the wi-fi strength png’s. I tried changing all the white levelColors without success. Don’t know what is turning the strength bars into a white color :( Anybody who could help us out? Thanks.

                              R pjkoelemanP 2 Replies Last reply Reply Quote 1
                              • R Offline
                                ronny3050 Module Developer @Advokaten
                                last edited by ronny3050

                                @pjkoeleman @Advokaten try changing type in config to type: '' from type: 'minimal'.
                                Also, thank you for the kind words! :)

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Advokaten @ronny3050
                                  last edited by

                                  @ronny3050 I’m sorry. I don’t understand if this made any difference other than it took some extra time to load the indicator. Is there a way to change colors in the css file now or what…? Sorry once more for being such a nublet and thank you for taking your time to do stuff like this!

                                  R 1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    ronny3050 Module Developer @Advokaten
                                    last edited by

                                    @Advokaten @pjkoeleman Silly me, I am sorry, I thought you requested colors for the speed gauges, which are already there. As for colors for the wifi strength indicator, there are two ways:

                                    1. CSS coloring (you have complete control over the colors)
                                    2. Pre-made images with different colors (colors chosen by me).

                                    I am sure 1 would be preferred. I will get back to you in a little bit with my progress on this. Thank you very much for suggesting this.

                                    A pjkoelemanP 2 Replies Last reply Reply Quote 2
                                    • cowboysdudeC Offline
                                      cowboysdude Module Developer
                                      last edited by

                                      Yes #1 preferred ;)

                                      R 1 Reply Last reply Reply Quote 1
                                      • R Offline
                                        ronny3050 Module Developer @cowboysdude
                                        last edited by

                                        @cowboysdude Usually preferred = harder ;)

                                        cowboysdudeC strawberry 3.141S 2 Replies Last reply Reply Quote 1
                                        • cowboysdudeC Offline
                                          cowboysdude Module Developer @ronny3050
                                          last edited by

                                          @ronny3050 said in Internet Monitor:

                                          @cowboysdude Usually preferred = harder ;)

                                          LOL yeah me too but for once thought I’d go the easier route…

                                          1 Reply Last reply Reply Quote 1
                                          • A Offline
                                            Advokaten @ronny3050
                                            last edited by Advokaten

                                            @ronny3050 Option 1 would be quite amazing, yes! Another question, would it be possible to remove everything in the module except for the wi-fi indicator part, to make it smaller and quicker (maybe easier to configure for nubs like me)? Like remove all unnecessary files and coding. I’m afraid I’ll break it if I tinker with it lol.

                                            R 1 Reply Last reply Reply Quote 1

                                            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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 1 / 6
                                            • 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