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

Module Developer Challenge - I surrender!

Scheduled Pinned Locked Moved Solved Development
33 Posts 6 Posters 16.8k Views 5 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.
  • C Offline
    cowboysdude Module Developer
    last edited by Feb 17, 2018, 12:06 AM

    He can’t it’s a secret HAHHAHAHAHHA

    M 1 Reply Last reply Feb 17, 2018, 3:43 AM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer
      last edited by Mykle1 Feb 17, 2018, 3:39 AM Feb 17, 2018, 3:36 AM

      I would like to thank everyone that gave me suggestions and advice. I really do appreciate the support.

      I ended up using a combination of 2 npm packages. pc-stats and sensors.js. My first time building a module from an npm package, and then adding a second to the same module confused me quite a bit. That, and my lack of any real coding experience, found me at a standstill.

      Well, once again, @cowboysdude took pity on me. He took the time to teach me where I went wrong, and what I was missing, and what I didn’t need. Maybe I won’t retain everything that he taught me but I will certainly remember his kindness and generosity. His patience is astonishing. :-)

      https://github.com/mykle1/MMM-PC-Stats

      Now I just need some formatting if anyone cares to assist me with that. Anyway, here’s a quick shot. Ideally, I would like to move the Core temps to right, just under the video card temp

      0_1518838594897_1.png

      Create a working config
      How to add modules

      N 1 Reply Last reply Feb 17, 2018, 4:06 AM Reply Quote 1
      • M Offline
        Mykle1 Project Sponsor Module Developer @cowboysdude
        last edited by Feb 17, 2018, 3:43 AM

        @cowboysdude said in Module Developer Challenge - I surrender!:

        He can’t it’s a secret HAHHAHAHAHHA

        My code (if you can even call it that) is never a secret. It’s more like an embarrassing teenager moment. ;-)

        However, I do enjoy learning and I do appreciate you taking the time to teach me. You’re a damn good dude! :-)

        Create a working config
        How to add modules

        E 1 Reply Last reply Feb 17, 2018, 1:58 PM Reply Quote 1
        • N Offline
          ninjabreadman @Mykle1
          last edited by Feb 17, 2018, 4:06 AM

          @Mykle1 Glad to hear you got it working!

          Is this your dev environment? Or do you really have an i7 780, GTX 660 and 16Gb running MM? At least it can run MMM-Globe!

          Problem with config or JavaScript? Copy/paste it into JSHint.
          Check out the detailed walkthroughs on install, config, modules, etc.

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

            @ninjabreadman said in Module Developer Challenge - I surrender!:

            Glad to hear you got it working!

            Thanks ninja. Your suggestions pointed me in the right direction, but even then I was at a loss on how to proceed. @cowboysdude deserves all the credit, though. He took the time to explain things to me.

            Is this your dev environment? Or do you really have an i7 780, GTX 660 and 16Gb running MM? At least it can run MMM-Globe!

            This is my dev machine. It dual boots Windows and ubuntu. I found it on craigslist, although it came with 8GB of RAM. Luckily for me, it wouldn’t boot when I went to buy it so I stole it for $80 and had it up and running in minutes after getting it home.

            MMM-Globe! Yes, very nice module. Stunning graphics. But I prefer MMM-EARTH with an animation speed of 0 and a rotate interval of 1000. Also challenging for a Pi but the laptop boards I use handle it nicely and I get the most recent images of Earth. I’ve seen hurricanes develop and an eclipse. Pretty spectacular stuff. :-)

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 1
            • E Offline
              E3V3A @Mykle1
              last edited by E3V3A Feb 17, 2018, 1:59 PM Feb 17, 2018, 1:58 PM

              @Mykle1 I love seeing all the progress and work you put into your module development. I must say, as an old time computer fanatic, I’m very impressed with your progress. I’m totally new to MM and still find the node/electron/express framework a rather challenging learning experience. I’ve done some fair amount of rather advanced R&D and bare-metal programming and hacking, and never expected that something based on JS, would be the thing to slow me down! Boy was I wrong and full respect to all those dev’s here, who are able to produce such nice work. I guess it again proves that technical skills without creativity is useless.

              As for the Module, IMHO each individual core Temp is not a very interesting parameter, because of load-balancing. Unless you have a faulty core or are explicitly telling your machine to be running certain processes on a single core. In addition, because of how heat is distributed rather evenly throughout the chip dye, you’d never see much difference than a few degrees, so I would rather average the core temps into one, and possibly show the divergence of them. (I.e. the greatest % difference from the average.)

              "Everything I do (here) is for free – altruism is the way!"
              MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

              C M 2 Replies Last reply Feb 17, 2018, 3:11 PM Reply Quote 1
              • C Offline
                cowboysdude Module Developer @E3V3A
                last edited by Feb 17, 2018, 3:11 PM

                @E3V3A That’s the beauty of a module. A developer builds how he wants it to work for himself then shares it with others :) The BEST thing about that is it’s open source so anyone can modify it to fit their own needs… I’ve done that several times and that’s what makes this so much fun! :)

                M 1 Reply Last reply Feb 17, 2018, 5:35 PM Reply Quote 1
                • M Offline
                  Mykle1 Project Sponsor Module Developer @E3V3A
                  last edited by Feb 17, 2018, 5:33 PM

                  @E3V3A said in Module Developer Challenge - I surrender!:

                  I’m very impressed with your progress.

                  I appreciate that. Frankly, I’m amazed that I’ve gotten any of my modules to work. I joined this forum 13 months ago without the slightest idea of what linux or a raspberry pi even was. I realized quickly enough that I wanted to learn how things worked and started reading and asking questions. With the help of some very nice people I was able to make my first module, MMM-Cocktails. At this point, I was totally hooked. It’s still magic to me and I enjoy every minute of the learning process.

                  Create a working config
                  How to add modules

                  C 1 Reply Last reply Feb 18, 2018, 3:02 AM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @cowboysdude
                    last edited by Feb 17, 2018, 5:35 PM

                    @cowboysdude said in Module Developer Challenge - I surrender!:

                    that’s what makes this so much fun! :)

                    Damn good fun, bro! :-)

                    Create a working config
                    How to add modules

                    M 1 Reply Last reply Feb 17, 2018, 6:21 PM Reply Quote 1
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @Mykle1
                      last edited by Feb 17, 2018, 6:21 PM

                      Did some preliminary css work on the module. This is pretty much how I envisioned it. I’m satisfied. Thanks again to everyone that advised me.

                      0_1518891672467_2.png

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      3 / 4
                      • First post
                        27/33
                        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