sdetweil / MMM-Config

testing
29 stars 3 forks source link

Blank Screen after using MMM.Config #37

Closed Ragziesoft closed 7 months ago

Ragziesoft commented 1 year ago

I recently added the MMM-Config module to my existing Config.js file. After that I invoked the config html page to configure additional pages . The config.js file gets reformatted nicely, but does not add the changes made. However, when I restart the MM with the updated config.js file , I am encountering an issue wherein the Magic Mirror Display goes blank and does not display any module on any page, except the page indicator at the bottom which continues to switch from page to page but with no display of page contents(Modules). npm run config:check does not throw up any error. How to resolve the issue.

Ragziesoft commented 1 year ago

Well the issue was not completely resolved. With the new config.js, the display blanks out momentarily and intermittently ( for a second and then comes on again but repeats randomly) . The PIR sensor module has a comment which used to pops up randomly during the blanking out. So i commented out the two lines. Now the message does not show but however, it has not resolved it, as the random screen blanking continues. "// powerSavingNotification: true, // powerSavingMessage: "No presence detected monitor will be turned off" The PIR sensor is behaving okay as it should no issues there. I could not find out what is the bug.

The second issue was that i tried creating an additional page using config webpage which successfully accepted changes after i i clicked the save button, I did a pm2 restart mm but no changes were made in the config.js file.

save save2 save3

SO i had to revert back to the old working config.js.

sdetweil commented 7 months ago

i'm going to close this.. so many changes since then...