Read the statement by Michael Teeuw here.
cronjob vcgencmd display_power
-
@megagprime
Did you ever figure this out? I’m having the same issue -
@Nneuland nope, still no dice. building a new mm now, will update
-
@megagprime @Nneuland depending on the board firmware, the vcgencmd may or may not work
this was reported and worked thru in the fall.
see https://forum.magicmirror.builders/topic/17185/pir-sensor-problem-after-restart-raspi/20?_=1672509926391 -
@sdetweil hi there, i still dont see a fix or alternative workaround. The commands themselves work i just cant get it to work with cronjon :(
-
@megagprime what user is cron executing them as?
what user do you use when testing?
cron is root by default unless u add another parm for the username
-
@sdetweil i use sudo for cron and root vcgencmd display_power for the command.
no idea if i am doing this right but like i said, i used to work lol
-
@sdetweil i use sudo for cron and have tried root and just the vcgencmd, neither work
-
@megagprime I think vcgencmd needs a DISPLAY env variable
-
@sdetweil yes i use vcgencmd DISPLAY_POWER 0 or 1, like i said those commands work just fine just not in cron
-