Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Have event ghost spin up/down hard drives?

If you have a question or need help, this is the place to be.
Post Reply
etc6849
Posts: 21
Joined: Fri Dec 28, 2012 5:12 pm

Have event ghost spin up/down hard drives?

Post by etc6849 »

I'm wondering if anyone has any ideas on how to have EG spin up/down non-system hard drives. The drives are SATA drives in the same PC that is running EG and use an LSI SAS 9201-16i controller. I'm using Flexraid to pool the drives, so they appear as one drive to windows. The drives are used in an HTPC environment and only need to spin up when media is needed to play.

My goal is to have the drives spin down after a special EG event is received from my home automation server (e.g. something similar to a "theater off" command). Then, they would spin up later when requested by windows or by EG.

I've already wrote and implemented the EG module to work with my home automation server (Premise) and use it to display caller id info, turn off the monitors, etc...

I just need a tool that can spin drives up/down under Windows via Python or windows command line. Then I'd write an EG module to use that tool. A perl or vbscript method would work as I can use that with my home automation software pretty easily too.

Thanks in advance!
FREE Premise home automation software: http://www.cocoontech.com/wiki/Premise
Download: http://www.mediapcforums.com/node/7
Open-source VRC0P (Z-Wave) driver:
https://code.google.com/p/zwave-driver- ... %2FViziaRF
V_J
Experienced User
Posts: 165
Joined: Tue Mar 04, 2014 9:00 am

Re: Have event ghost spin up/down hard drives?

Post by V_J »

There are command line tools that can spin down a harddisk, e.g. http://hddscan.com/ (I never used it myself! So I don't know how good this tool is)
Another option might be to have EventGhost set the hdd spin down time (e.g. to one minute), but I'm not sure if that is possible.
Post Reply