Jump to content
C4 Forums | Control4

Simple on/off driver for DDNas


wappinghigh

Recommended Posts

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 software

Can anybody help me here?

Cheers

:)

Link to comment
Share on other sites


^ 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

Check our my FREENAS driver for control4, it is designed to work with FREENAS 9.1.

www.control4hacks.com

The 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

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

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

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 script

telnet://<user>:<password>@<host>:<port>/poweroff

That'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=15174

http://www.control4.com/documentation/Composer_Pro_User_Guide/example__using_snmp_configuration_agent.htm

On 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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.