Auto start recording engine on WD Mycloud NAS

Want to write your own code to work with a HDHomeRun or work with the HDHomeRun DVR? We are happy to help with concepts, APIs, best practices.
brentgossett
Posts: 6
Joined: Sun Sep 25, 2016 9:57 am

Auto start recording engine on WD Mycloud NAS

Postby brentgossett » Thu Apr 20, 2017 5:21 pm

My WD NAS is set to auto update and after an update is applied the recording engine doesn't restart. Has anyone been able to change this behavior?

Mediaman
Expert
Posts: 7528
Joined: Sun Aug 09, 2009 12:11 pm
Location: Olympia, WA

Re: Auto start recording engine on WD Mycloud NAS

Postby Mediaman » Thu Apr 20, 2017 6:35 pm

Found this in my files that may work -
by d21mike » Tue Jan 19, 2016 8:48 pm
I decided to play with this today and this appears to work. May work on other NAS Setups with minor changes.

IMPORTANT: I am not that experienced with this so you should do your own testing. Most of this I found with Google search.

I have a WDMyCloud single drive with firmware v04.04.01-112

1. Create a file with the HDHomeRun Start Command as the only line. I call mine start_hdhomerun.
@reboot root /shares/HDHomeRun/hdhomerun_record start --conf /shares/HDHomeRun/hdhomerun.conf

@reboot = tells cron to run this command after a reboot.

2. Place this file in the "/etc/cron.d" directory

3. Set execute attribute - assuming you called it start_hdhomerun
chmod 755 start_hdhomerun

If this is a good solution then maybe SD could make it part of the NAS Install step since maybe hard for Windows Users to put the file in this location. I am on a MAC so really easy for me to use SSH. On Windows you may want to install PUTTY if you want to play with this.
If this does not work for you look here viewtopic.php?f=125&t=36040#p217147

brentgossett
Posts: 6
Joined: Sun Sep 25, 2016 9:57 am

Re: Auto start recording engine on WD Mycloud NAS

Postby brentgossett » Sun Apr 23, 2017 9:45 am

thanks for the reply. I'm trying the solution.

Mediaman
Expert
Posts: 7528
Joined: Sun Aug 09, 2009 12:11 pm
Location: Olympia, WA

Re: Auto start recording engine on WD Mycloud NAS

Postby Mediaman » Sat Jun 17, 2017 4:05 pm

bump for single bay WD MyCloud


Return to “Development Support”

Who is online

Users browsing this forum: No registered users and 5 guests