Package: hddtempnc
HDDtempNCVersion1.3.0Changeshttps://github.com/viharm/HDDtempNC/pull/4/commitsDownloadhttps://github.com/viharm/HDDtempNC/releasesIssueshttps://github.com/viharm/HDDtempNC/issuesLicenseModified BSD (3-clause)LanguagePythonHDDtempNCis a tool to acquire hard disk drive temperature fromhddtemp's network interface.It isPythonscript and requires a workingPythonenvironment. It depends a configured and workinghddtempdaemon on the system whose HDD temperatures are required.InstallPre-requisitesPython 2.x or 3.xWorking instance ofHDDtemprunning in daemon mode and listening on a TCP port (HDDtempneed not be running on the same host as the one runningHDDtempNC, however must be reachable via TCP port)DownloadPackageGet the package from the download linked above.Git cloneClone repository.git clone --recurse-submodules \
https://github.com/viharm/phpAria2rpc.gitRemember to clone recursively (--recurse-submodules) to ensure cloning the submodules.PyPIFrom version v1.3.0 onwards,HDDtempNCis available onPyPIand can be installed withpip(orpip3)DeploySave the downloaded directory structure in your choice of path within your application (plugins, includes, etc.)UsageHDDtempNCcan be used either from the command line or by calling it in another script/programCommand syntaxThe command syntax using long semantic arguments is as followshddtempnc.py --disk=/dev/<diskpath> [ --target=<hostname> ] [ --port=<HDDtemp port> ] [ --debug ] [ --help ]The command syntax using shortPOSIX-style arguments is as followshddtempnc.py -d /dev/<diskpath> [ -t <hostname> ] [ -p <HDDtemp port> ] [ -g ] [ -h ]Following parameters are available:ArgumentAlternative argumentDescriptionOptionalDefault-g--debugDebug to console/stdoutYesNone-t 192.168.0.30--target=server.localSpecify target host (IP address or resolvable host name)Yeslocalhost-p 3378--port=3698Specify target host's portYes7634-d /dev/sda--disk=/dev/sdaSpecify disk to interrogate (full device path)NoNone-h--helpShow helpYesNoneOptionsThe above command options are explained below. The sequence of parameters is not important.Disk-d <disk> (--disk=<disk>)Specify disk to interrogate by providing full path to the block deviceExample:/dev/sdaOptional: NoDefault value: NoneHost-t <host> (--target=<host>)Specify target host to interrogate.HDDtempmust be running on this host (in daemon mode) and listening on a TCP port.Examples:192.168.0.30,server.local,server.domain.tldOptional: YesDefault value:localhostPort-p <port> (--port=<port>)Specify target port to interrogate.HDDtempmust be listening on this port.Optional: YesDefault value:7634Debug-g (--debug)Enable debugging to console/stdoutOptional: YesDefault value: NoneRuntime help-h (--help)Show help and exit.Optional: YesDefault value: NoneExamplesCommand examplesLong parameters/usr/bin/python3 hddtempnc.py --disk=/dev/sda`
/usr/bin/python3 hddtempnc.py --target=192.168.0.20 --disk=/dev/sdb
/usr/bin/python hddtempnc.py --port=7630 --disk=/dev/sdc
/usr/bin/python hddtempnc.py --disk=/dev/sda --port=9000 --target=10.65.0.65Short parameters/usr/bin/python3 hddtempnc.py -d /dev/sda
/usr/bin/python3 hddtempnc.py -t 192.168.0.20 -d /dev/sdb
/usr/bin/python hddtempnc.py -p 7630 -d /dev/sdc
/usr/bin/python hddtempnc.py -d /dev/sda -p 9000 -t 10.65.0.65SupportFeature requests, bugs, issues and other comments can be created at the issues link provided at the top of this page.ContributePlease feel free to clone/fork and contribute via pull requests. Donations also welcome, simply create an issue by using the link provided at the top of this page.Please make contact for more information.EnvironmentsDeveloped on..Debian WheezyDebian JessieDebian StretchKnown to be working onDebian WheezyDebian JessieDebian StretchFreeBSD11.2-RELEASEWindows10Python3.7Linkshddtemphomehttp://www.guzu.net/linux/hddtemp.phphddtemponSavannahhttps://savannah.nongnu.org/projects/hddtemp/hddtempguide onArchwikihttps://wiki.archlinux.org/index.php/HddtempLicenseLicensed under the modified BSD (3-clause) license.A copy of the license is available...in the enclosedLICENSEfile.athttp://opensource.org/licenses/BSD-3-ClauseCreditsCodiadCodiadweb based IDE (https://github.com/Codiad/Codiad), used under a MIT-style license.Copyright (c) Codiad & Kent Safranski (codiad.com)CodeGitCodeGitGitplugin forCodiad(https://github.com/Andr3as/Codiad-CodeGit), used under a MIT-style license.Copyright (c) Andr3asandranode@gmail.comUngitUngitclient forGit(https://github.com/FredrikNoren/ungit) used under the MIT licenseCopyright (C) Fredrik NorÃ©nGitHubHosted byGitHubcode repository (github.com).