*** EDIT - updated with some missing steps and additional information - including how to get Kodi to use Freeview channel numbers

***
gordon77 wrote: ↑Thu Oct 25, 2018 9:18 am
gordon77 wrote: ↑Tue Oct 23, 2018 6:45 pm
Cheers, l missed that.
Success at last !
I tried the instructions given for the hat but very jerky pictures on a PC, via browser. So followed Dougies instructions ( viewtopic.php?f=35&t=225036#p1381937) for installation. Then connected PC and followed the instructions to let tvheadend find channels but found nothing.
We watch a TV relay so its not in the list of main TV sites, so found a main station with the same channels as our relay and success it found the 3 muxes. For UK see
http://static.ofcom.org.uk/static/recep ... x.asp.html if required. I suppose there is a manual method to add them to tvheadend but I didn't find it.
Then ran Kodi and the Pi now works as standalone HDTV receiver plugged into my TV
You can manually add muxes in TV Headend if you don't use the wizard.
It has a number of steps.
You first go to the TV Headend web page then go to the CONFIGURATION TAB, then the DVB INPUTS tab. You should see the Sony adaptor on the TV Hat in the Adaptors list.
First you create a Network in the NETWORKS tab (this is nothing to do with Ethernet and is instead creating a TV Network entry). Click Add, Select DVB-T Network and give your Network a name. You may find you get a lot of additional options if you have Expert view enabled. You can usually safely leave these on defaults.
Once you've created a network you can add that network to your DVB-T/T2 adaptor. Go to the TV Adaptors tag, select the DVB-T Tuner for the Sony adaptor, Click on the adaptors drop down in the panel on the right hand side for that adaptor, and select the new network you named above. You should also enable the adaptor by ticking in the enabled box, and click SAVE at the bottom of that panel.
This has now told TV Headend that the DVB-T Network you created can use the TV uHAT tuner.
You now need to add some muxes (these are the individual frequencies used for broadcasting DVB-T/T2 channels). Click on the MUXES tab, Click ADD, you will then be asked which Network your mux is in, so select the network you named earlier (this will probably be the only entry in the drop down)
You can then add the frequency - it needs to be in Hz not MHz kHz - so for PSB1 on Crystal Palace (BBC SD channels) you'd enter 490000000 (for 490MHz / C23). You'd leave the Delivery System as DVB-T, you'd select 8MHz Bandwidth, QAM/64 Constellation, 8k Transmission Mode and leave the rest on Auto (You may find you can leave more on Auto - but every DVB-T/T2 adaptor I've used works with those as the minimum) You can then click Create (if you just want to enter one mux, or Apply if you want to keep the box open to add more)
To find out the frequencies of your transmissions UK Free TV can be quite useful - though COM7 and COM8 (the lower power DVB-T2 muxes that carry things like BBC News HD, BBC Four HD/CBeebies HD) have recently begun to move to C55/746MHz and C56/754MHz nationally as Single Frequency Networks and this may not have updated.
For UK DVB-T muxes you need : DVB-T, 8MHz, 64/QAM, 8k as your settings
For UK DVB-T2 muxhes you need : DVB-T2, 8MHz, 256/QAM, 32K as your settings
TV Headend should automatically scan once you save each mux, but if not a reboot often helps, or you can select your network in the Networks tab and click 'Force Scan'
You may find that if Network Autodiscovery is enabled that if you just enter PSB1's details, once TV Headend tunes that mux, all the other SD muxes in your area will appear in your mux list and then automatically be scanned. You will probably need to manually enter PSB3, COM7 and COM8 though.
When all of your muxes have been found, you will see all the TV, Radio and possibly other services that TV Headend has found in the SERVICES tab, next to the MUXES tab. In the services tab you need to Map those services - using MAP ALL SERVICES (usually). This will map your services to TV Headend channels and channel names. It will also map them in TV Headend to the Freeview / Freeview HD LCNs (Logical Channel Numbers) - so BBC One is on 1, BBC One HD is on 101 etc.
HOWEVER by default Kodi's Live TV functionality ignores back-end channel numbers, however you can enable this in Kodi via the System->PVR & Live TV settings option of 'Use Channel Numbers from Backend'
Other things you can do :
If you want a Freeview HD EPG (Freeview SD has an Open EPG, but Freeview HD's EPG is compressed using a different system) then you will need to enable the Freeview HD EPG grabber in the EPG configuration tabs. If you just use the DVB EIT grabber you may find DVB-T2 channels have gibberish for their programme details.
If you want PDC-style accurate recording, I think you'll need to check 'Use EPG Running State' in the Recording Tab (UK DVB-T/T2 mainstream broadcasters accurately send 'Programme Start/End' using the EIT Present/Following entries to allow you to control recording via these rather than just a timer. Other regions may not be so good at this) This entry uses these to make sure recordings are accurately made.