DVB-T Live TV on Fire TV with Kodi using Raspi Raspbian Jessie, tvheadend, RTL2832U

Today I made my first steps playing around with the PVR (Live TV) capability of Kodi. My personal target is, to eliminate the additional sat receiver I have connected to my TV and add a recording feature.

To set up and test the general funcionality, I deceided to use a RTL-SDR (RTL2832U) I already own. The setup works as follows:

TV-Tuner usb stick (DVB-T, DVB-S etc) -> Raspi2 with tvheadend server -> network -> Kodi (on FireTV)

Lets start…

Update system

In general its not a bad idea to get the latest updates:
sudo apt-get update && sudo apt-get upgrade

Setup of tvheadend on Raspi2 with Raspbian Jessie:

Add keys of additional Repo to your system
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61

Modify apt sources list
sudo nano /etc/apt/sources.list

Add line at end of file
deb http://dl.bintray.com/tvheadend/deb/ jessie release

Update apt sources
sudo apt-get update

Install tvheadend
sudo apt-get install tvheadend

Check if DVB-T tuner was detected (no driver install required):

[1430354.151936] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[1430354.263931] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=2838
[1430354.263960] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1430354.263977] usb 1-1.4: Product: RTL2838UHIDIR
[1430354.263992] usb 1-1.4: Manufacturer: Realtek
[1430354.264007] usb 1-1.4: SerialNumber: 00000001

Sources used:

Configure tvheadend via webinterface

Open webinterface in webbrowser: http://:9981

Go to Configuration – DVB Inputs – Networks
Press “Add”, Select type “DVB-T Network”, give a name on your choice and select your region from Pre-defined muxes.
Press Create

Go to Configuration – DVB Inputs – TV adapters
Find your DVB-T device there, check “enabled” and select the network created on the step before under “Networks”

Go back to Configuration – DVB Inputs – Networks
Select you network and press “Force scan”
Wait a few minutes

Go to Configuration – DVB Inputs – Services and find detected channels there.
Mark all channels and press map all (this will create Channels out of the services, which you can find under Configuration – Channel/EPG – Channels

Go to Configuration – Access entries and create a user for streaming client devices. Check all services you want your devices to access.

Configure Kodi

Start Kodi and go to Options – Settings – Addons.
Find in category PVR the plugin “Tvheadend HTSP Client”
Configure the IP adress (of your raspi and the former createt user/password)

Done! You will find TV in your Kodi home.

Remark: I tried using tvheadend on a rasi where I had dump1090 for ADB-S installed before. Even after commenting the blacklist in /etc/modprobe.d and disabling the dump1090 service the channel scan and receiving a signal didnt work. Using a fresh raspbian minimal did the job…


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s