Difference between revisions of "Display HDD temperature in web interface"

From BubbaWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<blockquote>'''Note''': These pathes does not work any more. It is however possible to look inside them and make manual changes in the local files. This functionaloity is planned to be incliuded in version 2.5 of the software from Excito. </blockquote>  
<blockquote>'''Note''': As of software version 2.5 from Excito this is included in the official release. No need to do any changes.Maybe this page could/should be moved to an "archive"?<br></blockquote>  
<br>  
<br>  



Latest revision as of 09:28, 1 July 2012

Note: As of software version 2.5 from Excito this is included in the official release. No need to do any changes.Maybe this page could/should be moved to an "archive"?


Hi,

I think it's nice to be able to see the HDD temperature in the web portal and started digging around. I found out that you already have the functionallity but it doesn't seem to be used anywhere (navigate to http://b3.local/admin/stat/info to get the JSON data). Hence I decided to hack it in myself.

I've attached the patch incase anyone else is interested in seeing it as well. Just make sure you have hddtemp installed (apt-get install hddtemp).

Transfer the patch to your bubba and ssh in. Then do:

su (use password 'excito')
apt-get update
apt-get install hddtemp
apt-get install patch
cd /usr/share/web-admin/
wget download.excito.net/software/gui_hdd.patch
patch --verbose -p0 < /usr/share/web-admin/gui_hdd.patch


The result:

Gui patch.jpeg


Note: This howto was copied by Excito with the writers permission from our forum, and originally written by [vEX]. Our warmest thanks to him/her for this contribution!