Raspberry Pi Remote for Free!

387,475

384

28

Published

Introduction: Raspberry Pi Remote for Free!

For my first ible I just wanted to give everyone a quick tutorial on how to use the HDMI-CEC protocol to control your Pi with your Tv's remote control.

This is very useful because is saves you from having to buy a remote just for your Pi and also leaves you with an open usb that you would have needed for your wireless keyboard and mouse.

Step 1: Do You Have CEC?

Every manufacturer has a different trade name for CEC,

Samsung - Anynet+
Sony - BRAVIA Link or BRAVIA Sync
Sharp - Aquos Link
Hitachi - HDMI-CECAOC - E-link
Pioneer - Kuro Link
Toshiba - Regza Link or CE-Link
LG - SimpLink
Panasonic - VIERA Link or HDAVI Control or EZ-Sync
Philips - EasyLink

If your TV has a button, logo, or menu with one of these names or similar, congratulations you have CEC!

Step 2: Getting Set Up

I'm going to be using an LG - 42LD450 and a Panasonic TC - P50X2 as examples. My Raspberry Pi is a type B and is running Raspbmc. Most of the steps will be very similar in most Tv's. If your lucky you might only have to plug in your Pi without any additional steps!

Get your Raspberry Pi hooked up using HDMI (obviously to use HDMI -CEC you have to use and HDMI cable for video)

Step 3: LG TV

For my LG tv these are the steps.
1. Turn on the tv and go to the Raspberry Pi input.

2. Boot up the Pi and wait for it to get to the Raspbmc home screen.

3. Press 'SimpLink' on your tv's remote.

4. Turn it on

5. ENJOY!

The tv and the Pi are now 'paired' and the tv remote will control the basic functions in Raspbmc. Play, pause, directional arrows, ok etc.

Step 4: Panasonic TV

Same as before,

1. Turn on tv to the Pi's input, boot Pi.

2. On the tv, menu - > setup - > Viera link setting - > ON

3. Done!

This tv will even turn on and off when you boot and shutdown Raspbmc.

Step 5: Extra Tips for Home Theater Set Up

1. Use your tv's usb port to power your Pi. This will save you a power outlet and phone charger.

2. Use an Ethernet cable and save all your movies on a network drive. Now you don't need a powered hub or hard drives behind your TV.

3. Consider overclocking and using a simpler skin to give a quicker response.
Please Vote!

Share

    Recommendations

    • Casting Contest

      Casting Contest
    • Make it Move Contest

      Make it Move Contest
    • Woodworking Contest

      Woodworking Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    28 Comments

    With so many Pi projects all over the net, I can't seem to find the one I am looking for.

    I want to be able to point my tv remote to a sensor and get the ir code, then I can use that code to program any button on a universal remote.

    for example, I point my remote to the device, press the play button, and the device reads 4678. I then use that code to program a play button on a universal remote.

    Anyone Help???

    great post, wish i 'd read this before buying a wireless keyboard! :-( now just need to sort out low power warnings when running my raspberry pi 3 from the usb socket/plus on my panasonic tx-l42e6b

    Thanks! I have a Raspberry Pi 2 running Plex Media Player connected to a Dicksmith 40" TV. I turned on HDMI CEC and I am now able to use the TV remote to control Plex on the Raspberry Pi 2! Thanks very much for this guide.

    did this yesterday , worked great, took me 5 minutes on a Toshiba TV

    Thanks a bunch pal! Saved me so much time and bother!

    A big thank you!

    If you have a problem detecting you raspberry pi with your TV, swap the HDMI cable! This instructable worked for me in mere seconds after I swapped in a better quality HDMI cable than the one that came in the Vilros "Raspberry Pi 2 Model B (1GB) Complete Starter Kit" sold by Prestige Milano via amazon.ca.

    1 reply

    yup, seconded. swapped for a better hdmi cable and it works again!

    hey i have a starter kit with everything on sd so i try this and my controller doesnt work. do i have to hace everything installed before i do this?

    temp_135460587.jpg

    In Sony its called "BRAVIA Sync" and is found at the top of the remote with all the control buttons inside a box

    Excelled Article!!!

    Tip of the month!!

    This works amazing with a Samsung TV. I didn't even have to pick anything just pointed my remote at the TV and every single button worked. Number pad, playback controls, everything. Thank you!

    Recently I tried to use CEC with an RPI to check the status of a TV, Bluray player, and media player. I was hoping to make my home automation system smarter so that it would know if a device was on or off or set the the correct input when the user presses a button to send an IR code to the device. That way you could create IR macros that won't turn the TV off if it is already on. If anyone is interested, I created a board to make it really easy to turn the RPI into a universal remote. You can buy the kit here: http://www.slimbots.com

    I ended up running into a dead end with CEC because the RPI could not control or poll all of the devices on the network. I could only get it to poll the TV which kind of defeated the purpose.

    This is genius! Worked perfectly on my LG! Thank you very much!

    Dang.. this rocks. you made my day!

    and alot of the buttons dont work on hdmi -cec. i prefer to use a first gen xbox dvdkit on my pi

    1 reply

    On XBMC/Kodi, you can also use KeyMap Editor add-on to add actions on buttons that do not work !

    works fine, except I cannot find a button to exit the xbmc's menu's.

    Probably my remote, though......

    @3of5 All TVs do not have this option.

    I have a philips and it works perfectly.