Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberry_pi [2019/09/10 06:27]
neds [Pi 4 as DVR storage]
raspberry_pi [2023/01/28 22:45]
neds removed
Line 1: Line 1:
 ====== Raspberry Pi ====== ====== Raspberry Pi ======
-<​lead>​Raspberry Pi is a brand of "​single board computer" that can connect using HDMI, is fairly inexpensive,​ and is used by students and hobbyists for various electronics projects. Over the years it has turned out to be a useful device for a number of unexpected areas, including being used along side HDHomeRun products. There are multiple models of the Raspberry Pi, but most of them will function well as an HDHomeRun client or "​streaming box" for TVs, and the latest version (the "Pi 4") can also work as a DVR storage device for **[[:​DVR|HDHomeRun DVR service]]**.</​lead>​+<​lead>​Raspberry Pi is a brand of "​single board computers" that can connect using HDMI, is fairly inexpensive,​ and is used by students and hobbyists for various electronics projects. Over the years it has turned out to be a useful device for a number of unexpected areas, including being used along side HDHomeRun products. There are multiple models of the Raspberry Pi, but most of them will function well as an HDHomeRun client or "​streaming box" for TVs, and the latest version (the "Pi 4") can also work as a DVR storage device for **[[:​DVR|HDHomeRun DVR service]]**.</​lead>​
  
-===== Pi as a streamer ​for TV sets =====+===== Pi as a viewer ​for TV =====
 <WRAP indent> <WRAP indent>
  
Line 35: Line 35:
       * If your TV supports what is known as "HDMI CEC" then you won't need a separate remote control. This is a feature of the TV that allows one remote to control other devices, such as bluray players, streaming boxes, or even Raspberry Pis.       * If your TV supports what is known as "HDMI CEC" then you won't need a separate remote control. This is a feature of the TV that allows one remote to control other devices, such as bluray players, streaming boxes, or even Raspberry Pis.
       * An inexpensive "​Android"​ remote with USB receiver dongle (or bluetooth, if using a Pi with build-in bluetooth), which can be found in the normal places (eBay, Newegg, Amazon, etc) normally operate as as a remote with no special software needed. These remotes are offered under numerous brand names and model types, but typically work by emulating a wireless keyboard, but in the shape of a typical remote control. They may also feature "air mouse" features, but a mouse will not be required for this set up.       * An inexpensive "​Android"​ remote with USB receiver dongle (or bluetooth, if using a Pi with build-in bluetooth), which can be found in the normal places (eBay, Newegg, Amazon, etc) normally operate as as a remote with no special software needed. These remotes are offered under numerous brand names and model types, but typically work by emulating a wireless keyboard, but in the shape of a typical remote control. They may also feature "air mouse" features, but a mouse will not be required for this set up.
-      * Since we are going to be using the Kodi media software for this set up, you can also use an Android or iOS smart phone or tablet as a remote control: https://​kodi.wiki/​view/​Smartphone/​tablet_remotes 
-      * Additional advanced options can be found here: https://​kodi.wiki/​view/​Raspberry_Pi#​Remote_controls 
  
 </​WRAP>​ </​WRAP>​
Line 42: Line 40:
 ==== Installing the software ==== ==== Installing the software ====
 <WRAP indent> <WRAP indent>
-<panel type="​success"​ title="​Step 1"><​image shape="​thumbnail">​{{ :​picture.png?​direct&​400|}}</​image>​ 
  
-</panel>+This guide will provide three basic paths for using a Raspberry Pi to view TV from an HDHomeRun device, all of which are based on using the open source video player [[open_source_media_centers]]:​ 
 + 
 +\\ 
 +<btn type="​success"​ size="​lg"​ icon="​glyphicon glyphicon-book">​[[Raspberry Pi:Basic client]]</​btn>​ 
 +\\ 
 +\\ 
 +\\ 
 +<btn type="​success"​ size="​lg"​ icon="​glyphicon glyphicon-book">​[[Raspberry Pi:​Community client|Unofficial community client]]</​btn>​\\ 
 +Click here if you want to use a pre-made unofficial community Raspberry Pi image that has everything already set up, and uses media center'​s built-in PVR/DVR features instead of the official HDHomeRun add-on. 
 +\\ 
 +\\ 
 +\\ 
 +<btn type="​success"​ size="​lg"​ icon="​glyphicon glyphicon-book">​[[open_source_media_centers|Existing media center setup]]</btn>\\ 
 +Click here if you already have an existing media center setup on a Raspberry Pi, and just want to see the instructions for viewing HDHomeRun content. 
 +\\
 </​WRAP>​ </​WRAP>​
 </​WRAP>​ </​WRAP>​
-===== Pi 4 as DVR storage =====+===== Pi 4 as DVR server/storage =====
 <WRAP indent> <WRAP indent>
  
 ==== Requirements ==== ==== Requirements ====
 <WRAP indent> <WRAP indent>
-As most Raspberry Pi products ​are sold by themselves, you will need to make sure you have the right parts for a complete system.+The requirements for using the Raspberry Pi as a DVR server ​are the same as the above requirements ​for using it as viewer, with the following excepetions:​ 
 + 
 +  * Only the Raspberry Pi model 4B is recommended 
 +  * Only an ethernet connection to your local network is recommended 
 +  * A USB 3 external hard drive of about 500 GB or more is needed for recordings. Using SSDs/Flash memory is discouraged due to the live TV buffer always writing to the drive. 
 +  * HDMI cables and remotes are not required.
  
 </​WRAP>​ </​WRAP>​
 ==== Installing the software ==== ==== Installing the software ====
 <WRAP indent> <WRAP indent>
-<​code>​ 
-sudo apt install usbmount 
- 
-enter password 
- 
-sed -i '​s/​PrivateMounts=yes/​PrivateMounts=no/​g'​ /​lib/​systemd/​system/​systemd-udevd.service 
- 
-mkdir /​home/​pi/​hdhomerun/​ 
- 
-mkdir /​media/​usb0/​hdhomerun_dvr_pi/​ 
- 
-echo '​RecordPath=/​media/​usb0/​hdhomerun_dvr_pi/'​ >/​home/​pi/​hdhomerun/​hdhomerun.conf 
- 
-curl https://​download.silicondust.com/​hdhomerun/​hdhomerun_record_linux >/​home/​pi/​hdhomerun/​hdhomerun_record 
  
-chmod +x /home/pi/​hdhomerun/​hdhomerun_record+<btn type="​success"​ size="​lg"​ icon="​glyphicon glyphicon-book">​[[Raspberry Pi:DVR server|Basic DVR server]]<​/btn>\\ 
 +Click here for our guide to setting up a basic DVR server using the HDHomeRun DVR software. 
 +\\ 
 +\\ 
 +\\ 
 +<btn type="​success"​ size="​lg"​ icon="​glyphicon glyphicon-book">​[[Raspberry Pi:​community DVR server|Unofficial community DVR server]]<​/btn>\\ 
 +Click here for the unofficial community guide for setting up a DVR server using the HDHomeRun DVR software, plus extras like commercial detection and other post-processing tricks. 
 +\\
  
-/​home/​pi/​hdhomerun/​hdhomerun_record start 
-</​code>​ 
 </​WRAP>​ </​WRAP>​
 </​WRAP>​ </​WRAP>​