Show CPU and MotherBoard temp through DomotiGa ?

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

Post Reply
SRG
Starting Member
Starting Member
Posts: 16
Joined: Fri Feb 12, 2010 9:36 pm
Location: MONTBELIARD
Contact:

Show CPU and MotherBoard temp through DomotiGa ?

Post by SRG »

Hello,
How could i dump the temp of a CPU and of the motherboard through DomotiGa ? (like HDD temp)
I just would like DomotiGa to send a "sensors" command and to parse the result, is there already something like that ? (haven't found on my side)

$ sensors
atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage: +1.13 V (min = +0.80 V, max = +1.60 V)
+3.3 Voltage: +3.33 V (min = +2.97 V, max = +3.63 V)
+5 Voltage: +5.04 V (min = +4.50 V, max = +5.50 V)
+12 Voltage: +11.93 V (min = +10.20 V, max = +13.80 V)
CPU FAN Speed: 1140 RPM (min = 600 RPM)
CHASSIS1 FAN Speed: 228 RPM (min = 600 RPM)
POWER FAN Speed: 314 RPM (min = 600 RPM)
CPU Temperature: +21.5°C (high = +60.0°C, crit = +95.0°C)
MB Temperature: +33.0°C (high = +45.0°C, crit = +95.0°C)
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: Show CPU and MotherBoard temp through DomotiGa ?

Post by RDNZL »

Hi, i guess code for this is easy to write. The digitemp module is a better template for this,
since this also uses a cli command to get the values. Hddtemp only connects to a socket instead, i donnt think sensors has a socket feature

You can start by copying the digitemp code and look at the example in the domotiga.nl wiki what to adjust next.
If you need help let me know.

Regards ron.
Regards, Ron.
Post Reply

Return to “DomotiGa Forum”