The following tutorial describes in simple steps the process to install the HDHomeRun DVR record engine on a Synology NAS.
NAS Requirements:
* x86 or ARM based CPU
* 256MB RAM minimum
* Must be running Linux
* SSH access
Step 1. Purchase a compatible HDHomeRun digital tuner. For terrestrial broadcast you need either a Connect/2 or Extend, and for satellite/cable you need the HDHomeRun Prime
Step 2. Purchase a HDHomeRun DVR subscription and activate it. You need to follow the instructions in the e-mail to activate your account.
NT. Account activation is only available to Kickstarter supporters and direct customers who have purchased the DVR software from SiliconDust.
Step 3. Download and install the latest HDHomeRun software
NT: You must be on 20150701atest1 or later.
Step 4. Login to the Synology DSM web manager and navigate to:
Control Panel > Terminal & SNMP > Check the ‘Enable SSH service’ option, click ‘Apply’
Step 5. Create a new shared folder to store recordings, navigate to:
Control Panel > Shared Folder > Click ‘Create’, name the folder ‘HDHomeRun’, provide a custom description if you wish, then click ‘Ok’
Step 6. Run HDHomeRun Setup, go the the DVR tab, and click the NAS Install button. The setup will search for all available NAS devices on your network. Double click the one you wish to use as the DVR record engine. When prompted for SSH credentials use ‘root’ as the user, with your admin password. The NAS should now download and install the record engine and report success.
Now we need to configure the NAS to start the record engine automatically when the system boots.
Step 7. Download putty. Open Putty and type the IP address of your NAS, select the ‘SSH’ radio button. Click ‘Open’. When prompted enter your SSH credentials as before (Step 6.)
Step 8. At the command prompt paste the following commands (right click to paste, press return after each command):
cd /usr/local/etc/rc.d
vi S75HDHomeRunDVR.sh
Step 9. Press the ‘i’ key, and paste the following text:
#!/bin/sh
DIR=/volume1/HDHomeRun/
EXE=./hdhomerun_record
cd $DIR
$EXE $1
Step 10. Press the ‘ESC’ key and type:
:wq
Step 11. At the command prompt paste the following commands (right click to paste, press return after each command):
chmod +x S75HDHomeRunDVR.sh
./S75HDHomeRunDVR.sh status
You should now see the DVR status as running.
That’s it. You can now schedule recordings on your NAS and access recordings via the VIEW app.
All credit for the auto-start script goes to @jumpmanjay on the SiliconDust forums. He has also created an auto-update script to automate the DVR software updates on his Synology, i haven’t tried it yet myself but you can check it out here if you wish.
This tutorial was based on the generic NAS instructions written by @Nickk over on the SiliconDust forums, adapted for Synology.
[…] installed the record engine on my Synology NAS (see this post for a step-by-step guide), i’m using the HDHomeRun Connect as the tuner (see my review […]
LikeLike
Updated the link, thanks.
LikeLike
Thanks for the above info but keep getting: “E212: Can’t open file for writing” at step 10 – even though the syntax is correct in step 9…
Any suggestions?
This is a new DS216+II running DSm 6.1.1-15101 Update 2 (2017/05/05)
LikeLike
For those of you who aren’t UNIX savvy, on steps #8 & 11 you need to precede the commands with ‘sudo’:
sudo vi S75HDHomeRunDVR.sh
sudo chmod +x S75HDHomeRunDVR.sh
LikeLike
Make sure your logged in as root. Check you file permissions for the folder.
LikeLike
When I get to step 6, I get a message SSH Failed Unable to Install
I am entering “root” in the username box and the password for the Synology,
I can login to DSM ok, but not the way described in Step 6
Any suggestions
LikeLike
anyone know of a Synology PGK that will do all of this?
LikeLike
I was able to follow all of the steps however I always get the message:
HDHomeRun RECORD not running
Any ideas?
LikeLike
I could not log in as “root” with putty, had to do use my usual “admin” and password for the password to be accepted. Then did the following
login as: admin
admin@192.168.1.14‘s password:
admin@ds216j:~$ cd /usr/local/etc/rc.d
admin@ds216j:/usr/local/etc/rc.d$ sudo vi S75HDHomeRunDVR.sh
Password:
admin@ds216j:/usr/local/etc/rc.d$ sudo chmod +x S75HDHomeRunDVR.sh
admin@ds216j:/usr/local/etc/rc.d$ ./S75HDHomeRunDVR.sh status
HDHomeRun RECORD running
admin@ds216j:/usr/local/etc/rc.d$ login as: admin
(hope that works)
LikeLike