I found a display (touchscreen) to setup a family dashboard and i`m making babysteps to get it going again after a long time of trying out MagicMirror
I did get this module to work and most of the buttons in HomeAssistant work, but since i`m using a GigabyteBrix debian12 pc the screen off and on does not work.
This however is working to get the screen on/off
apt install vbetool
root@debian:~# sudo vbetool dpms off
root@debian:~# sudo vbetool dpms on
root@debian:~# cat /etc/sudoers.d/magicmirror
magicmirror ALL=(ALL) NOPASSWD: /usr/bin/vbetool
root@debian:~#
So i changed the on off command to
/usr/bin/sudo /usr/bin/vbetool dpms off
/usr/bin/sudo /usr/bin/vbetool dpms on
But it stops working as soon as i start the MagicMirror using PM2 and i`m not sure why.
Are there any other options?