Questions tagged [temperature]

A simple definition of temperature is that it is a measure of heat dissipation, This tag can include programming related questions like temperature conversion, temperature detection through device sensors etc.

The temperature of a device is a quantitative measure which indicates how hot or cold the device is, temperature sensitive sensors can be used to make an alarming signal and can be programmed in various programming languages. It is measured by detection of heat radiation by a temperature sensing material, which may be then calibrated in any of various temperature scales, Celsius, Fahrenheit, Kelvin, etc.

Usage of Tag temperature

The tag temperature on stackoverflow can be used to ask questions related to programming a device or application, to sense temperature of a room/device. Tag temperature should be only used for questions related to programming, Please do not ask here questions related to physics or thermodynamics.

624 questions
40
votes
1 answer

Python Weather API

How do I import weather data into a Python program?
Steven
  • 13,501
  • 27
  • 102
  • 146
34
votes
5 answers

Get CPU Temperature

I want to get the CPU temperature. Below is what I've done using C++ and WMI. I'm reading MSAcpi_ThermalZoneTemperature, but it's always the same and it's not the CPU temperature at all. Is there any way to get the real temperature of the CPU…
Johnny Mnemonic
  • 3,822
  • 5
  • 21
  • 33
30
votes
7 answers

Accessing CPU temperature in python

I need an example code for accessing CPU temperature in python. I'm running windows 7, BTW.
rectangletangle
  • 50,393
  • 94
  • 205
  • 275
29
votes
12 answers

Getting CPU temperature using Python?

How do I retrieve the temperature of my CPU using Python? (Assuming I'm on Linux)
jamieb
  • 9,847
  • 14
  • 48
  • 63
22
votes
3 answers

CPU temperature monitoring

For a programming project I would like to access the temperature readings from my CPU and GPUs. I will be using C#. From various forums I get the impression that there is specific information and developer resources you need in order to access that…
Paul
  • 347
  • 1
  • 2
  • 12
20
votes
6 answers

Get CPU temperature in CMD/POWER Shell

In my computer I am trying to get the CPU temperature. Searching on StackOverflow I found this: C:\WINDOWS\system32>wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CurrentTemperature But I get this error: Node -…
utkroza blue
  • 201
  • 1
  • 2
  • 3
19
votes
1 answer

What are the units for battery temperature and voltage when Intent.BATTERY_ACTION_CHANGED on android device?

I retrieved battery temperature and voltage information using the intent Intent.ACTION_BATTERY_CHANGED and the values I got are pretty weird. I could not get any clue: temperature=270 and voltage=3782! What are these values? Do they have any units…
Ashok Jeev
  • 727
  • 3
  • 11
  • 14
18
votes
5 answers

Get temperature of battery on android

How do I get the temperature of the battery in android?
Christian
  • 25,249
  • 40
  • 134
  • 225
18
votes
4 answers

Set background color based on outdoor temperature

Heyoh SO, I have a temperature widget to implement on a project I am working on. Nothing is specially difficult, I've got a free API to retrieve the datas that I need ect. BUT, the lovely designer who works with me would have a color feature for…
Flo Schild
  • 5,104
  • 4
  • 40
  • 55
15
votes
5 answers

Display temperature as a color with C#?

Someone knows an algorithm that gets temperatue in Kelvin/Celsius and returns RGB? Like in thermal cameras. I found some links : http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html http://www.fourmilab.ch/documents/specrend/specrend.c But i…
Danpe
  • 18,668
  • 21
  • 96
  • 131
14
votes
3 answers

Has anyone been able to use libsensors properly?

Long story short I am trying to write an application that can check cpu temperatures. Using the libsensors(3) man pages I've been able to at least get the libsensors_version number. As of now, here is my code: #include #include…
CountMurphy
  • 1,086
  • 2
  • 18
  • 39
14
votes
9 answers

Is there any Android api to find/sense room temperature programmatically in android code?

I am developing an android app for my project, I need to find room temperature as part of it. I am using Droid 2 A955 model for testing. My Questions are: What sensors need to be available in my Android phone to perform this temperature sensing…
talasila
  • 268
  • 1
  • 3
  • 9
14
votes
3 answers

How to get CPU temperature and fan speed on OS X?

How do I get CPU temperature and fan speeds in OS X? I understand that information is obtained from IOHWSensor in IOKit, but I'm unable to find any reliable information on how to exactly do that. I've found an article with a sample program -…
Lajcik
  • 306
  • 1
  • 2
  • 10
13
votes
5 answers

Node JS, Read CPU temperature

I am currently working on a project where I want to read the temperature of my CPU but I do not know how to it properly without using external programs such as "CpuTemp" etcetera. According to some sources I should be able to use Node JS together…
darclander
  • 1,526
  • 1
  • 13
  • 35
13
votes
2 answers

How to read GPU (graphic card) temperature?

I am interested in a way how to read GPU temperature (graphics processing unit, main chip of graphic card), by using some video card driver API? Everyone knows that there two different chip manufacturers (popular ones, at least) - ATI and nVIDIA -…
mr.b
  • 4,932
  • 11
  • 38
  • 55
1
2 3
41 42