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.

    MMM-tvservice

    Scheduled Pinned Locked Moved System
    6 Posts 4 Posters 5.9k Views 5 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.
    • AlvingerA Offline
      Alvinger
      last edited by

      MMM-tvservice is a module that turns HDMI On or Off using the tvservice program.

      I got the idea from @ianperrin when he implemented notification functionality in MMM-ModuleScheduler. I highly recommend this module for scheduling On and Off times for MMM-tvservice.

      Check out the README ad https://github.com/Alvinger/MMM-tvservice.

      andrewchumchalA 1 Reply Last reply Reply Quote 0
      • andrewchumchalA Offline
        andrewchumchal @Alvinger
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • paphkoP Offline
          paphko
          last edited by paphko

          I like the idea of having fixed times to switch the mirror on and off, thank you for contributing this module :-)

          But your config looks unnecessarily complex. I would suggest such a format:

              config: {
                  notification_schedule: [
                      { HDMI_ON: "30 6 * * *" },
                      { HDMI_OFF: "0 23 * * *" },
                  ]
              }
          
          1 Reply Last reply Reply Quote 0
          • AlvingerA Offline
            Alvinger
            last edited by

            @paphko: the config is not the MMM-tvservice config, it is the MMM-ModuleScheduler config. I am using that module to send the notifications. Send your suggestions to @ianperrin who is the author of MMM-ModuleScheduler.
            However, as the MMM-ModuleScheduler needs to be generic in order to cover a vast number of use cases I think that this added complexity is not an issue.

            paphkoP 1 Reply Last reply Reply Quote 0
            • paphkoP Offline
              paphko @Alvinger
              last edited by

              @Alvinger Sorry, my fault - I indeed thought that this were the configuration of the MMM-tvservice module O:-)
              But for more convenient configuration of your module, you could consider adding some delegate to the schedule for the proposed format ;-)

              1 Reply Last reply Reply Quote 0
              • G Offline
                gismo2006
                last edited by

                Hi, a little question, I read about the tvservice and that you will be to chance the console at wake up, before you can use your option. So Yesterday I found this you can use vcgencmd display_power 0 / vcgencmd display_power 1 for power down your hdmi port. And it schould be faster and you havent to chanche your console at wake up. I don´t know enough, but could it be a better option for slleping an wake up?

                Here is the link to the webpage, but its in german:
                https://pi-buch.info/tag/tvservice/

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  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