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.

    Extension of MMM-Tools (Bugsounet)

    Scheduled Pinned Locked Moved Development
    30 Posts 6 Posters 7.3k 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.
    • ? Offline
      A Former User
      last edited by

      This is current information and visual fetched in my dev branch

      Raspberry:

      Screenshot_20200818_153056.png

      My dev platform:

      Screenshot_20200818.png

      Of course, you can hide, if you want, not needed partitions info.
      if you have multiple network, the default network is represented with a star

      • You can try the dev branch with this command:

      (assumed that v1 is installed)

      cd ~/MagicMirror/modules/MMM-Tools
      git checkout -f dev
      npm install
      
      • to return to v1:
      cd ~/MagicMirror/modules/MMM-Tools
      git checkout -f master
      npm install
      

      do not hesitate to give me feedback.
      if any other informations is missing, just tell me :)

      M 1 Reply Last reply Reply Quote 1
      • M Offline
        MiPraSo @Guest
        last edited by

        @Bugsounet

        Looks good…
        Here’s some issues:

        1. Is there an example for the config.cfg?
        2. The alignment is now right again, in the old version I was able to adjust it to the left?
        3. How do I get the display wider, in the old version I could adjust it?
        4. How can I change the label, from UPTIME to Laufzeit or *LAN to eth0?
        5. And what are “Go” and “Mo” which should be about “GB” and “MB”?

        Regards,

        Michael

        MMM-ToolsV2.PNG

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by

          1. I force all value to display, I don’t really add some feature to personalize actually
            you can’t actually config:
            recordUptime: true, to record and display : record uptime
            partitionExclude : [], fo exclude partition to display
            sample: partitionExclude : [ "/boot" ], if you don’t want display info about /boot partition

          2. I have to ajust css code

          3. not coded yet (personal feature will be coded in the end)

          4. I’m trying to do a translation file (wait a while ;) )
            just tell me what value to translate (and translation needed)
            For Lan to eth0. I have fetch the name info by not displayed actually (because in my dev the WLAN interface have a very very long name)
            so i have planned a feature for name choice displaying (native or WLAN/LAN)

          5. I will do dual code (actually it’s a test)

          I will be back to you when i have done some totentials change

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by A Former User

            Yeah !

            • I have just commit some change on dev branch
            • I add the new configuration part in Readme
            • I correct some css code
            • I correct unit Go to Gb
            • added translation file (de too)
              actually supported : en, fr, de (thx to @lxne), id (80% done) and sv (thx to @el97 from github), it (thx to @MrDondoT from github)
              I can add other language just help me to do the translate file
            • added telegramBot command /status

            MagicMirror:

            TelegamBot:

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by

              new change:
              useMagicMirror: true, in UPTIME: {}
              for choice of system uptime (since boot) or magic mirror uptime

              1 Reply Last reply Reply Quote 0
              • R Offline
                robertybob
                last edited by

                I’m liking these developments, I’m watching with great interest :)

                1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by A Former User

                  I finalize ;) and go to master !

                  You can try it, if you want

                  cd ~/MagicMirror/modules
                  git clone -b dev https://github.com/bugsounet/MMM-Tools
                  cd MMM-Tools
                  npm install
                  

                  and read the dev readme for config

                  Edit for ALL!

                  • Dev is now freeze and waiting for YOUR debug, corrects or additions
                  • For me it’s ready for release :)
                  • Give me your Feedback !
                  • I can display all user connected but … really interesting, i don’t know ??
                  • Maybe i have forget something ?

                  I do this module for you !
                  actually for my usage, it’s ok
                  so tell me what do you want to display ;)

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by

                    So ?

                    Added : MMM-TelegramBot warning (wanted by @lxne)
                    Modified translation: it (thx @Cr4z33) , de (thx @lxne)

                    Can I Release it ? nothing else to add ?

                    R 1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by

                      MMM-Tools v2.0.0 is now Released !

                      Please Read wiki for new configuration

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        robertybob @Guest
                        last edited by

                        @Bugsounet I will download it this week and report back ! :D

                        1 Reply Last reply Reply Quote 0
                        • ? Offline
                          A Former User
                          last edited by A Former User

                          no problem, in all case, I release it (It is necessary, otherwise I will never do it!)

                          It’s not because I’m releasing that I’m going to drop the project!
                          if necessary I will add new request or correct some bug (maybe if happen)

                          when i promise something i try to do my best for you all ! :)

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            MrDondoT
                            last edited by MrDondoT

                            @Bugsounet - fyi using the module with MMM-TelegramBot happens that “The usage of CPU is …” over 100% (129 percent), I even got 238 percent

                            1 Reply Last reply Reply Quote 0
                            • ? Offline
                              A Former User
                              last edited by

                              yes i know, i try an average value of cpu usage, i don’t know about the unit return value … I have X100 value but i think it’s not that

                              so disable it (set it to 0), i will see

                              1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User
                                last edited by A Former User

                                so … what is he unit of this:
                                load average: 0,97, 0,72, 0,62

                                i see some value > 1.5
                                so it’s not in %

                                I don’t want to check with the actual CPU usage value, because it’s not for a warning. i think average is a good choice but … my npm library for average not works like I want … humm

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @Guest
                                  last edited by

                                  @Bugsounet remember there are multiple cores. all at 100% usage is maybe 200%

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • ? Offline
                                    A Former User
                                    last edited by A Former User

                                    so … RPI have 4 cores => can display 400% ?

                                    if it’s that … I have to determinate the number of core (the npm libray can do that)
                                    and divide the result by the number of cores

                                    something like that :
                                    avg = (averageValue * 100) / nbCore

                                    1 Reply Last reply Reply Quote 0
                                    • ? Offline
                                      A Former User
                                      last edited by

                                      So:

                                      avg = (averageValue * 100) / nbCore —> don’t working

                                      I have coded my own method
                                      I take 10 last values to do an average
                                      now it’s works and fixed with v2.0.1 :)

                                      M 1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        robertybob
                                        last edited by

                                        This post is deleted!
                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          robertybob
                                          last edited by

                                          I’ve installed this and everything seems to be working fine :)

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            MrDondoT @Guest
                                            last edited by

                                            @Bugsounet :thumbs_up: installed and it works great!

                                            1 Reply Last reply Reply Quote 0

                                            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
                                            • 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