wappinghigh Posted September 13, 2013 Share Posted September 13, 2013 For those that run a Diamond Design NAS there is web browser based power on and off control thru a dedicated IP on the motherboard.I am after someone who can program me a driver to give me on/off control of this in Composer..So later I'm thinking "if media player is on>power on DDNas"and "If house armed>power down DDNas"And putting up a custom button on navigator to do the same Our NAS drives are often in racks in inaccessible places so hence the request for this driver..And a hard power reboot is not a good thing for NAS softwareCan anybody help me here?Cheers Link to comment Share on other sites More sharing options...
SMHarman Posted September 13, 2013 Share Posted September 13, 2013 ^ and regular power cycling is not good for HDDs etc. NAS is designed to be permanently on and should go into a lower power state and spin down the drives etc when there is no activity. Your idea would mean you are waiting an extended period of time (30s - a few minutes) while the NAS powers on and activates the services etc.For the concern you have the NAS should be connected to UPS (Uninteruptable Power Supply) and when it detects it is running on the UPS it initiates a power down. Again, this is something that is built into most NAS power management functionality, the UPS is connected to the NAS by USB or another data port and messages when it becomes primary. Link to comment Share on other sites More sharing options...
wappinghigh Posted September 14, 2013 Author Share Posted September 14, 2013 Thanks for your help.I agree power cycling is not good.But neither is prologued usage on my power bills.I'll wait for someone who knows the specifics of FreeNas and the DDNas product range to add their additional comments Cheers Link to comment Share on other sites More sharing options...
msgreenf Posted September 14, 2013 Share Posted September 14, 2013 Agree with SMHarman, a NAS is designed and built to be on 24/7/365. I would highly recommend not shutting it off. If you put a meter on it, you would find that it doesn't use that much power.... Link to comment Share on other sites More sharing options...
ILoveC4 Posted September 14, 2013 Share Posted September 14, 2013 Leave it on, like it's designed. Link to comment Share on other sites More sharing options...
wappinghigh Posted September 16, 2013 Author Share Posted September 16, 2013 C4Hacks has a driver now that powers up and down FreeNas..Could this be used?? Link to comment Share on other sites More sharing options...
wappinghigh Posted September 16, 2013 Author Share Posted September 16, 2013 ^The DDNAS I have is the most awesome computer machine I have ever owned. But so is the Airbus A380 taking off and landing at 200 feet...Get me drift Link to comment Share on other sites More sharing options...
pstuart Posted September 17, 2013 Share Posted September 17, 2013 A simple wol command should wake it, but getting it to sleep is another matter. Link to comment Share on other sites More sharing options...
bsalvador Posted September 17, 2013 Share Posted September 17, 2013 Check our my FREENAS driver for control4, it is designed to work with FREENAS 9.1.www.control4hacks.comThe driver simulate an admin login, and sending shutdown/reboot command by HTTP request.I can redesign the driver to work with your version (8.2 right?)Also, DD was interested in my driver, maybe they will implement it on next DDNAS generation. Link to comment Share on other sites More sharing options...
wappinghigh Posted September 17, 2013 Author Share Posted September 17, 2013 I have no idea where we are at with DD NAS firmware upgrades..We will have to wait until James hops on this thread..But despite what anyone says..I think this is a darn good idea..Nobody wants to run their NAS drive unattended for weeks on end say whilst on holidays so why not have a driver for shut down and power on.....As I said, they are often put in out of the way places. Sure you can do this via web browsers, but why not have a C4 driver that can be put into C4 macros like "away armed" or "return from holiday" or whatever.. Cheers and thanks for you support... Link to comment Share on other sites More sharing options...
msgreenf Posted September 17, 2013 Share Posted September 17, 2013 I have no idea where we are at with DD NAS firmware upgrades..We will have to wait until James hops on this thread..But despite what anyone says..I think this is a darn good idea..Nobody wants to run their NAS drive unattended for weeks on end say whilst on holidays so why not have a driver for shut down and power on.....As I said, they are often put in out of the way places. Sure you can do this via web browsers, but why not have a C4 driver that can be put into C4 macros like "away armed" or "return from holiday" or whatever.. Cheers and thanks for you support... My NAS has been on for about 4 years straight.......just saying....it only gets rebooted during firmware updates/drive changes.....Edit...and I guess the occasional power outage.... Link to comment Share on other sites More sharing options...
SMHarman Posted September 17, 2013 Share Posted September 17, 2013 I have no idea where we are at with DD NAS firmware upgrades..We will have to wait until James hops on this thread..But despite what anyone says..I think this is a darn good idea..Nobody wants to run their NAS drive unattended for weeks on end say whilst on holidays so why not have a driver for shut down and power on.....As I said, they are often put in out of the way places. Sure you can do this via web browsers, but why not have a C4 driver that can be put into C4 macros like "away armed" or "return from holiday" or whatever.. Cheers and thanks for you support... If you know the command you just add something like this to the scripttelnet://<user>:<password>@<host>:<port>/poweroffThat's how you would do it on a Synology drive anyway.Still not sure this is a darn good idea. Do you unplug your toaster / toaster oven from the wall when you are not using it. Growing up I remember friends parents who always insisted on unplugging their VCRs at night so the clock was always flashing 12:00. This thread may direct you as to where to implement the command.http://www.c4forums.com/viewtopic.php?id=15174http://www.control4.com/documentation/Composer_Pro_User_Guide/example__using_snmp_configuration_agent.htmOn will be a WOL command sent to the IP port if your NAS supports WOL but then again that would mean the NAS is not fully powered off otherwise there would not be power to the LAN card to listen for the WOL command. Link to comment Share on other sites More sharing options...
wappinghigh Posted September 21, 2013 Author Share Posted September 21, 2013 ..waiting for Bruno the Brazilian and James from DD to sort this.. Link to comment Share on other sites More sharing options...
diamonddesign Posted September 22, 2013 Share Posted September 22, 2013 You've indicated Bruno's driver doesn't work on our version 1 but we are going to build one to work on our version 2 which is not far away. It will be free for our nas customers only (and will work with those only). A straight freenas port wont work perfectly (as you've seen) as we use a fork of freenas and its part that and part something totally different. I actually bought one of Bruno's drivers to see what features you were looking for, etc. and we should have a ddnas version next release but it will be for ddnas 2.0 and up only (we can remote upgrade you). Whether you leave it or not is up to you I suppose but the dd12 you have is a beast so I understand. It won't be till after cedia. Link to comment Share on other sites More sharing options...
wappinghigh Posted September 22, 2013 Author Share Posted September 22, 2013 ^ Awesome.Totally Awesome. Control of the beast.You've done it again Link to comment Share on other sites More sharing options...
bsalvador Posted September 22, 2013 Share Posted September 22, 2013 James,maybe I can help, if you need my source-code let me know.BRBruno Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.