How to configure TVHeadend in OpenELEC to receive Australian Free to Air TV (in Australia)
This guide will step you through configuring TVHeadend on your Raspberry Pi to receive and stream Australian Free to Air TV.
TV Headend is client/server software. It is possible to have the TVHeadend Server running on a different Raspberry Pi from the TVHeadend client. In this case it will stream the live TV over your network. If you are configuring one Raspberry Pi to be the server and a different Raspberry Pi to be a client we strongly recommend having a wired (Ethernet) network, as WiFi can often experience slow speeds that will give buffering issues.
The first time you run OpenELEC, it will step you through the setup wizard. The first step is to give your Raspberry Pi a network name. We recommend renaming your TVHeadend server so it isn’t called “OpenELEC”
Next, you will need to connect to a network with Internet access (so you can download the required plugins). WiFi will be suitable for this, but if you are streaming FTA TV over your network, we recommend a wired connection.
Connect to the network, and note the IP address you are given. You will need this to configure TVHeadend.
Next, you are asked to enable or disable network services, for ease of access we recommend you turn on both SSH and SAMBA.
That completes the wizard. On your TVHeadend server, we recommend setting a static IP address so it doesn’t change when you reboot your home gateway. To do this, go to OpenELEC Settings, Networks and click “Edit” on your primary network.
Set the IP Address type to “manual”, and for easy setup, just accept the existing IP address which was allocated.
Since TVHeadend can utilise the over-the-air episode guide, we also recommending setting the time, date and location settings so your TVHeadend Client and Server know the correct time. This is done under Settings / Appearance in Kodi.
The TVHeadend server is part of the OpenELEC Unofficial Repository, so to enable this repository go to settings, add-ons, then repositories. Select the OpenELEC Add-ons (unofficial) and click Install.
You can now install the TVHeadend Client and Server add-ons. The client is located under Add-ons/PVM clients:
The server is located under Add-ons/Services:
If you are running the TVHeadend client on a different Raspberry Pi from the TVHeadend server, repeat all the steps above on your second Raspberry Pi.
Now the basic Kodi has been setup, and TVHeadend installed, we will connect to the TVHeadend server interface over the network and configure your channels.
Most Australians enjoy very average TV signal reception, meaning they are restricted to using a rooftop TV antenna. We selected the USB TV tuner card that we stock because it has a standard Australian style free-to-air plug.
To ensure that TVHeadend recognizes all the channels available in your area, we recommend connecting to your existing home TV Antenna. To do this, unplug the TV antenna from your TV and plug it into the Raspberry Pi.
Open a web browser on your PC, and navigate to the IP address you recorded before, port 9981. Click on Configuration, DVB-T, TV Adapters, and check the USB TV Card has been recognised by your Raspberry Pi. Click on the adapter and check the Enabled, Initial Scan, Idle Scan and over-the-air EPG checkboxes.
Now select Networks and Add a network of type “DVB-T”. Give it a friendly name, select the Generic: auto-Australia Pre-defined MUXs and uncheck “skip initial scan”. Add the network.
This will now start scanning for channels. Leave your Raspberry Pi plugged into your TV aerial for at least half an hour before continuing. When channels are found, they will be added under the “Services” tab of TV Headend. It is normal to have multiple entries for each channel. If you know the correct frequency for your area, select that one. Otherwise, simply choose the top one and de-select all duplicate entries, and choose a different one if you suffer from poor quality TV signal.
Once you have only one of each TV channel selected, click the “Map all” button to create channels.
Now if you click the Channels / EPG tab, you will see your TV channels.
Now go back to the Raspberry Pi (TVHeadend Client).
If TVHeadend is running on a different Raspberry Pi, you will need to set the IP address of the TVHeadend server. To do this, go to Add-ons/PVM clients/TVHeadend, and set the correct IP address.
Go to Settings / TV, enable TV and scan for channels.
This will take a few seconds to scan the TVHeadend channels, then it will give you the option of TV on your main Kodi menu. Select TV, and you’ll see the channels.