Setting up DVR storage on a single-drive WD My Cloud NAS

How to install the DVR storage software on a single-disk Western Digital My Cloud NAS.

Users of multi-disk My Cloud devices should install the appropriate package via the WD My Cloud multiple-disk install instructions.

Before you continue, make sure you have the following:

Step 1

Download and install the latest HDHomeRun Windows Setup software (not the Windows 10 store App):

Be sure to download a fresh copy of the Windows Setup app, especially if you need to update an existing install.

Step 2

Launch the HDHomeRun NAS install program:

Run HDHomeRun Setup, go the the DVR tab, and click the NAS Install button.

Step 3

Select your NAS from detected devices:

Western Digital now uses “sshd” instead of “root” for the ssh username.

The application will auto-detect possible NAS devices on your network using UPnP. Double click on your NAS device to continue.

Step 4

Create a share named “HDHomeRun”:

If there is not already a share named HDHomeRun you will see the message “Please create a share named HDHomeRun”.

The install program will auto-detect when the share has been created and continue to the next step.

Step 5

Enable SSH access and log in:

If SSH access is not enabled you will see the message “Please enable SSH access”.

The install program will auto-detect when SSH has been enabled and then ask you to enter your username and password.

Step 6

Success:

The NAS Install program should download and start the HDHomeRun DVR software and report SUCCESS.

Don't forget to turn SSH back off when you are done.

These instructions are provided for users who cannot run the Windows install tool.

  1. Go to the NAS webpage. This is usually available at http://wdmycloud/ or http://wdmycloud.local/. If you know the IP address of your My Cloud you can also enter that in your browser's address bar. Log in once you arrive at the page.
  2. Enable SSH support. Go to the Settings page, Network, and set SSH to ON.

    Western Digital now uses “sshd” instead of “root” for the ssh username.

  3. Open a terminal window (on Mac OS, open Terminal.app. For Windows 10 click here) and type “ssh sshd@wdmycloud” or “ssh sshd@<ip address of My Cloud>”, e.g. “ssh sshd@192.168.0.102”

    Log in with the same password you use to access the web interface.

  4. Download the HDHomeRun DVR software package by running one of the following (just choose one):
    Version Command
    OS 5 - Stable
    wget -O /tmp/hdhomerun_dvr.apkg https://download.silicondust.com/hdhomerun/hdhomerun_record_wdc_WDMyCloud_os5.apkg
    OS 5 - Beta
    wget -O /tmp/hdhomerun_dvr.apkg https://download.silicondust.com/hdhomerun/hdhomerun_record_wdc_WDMyCloud_os5_beta.apkg
  5. Install the HDHomeRun DVR software package. Run the following command:
    upload_apkg -d -s 1 -p ../../../../../tmp/hdhomerun_dvr.apkg
  6. Start the DVR. Run the following command:
    /mnt/HD/HD_a2/Nas_Prog/hdhomerun_dvr/start.sh
  7. Disable SSH support. Go to the Settings page, Network, and set SSH to OFF.

Manual installation for older WD NAS models that don't support install packages:

  1. Go to the NAS webpage. This is usually available at http://wdmycloud/ or http://wdmycloud.local/. If you know the IP address of your My Cloud you can also enter that in your browser's address bar. Log in once you arrive at the page.
  2. Enable SSH support. Go to the Settings page, Network, and set SSH to ON.

    Western Digital now uses “sshd” instead of “root” for the ssh username.

  3. Open a terminal window (on Mac OS, open Terminal.app. For Windows 10 click here) and type “ssh sshd@wdmycloud” or “ssh sshd@<ip address of My Cloud>”, e.g. “ssh sshd@192.168.0.102”

    Log in with the same password you use to access the web interface.

  4. Copy and paste the following commands one by one, pressing return/enter after each line:

    cd /shares/HDHomeRun
    
    wget -O hdhomerun_record http://download.silicondust.com/hdhomerun/hdhomerun_record_linux
    
    dd if=hdhomerun_record bs=4096 skip=1 | tar -xz hdhomerun_record_arm
    
    sudo chmod +x hdhomerun_record_arm
    
    echo -e \#\!/bin/sh\\n/shares/HDHomeRun/hdhomerun_record_arm \$1 --conf /shares/HDHomeRun/hdhomerun.conf | sudo tee /etc/init.d/hdhomerun_record
    
    sudo chmod +x /etc/init.d/hdhomerun_record
    
    sudo ln -sf /etc/init.d/hdhomerun_record /etc/rc2.d/S99HDHomeRun
    
    echo RecordPath=/shares/HDHomeRun/ | sudo tee /shares/HDHomeRun/hdhomerun.conf
    
    sudo /etc/init.d/hdhomerun_record start
  5. Disable SSH support. Go to the Settings page, Network, and set SSH to OFF.
  • Q: If the NAS loses power or reboots will the Record Engine autostart?
  • A: Yes.
  • Q: Do I need to create a Share Folder titled HDHomeRun? Where are recordings saved?
  • A: No, you do not. If you're setting up a brand new My Cloud, recordings will be saved to Public\HDHomeRun. If you already have an HDHomeRun folder in the ROOT of the NAS, the Record Engine will continue to use the existing folder.
  • Q: How do I uninstall this?
  • A: SSH in (see step 3 above) and run:
    del_apkg hdhomerun_dvr

Once you finish setting up a DVR storage device, see our guide link below for instructions on using the DVR features in the HDHomeRun app.
Instructions on using the DVR features in the HDHomeRun app

  • Last modified: 2022/11/09 03:31