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-TVRemote

    Scheduled Pinned Locked Moved Utilities
    3 Posts 2 Posters 226 Views 2 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.
    • S Offline
      Sn4Pz
      last edited by

      Hey guys,

      I recently installed a MagicMirror in my workplace workshop, and i needed a way, other then voice control, or mobile app/commands, while it is the active video source of the TV.

      So I looked into the HDMI-CEC protocol, and discovered that the Pi is actually capable of intercepting the said protocol.

      Going forward from this, I wrote a module that makes the Pi the active device and “posts” this to the TV via CEC, thus making the TV, forward any remote control commands the TV receives to the HMDMI port as well, considering the Pi beeing a playback device.

      If anyone is intereseted in controling their MagicMirror via a ordinary TV remote, let me know, and we will try and upload the code to a git repo separatelly.

      A 1 Reply Last reply Reply Quote 2
      • A Offline
        achillealb @Sn4Pz
        last edited by

        @Sn4Pz Yes, I’m interested. I have MM, Home Assistant, and Kodi installed on my Raspberry Pi, connected to the TV. I’d like the codes to change the source, thanks.

        1 Reply Last reply Reply Quote 0
        • S Offline
          Sn4Pz
          last edited by

          Below I uploaded the git repo for the module. Let me know if it works fine for you :)

          The TV I am using is a Samsung Smart TV, but you should be able to listen for CEC comunication via HDMI and find the codes specific for your TV

          MMM-CEC-Control

          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