MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. loctruong96
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 7
    • Groups 0

    loctruong96

    @loctruong96

    7
    Reputation
    568
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    loctruong96 Unfollow Follow

    Best posts made by loctruong96

    • RE: Electron CPU usage

      OK, I can here by confirm that using MM 2.1.0 + Electron 1.4.15 improved performance massively. Each new transition now only uses 10-13% of CPU power (and very, very smooth). Even better than earlier report of 40%. For the specs of my pi 3 b
      hardware = BCM2835
      Revision = a02082
      micro sd card - 16gb - class 4 (that’s right, only 4)
      mouse + keyboard currently plugged in - no lag
      OS = RASPBIAN STRETCH WITH DESKTOP
      Thank you so much @Mykle1 for sharing your finding. Otherwise, I would be still trying to narrow down a potential work around.

      For those who not sure how to do this:

      1. Create a fresh install of RASPBIAN STRETCH WITH DESKTOP, connect to wifi, then run sudo apt-get update.
      2. sudo apt-get install npm
      3. sudo npm install electron@1.4.15 -g
      4. WAIT PATIENTLY FOR ELECTRON TO LOAD IN THE BACKGROUND
      5. a new line appear indicate electron has finished installing
      6. Go to your download folder, exact Magic Mirror 2.1.0
      7. Go to the newly exacted forlder, open another folder named config
      8. Change the file name Config.js.example to Config.js inside the config folder
      9. open terminal , cd Download/, cd MagicMirror-2.1.0, (OR whatever your location for the Magic Mirror 2.1.0 package is), npm install && npm start
        9.5 If encounter error “404”, try “npm install npm@latest -g” (NOTE: some users experienced issues since they do not have the latest npm as global variable) @Reotch2 @EventHorizon
      10. DONE!

      Hopefully I will be able to return my pi 3 for a better hardware version to use with the latest Magic Mirror package but here is an acceptable work around for the time being.

      posted in Troubleshooting
      L
      loctruong96
    • RE: Electron CPU usage

      @Reotch2 wow… it seems different people have different version of npm installed and you need the latest one. I will add that into the steps. Thank you for verifying. Good luck on your project!
      As for electron version you can confirm by trying “npm list -g” or “npm list” depend on global variable settings of your packages.

      posted in Troubleshooting
      L
      loctruong96
    • RE: Electron CPU usage

      Yeah, many didn’t update npm and have no problem whatsoever, only two users reported having 404 problem and only 1 user tried to npm install npm@latest -g and it worked for him. I made a note in my guide up in the thread in regard of this issue.

      posted in Troubleshooting
      L
      loctruong96

    Latest posts made by loctruong96

    • RE: Electron CPU usage

      Yeah, many didn’t update npm and have no problem whatsoever, only two users reported having 404 problem and only 1 user tried to npm install npm@latest -g and it worked for him. I made a note in my guide up in the thread in regard of this issue.

      posted in Troubleshooting
      L
      loctruong96
    • RE: Electron CPU usage

      @Mykle1 Agree, i was thinking the same thing. But some users are experiencing the problem where their npm failed to run install and start which i can only think of updating it which turned out to get it to work so far. I have also indicated a note in the install guide to have people aware of it.

      posted in Troubleshooting
      L
      loctruong96
    • RE: Electron CPU usage

      @Reotch2 wow… it seems different people have different version of npm installed and you need the latest one. I will add that into the steps. Thank you for verifying. Good luck on your project!
      As for electron version you can confirm by trying “npm list -g” or “npm list” depend on global variable settings of your packages.

      posted in Troubleshooting
      L
      loctruong96
    • RE: Electron CPU usage

      @Reotch2 hmmm can you try this: npm install npm@latest -g

      posted in Troubleshooting
      L
      loctruong96
    • RE: Electron CPU usage

      @Reotch2 Hello I think this happened because electron was not successfully installed using npm as a global variable. It happened to me too and i had to reinstall electron as a global variable which is the -g at the end is for. Can you confirm that you have successfully install electron ?

      posted in Troubleshooting
      L
      loctruong96
    • RE: Electron CPU usage

      OK, I can here by confirm that using MM 2.1.0 + Electron 1.4.15 improved performance massively. Each new transition now only uses 10-13% of CPU power (and very, very smooth). Even better than earlier report of 40%. For the specs of my pi 3 b
      hardware = BCM2835
      Revision = a02082
      micro sd card - 16gb - class 4 (that’s right, only 4)
      mouse + keyboard currently plugged in - no lag
      OS = RASPBIAN STRETCH WITH DESKTOP
      Thank you so much @Mykle1 for sharing your finding. Otherwise, I would be still trying to narrow down a potential work around.

      For those who not sure how to do this:

      1. Create a fresh install of RASPBIAN STRETCH WITH DESKTOP, connect to wifi, then run sudo apt-get update.
      2. sudo apt-get install npm
      3. sudo npm install electron@1.4.15 -g
      4. WAIT PATIENTLY FOR ELECTRON TO LOAD IN THE BACKGROUND
      5. a new line appear indicate electron has finished installing
      6. Go to your download folder, exact Magic Mirror 2.1.0
      7. Go to the newly exacted forlder, open another folder named config
      8. Change the file name Config.js.example to Config.js inside the config folder
      9. open terminal , cd Download/, cd MagicMirror-2.1.0, (OR whatever your location for the Magic Mirror 2.1.0 package is), npm install && npm start
        9.5 If encounter error “404”, try “npm install npm@latest -g” (NOTE: some users experienced issues since they do not have the latest npm as global variable) @Reotch2 @EventHorizon
      10. DONE!

      Hopefully I will be able to return my pi 3 for a better hardware version to use with the latest Magic Mirror package but here is an acceptable work around for the time being.

      posted in Troubleshooting
      L
      loctruong96
    • RE: Electron CPU usage

      @TiemenMoesker HOLY MOLLY, I am having this exact problem you guys are having. I double checked my hardware and revision. which are
      hardware =BCM2835
      Revision= a02082
      and I DO have this problem, it seems nothing you guys tried work except downgrade , so I’m going to ask arrow to send me a replacement since i actually ordered BCM2837 not BCM2835. Let’s hope it work out! (mean while I will try the downgrade option, seemed to improve performance drastically for others)

      posted in Troubleshooting
      L
      loctruong96