Zohar Posted February 16, 2009 Posted February 16, 2009 (edited) Hi How do I get the harddisk drive's temperature? Edited March 2, 2009 by Zohar
BrettF Posted February 16, 2009 Posted February 16, 2009 Hi, This can be done using WMI I believe using MSAcpi_ThermalZoneTemperature. Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
JRowe Posted February 16, 2009 Posted February 16, 2009 (edited) You'll need to either get a 3rd party program that does it and interface with that, or find a driver specific to your chipset. It's not something that Windows monitors right off the bat. (Hard Drive temperature. CPU temp is monitorable.) Edited February 16, 2009 by JRowe [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center]
BrettF Posted February 16, 2009 Posted February 16, 2009 But...http://www.planet-source-code.com/vb/scrip...97&lngWId=1 Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
JRowe Posted February 16, 2009 Posted February 16, 2009 Hey, cool. Hadn't encountered that one before, and thought I'd researched fairly thoroughly. Thanks for the link, BrettF! [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center]
BrettF Posted February 16, 2009 Posted February 16, 2009 No problemo Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
ChrisL Posted February 16, 2009 Posted February 16, 2009 If your drive supports SMART then you can use WMI to get teh SMART values one of which is temperaturehttp://www.autoitscript.com/forum/index.ph...55&hl=SMARTRead all the pages!! [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
Zohar Posted February 16, 2009 Author Posted February 16, 2009 Hi Thank you! CrhisL: looks cool, but it seems that the S.M.A.R.T. option requires an additional program.. on the other hand BrettF's method will not need an additional program. BrettF: any chance you got that code in AutoIt?
BrettF Posted February 16, 2009 Posted February 16, 2009 Didn't have time to look, and the CPU one didn't work on my system so its probably not compatible with me... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
ChrisL Posted February 16, 2009 Posted February 16, 2009 HiThank you!CrhisL: looks cool, but it seems that the S.M.A.R.T. option requires an additional program..on the other hand BrettF's method will not need an additional program.BrettF: any chance you got that code in AutoIt?You didn't read all the pages like I told you, later on in the topic it uses WMI to get the smart data, no external tools required [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
BrettF Posted February 16, 2009 Posted February 16, 2009 Page 2, post 2 on that page... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Zohar Posted March 3, 2009 Author Posted March 3, 2009 I went over the code, and I must admit, It is not easy to isolate the part that I need.. Is there a chance anyone has done it, and can paste it here? I just need to check the HDD temperture, and I will do it every several minutes(automatically), so I can Alert in case the temp exceeds a defined threshold.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now