MMM-PIR
MMM-PIR copied to clipboard
Turn on display
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
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
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