MMM-PIR-Sensor icon indicating copy to clipboard operation
MMM-PIR-Sensor copied to clipboard

Monior wakes up But screen is black

Open Zimmerjo opened this issue 7 years ago • 13 comments

I've updated my Magic Mirror to the newest version. Bevor eveything was great and worked. Now I got the problem that after sleeping the Monitor turns on but the screen is black. I changed nothing more. Dou you have some ideas, whats wrong? Thank you

If i check with tvservice -s I got these answer when it's on: state 0x120006 [DVI DMT (83) RGB full 16:9], 1600x900 @ 60.00Hz, progressive and if it's off these: state 0x120002 [TV is off]

Zimmerjo avatar Jun 27 '17 12:06 Zimmerjo

Brand new install last night and I also get a black screen. Comment out the the config and it works. I can also issue the tvservice commands and the monitor responds accordingly.

pi@pi:~/MagicMirror/modules $ npm install
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/package.json'

bwente avatar Aug 11 '17 02:08 bwente

Thx for your advice. That's the way a I did but the Mointor is now always on... Dou you have another way to fix that ?

Zimmerjo avatar Sep 09 '17 14:09 Zimmerjo

Same issue here! After the module installation, my monitor is black. If I VNC on it, I can see my mouse

{ module: 'MMM-PIR-Sensor', config: { sensorPIN: 4 } },

godinperson avatar Oct 06 '17 19:10 godinperson

Hey, I had the same issue. Please replace the commands with exec("sudo vcgencmd display_power 1", null); to turn on and exec("sudo vcgencmd display_power 0", null); to turn it off.

SonnyX87 avatar Oct 17 '17 16:10 SonnyX87

Hi, I got the same problem on a raspy zero.

Where do I have to raplace this commands?

rowe2 avatar Dec 04 '17 21:12 rowe2

Hi, replace it like below.

File: node_helper.js Line 25 to 28 exec("sudo vcgencmd display_power 1", null);

File: node_helper.js Line 37 exec("sudo vcgencmd display_power 0", null);

SonnyX87 avatar Dec 05 '17 17:12 SonnyX87

new version of magic mirror having issue with this...older version was perfectly working

jinumohan173 avatar Feb 15 '18 15:02 jinumohan173

Hi, replace it like below.

File: node_helper.js Line 25 to 28 exec("sudo vcgencmd display_power 1", null);

File: node_helper.js Line 37 exec("sudo vcgencmd display_power 0", null);

ramymounir avatar Nov 06 '20 09:11 ramymounir

how do I edit the file node_helper.js? to replace the lines you are mentioning?

ramymounir avatar Nov 06 '20 09:11 ramymounir

I really cant understand how can someone write such an unclear message lol.

please replace the commands? what commands, where and how? how do I open the node helper.js and replace the commands? can you give us some steps?

ramymounir avatar Nov 07 '20 10:11 ramymounir

I really cant understand how can someone write such an unclear message lol.

please replace the commands? what commands, where and how? how do I open the node helper.js and replace the commands? can you give us some steps?

Hey, my comment is almost three years old!! I don't know if it still works.

And what kind of steps? How to find and open the file? The mentioned file is in the root of this project. You can open it for example with Visual Studio Code or another editor. Whether the lines I have mentioned are still correct, I have not checked now. But where you have installed MagicMirror, I don't know. Anyway, the extensions belong in the folder modules, which is located in the installation folder.

As I said, my solution is almost three years old. Whether the lines I have mentioned are still correct, I have not checked now. As I said, my solution is almost three years old and might not work at all.

SonnyX87 avatar Nov 09 '20 05:11 SonnyX87

It doesn’t mate I tried Unfortunately not

On Nov 9, 2020, at 7:24 AM, Stephan Balsam [email protected] wrote:

 I really cant understand how can someone write such an unclear message lol.

please replace the commands? what commands, where and how? how do I open the node helper.js and replace the commands? can you give us some steps?

Hey, my comment is almost three years old!! I don't know if it still works.

And what kind of steps? How to find and open the file? The mentioned file is in the root of this project. You can open it for example with Visual Studio Code or another editor. Whether the lines I have mentioned are still correct, I have not checked now. But where you have installed MagicMirror, I don't know. Anyway, the extensions belong in the folder modules, which is located in the installation folder.

As I said, my solution is almost three years old. Whether the lines I have mentioned are still correct, I have not checked now. As I said, my solution is almost three years old and might not work at all.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ramymounir avatar Nov 09 '20 08:11 ramymounir

Is there any fix to this yet? I'm having the same issue.

ArtofWar-dev avatar Jul 02 '21 21:07 ArtofWar-dev