• 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.

MMM-tvservice

Scheduled Pinned Locked Moved System
6 Posts 4 Posters 5.8k 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.
  • A Offline
    Alvinger
    last edited by Oct 12, 2016, 3:21 PM

    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.

    A 1 Reply Last reply Oct 12, 2016, 10:57 PM Reply Quote 0
    • A Offline
      andrewchumchal @Alvinger
      last edited by Oct 12, 2016, 10:57 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • P Offline
        paphko
        last edited by paphko Oct 13, 2016, 7:44 AM Oct 13, 2016, 7:42 AM

        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
        • A Offline
          Alvinger
          last edited by Oct 13, 2016, 8:36 AM

          @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.

          P 1 Reply Last reply Oct 13, 2016, 12:27 PM Reply Quote 0
          • P Offline
            paphko @Alvinger
            last edited by Oct 13, 2016, 12:27 PM

            @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 Oct 13, 2016, 5:28 PM

              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
              1 / 1
              • First post
                3/6
                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