Where do you paste that code? config.js?
Read the statement by Michael Teeuw here.
Posts
-
RE: High CPU load of electron and MM freezes
Thanks all for the input,
I have done some more testing, and while trying out some settings for MMM-PIR-Sensor module, I saw that the CPU load is close to zero when MagicMirror i minimized, and buck up on 60-70 when maximized or full screen.
So it should not be any module doing this, rather something to do with the window, refresh rate other other graphic related issue? -
RE: High CPU load of electron and MM freezes
Did it again to be sure, but no change.
Thanks for the suggestion.
Any other ideas?
-
High CPU load of electron and MM freezes
Hi
I have noticed that MM freezes some times and electron is consuming 70-80% of the CPU.
I think these are releted somehow.
I tried to reinstall dependancies with “git pull && npm install”everything goes fine until the end when I get
“npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.”error message. Dont know if that is related to electron high CPU load.
Anyone recognize these errors?
-
RE: Pull older commit
Thanks for your response. Tried and failed, feel like a total noob here…
I stand in “/MagicMirror/modules/MMM-PIR-Sensor”
and write:git checkout [849398de01f7cecdb330148d7ee70fc38b02af7c] .
trying to get this commit…
https://github.com/paviro/MMM-PIR-Sensor/commit/849398de01f7cecdb330148d7ee70fc38b02af7cWhat am I doing wrong?
-
Pull older commit
Hi
I am having trouble with MMM-PIR-Sensor module since I updated to a newer commit in early July.
I would like to pull an older release of the module, i.e. a version released in July 2017. Can I use the hash code in some way to pull that specific commit?How would that syntax look like?
Thanks in advance.