So it is definetly related to either pm2 or the MM application.
If i stop the mirror with “pm2 stop mirror.sh” the normal pi desktop is shown and the screen does not go offline.
The status light of the monitor is always “online”, even if there is no picture shown anymore.
I can always revive the screen (for some minutes) with the above bash script.
I really can’t get it, whats causing this.
i checked the crontab -e file (also as sudo) there is just a
@reboot script for the mirror to autostart after a reboot
and two scripts for switching the monitor off at 10pm and switch on at 6.45am. This is working.
Any suggestions?
It started after testing with a pir sensor. This sensor is meanwhile disconnected physically.