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

Turn on display

Open ostfilinchen opened this issue 6 years ago • 2 comments

Hi, if the Display turns off and then it should turned on, the Display is black.

So can you Change the Default Display on and off files to this:

on: /usr/bin/vcgencmd display_power 1

off: /usr/bin/vcgencmd display_power 0

Thanks Daniel

ostfilinchen avatar Jul 28 '18 21:07 ostfilinchen

Hi, as tvservice works fine for my setup I would like to keep that script. However we can add an option to use vcgencmd instead. I am thinking something like a displayMethod property that you can set in your config. I am pretty busy at the moment, but I will look into this as soon as I find the time. If you like you can implement the changes yourself and start a PR.

Cheers Miklas

mboskamp avatar Aug 06 '18 07:08 mboskamp

I manually modified the displayOff.sh and displayON.sh from

tvservice -o to

vcgencmd display_power 0

so the module works with the full KMS OpenGL driver. it works quite nice

Kugelfang666 avatar Apr 05 '19 05:04 Kugelfang666