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.

    Using serial (RS232) connection to control TV

    Scheduled Pinned Locked Moved Hardware
    rs232serial
    5 Posts 3 Posters 1.6k Views 3 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.
    • R Offline
      rubberduck
      last edited by

      Has anyone used an RS232 connection to control a TV? I am fortunate enough that the TV I am going to use offers full control of all functions via a serial port connection. The manual for the TV provides all details for the connection, plus all the commands. I have done some tests and the control through the Hdmi port doesn’t work reliably enough so RS232 seems like a good option. I don’t have enough programming experience to pull off making a module so I was hoping someone else has at least tried this.
      Screenshot_20220911-125211_Drive.jpg

      kayakbabeK 1 Reply Last reply Reply Quote 0
      • kayakbabeK Offline
        kayakbabe @rubberduck
        last edited by

        @rubberduck that should be totally doable with python. And the mirror and python can be done. There are several module that use python scripts. Are you wanting to just turn the tv on and off?

        your tv will need to be able to restart on the same hdmi port you have your video from your pi feeding into. just a thought.

        If you want to just keep the tv on, but blacken the screen, your tv might have a screen saver or something … some do.

        kayakbabeK 1 Reply Last reply Reply Quote 0
        • kayakbabeK Offline
          kayakbabe @kayakbabe
          last edited by

          @kayakbabe if you can get it working with python, I’m thinking maybe the python package pyserial would be enought.

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @kayakbabe
            last edited by sdetweil

            @kayakbabe you can do serial i/o w node very easily

            the serialCommander npm lib handles the send, wait for response ( of choices)…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            kayakbabeK 1 Reply Last reply Reply Quote 0
            • kayakbabeK Offline
              kayakbabe @sdetweil
              last edited by

              @sdetweil even better! Then it’ll run on many more operating systems!

              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