• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

cronjob vcgencmd display_power

Scheduled Pinned Locked Moved Unsolved Troubleshooting
15 Posts 4 Posters 3.4k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    megagprime @sdetweil
    last edited by Jan 12, 2023, 3:03 PM

    @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

    1 Reply Last reply Reply Quote 0
    • M Offline
      megagprime @sdetweil
      last edited by megagprime Jan 12, 2023, 7:00 PM Jan 12, 2023, 6:54 PM

      @sdetweil i use sudo for cron and have tried root and just the vcgencmd, neither work

      S 1 Reply Last reply Jan 12, 2023, 10:02 PM Reply Quote 0
      • S Offline
        sdetweil @megagprime
        last edited by Jan 12, 2023, 10:02 PM

        @megagprime I think vcgencmd needs a DISPLAY env variable

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        M 1 Reply Last reply Jan 13, 2023, 1:43 PM Reply Quote 0
        • M Offline
          megagprime @sdetweil
          last edited by Jan 13, 2023, 1:43 PM

          @sdetweil yes i use vcgencmd DISPLAY_POWER 0 or 1, like i said those commands work just fine just not in cron

          S 1 Reply Last reply Jan 13, 2023, 9:56 PM Reply Quote 0
          • S Offline
            sdetweil @megagprime
            last edited by Jan 13, 2023, 9:56 PM

            @megagprime https://forum.magicmirror.builders/topic/16865/mmm-remotecontrol-or-vcgencmd-issue/5?_=1673646835489 maybe

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • 1
            • 2
            • 2 / 2
            2 / 2
            • First post
              15/15
              Last post
            Enjoying MagicMirror? Please consider a donation!
            MagicMirror created by Michael Teeuw.
            Forum managed by Sam, technical setup by Karsten.
            This forum is using NodeBB as its core | Contributors
            Contact | Privacy Policy