Show Tempe temperature instead of internal watch temperature

In my Datarun Premium with 6 metrics datafield I have added current temperature as a metric. I was expecting to get temperature from a tempe when it would be connected, just like data from an external HR-band is prefered by the watch. However it shows the internal watch temperature.

I have used the example from the developer docs like this:

var sensorIter = getIterator();

...

    	        CFMValue = (sensorIter != null) ? sensorIter.next().data : 0;
        	    CFMLabel = "Temp";
            	CFMFormat = "1decimal";

Do I need to set it to another sensor in order to get the tempe temperature?

  • With a tempe, there are a couple variables - like can you pair it with the device.  Edge Devices don't support the tempe as a native sensor for example.

    To access it, you get the data from Sensor.Info, and in a DF, you need to use a background process to do that, meaning it can run at most every 5 minutes - but that's not so bad, as the tempe only updates the temperature every minute.  And on edge devices, that's the same way you get the temperature from the internal sensor.

    While you could do your own ANT interface,that means the tempe can't be paired as a native sensor, so you probably don't want to do that as that means the tempe data wouldn't be in the .fit.