Tom-Hirschberger / MMM-GPIO-Notifications

Magic Mirror² Module which sends custom notifications based on GPIO events
MIT License
13 stars 3 forks source link

Issues switching HDMI off on a PI3b #18

Closed Matzeonom closed 6 months ago

Matzeonom commented 7 months ago

Hi Tom,

thank you for the description. But just wanted to share my problem using all with my Pi3b, where the command vcgencmd display_power 0 is obviously not working.

After some "googling" I found this explaination: https://forums.raspberrypi.com/viewtopic.php?t=331817

Tried out xrandr --output HDMI-1 --off which works fine, but is not content of your MMM-GPIO-Notifications.

Now trying my best via this description: https://github.com/paviro/MMM-PIR-Sensor

Hope, that helps others...

Regards Matzeonom

Tom-Hirschberger commented 7 months ago

Hi,

you are right vcgencmd is not working with the default graphics stack of Bullseye and Bookworm. I wrote a wrapper which uses xrandr and can be used with my Screensave module...

https://github.com/Tom-Hirschberger/MMM-Screen-Powersave-Notification/tree/master/controlScripts

The Readme of the Screensave module shows how to use the wrapper.

Matzeonom commented 6 months ago

Hi Tom,

finally, I managed to follow the above description - IT WORKED !

Thank you very much and kind support - viele Grüße Matzeonom