Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Screen recipe question

    Recipes
    2
    4
    124
    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.
    • S
      Sheepiely Donators last edited by

      In the ScreenManager recipe example, it uses vgencmd to turn on and off the screen. In MMM-GA, I can only use mode 4 (HDMI CEC) in config to turn off my screen. Vgencmd doesn’t work.

      If I want to change the ScreenManager recipe, what exec command should I use instead of this?

      shellExec: {
              exec: "vcgencmd display_power 0"
            }
      

      Thanks.

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        Hi, I think this command will solve:

        echo 'standby 0' | cec-client -s

        1 Reply Last reply Reply Quote 0
        • S
          Sheepiely Donators last edited by

          So weird. That didn’t work but I eventually got vgencmd to work with this “/usr/bin/vcgencmd display_power 0”.

          1 Reply Last reply Reply Quote 0
          • S
            Sheepiely Donators last edited by

            @bugsounet thanks.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB | @bugsounet ©2022