I have a user of my data fields, who would prefer me to allow for device Internal Temps to inform my dynamic hydration demand calc... rather than from Live Weather Temps... since the closest weather station is kilometers away from him. He knows this is still a bit problematic due to temp drift when the solar radiation bakes the device and elevates the reported temperature. But I understand his request.
Anyway: Toybox.Sensor.Info has a set of calls to gather sensor data. "temperature" is one of them.
But for some reason, this is not allowed for Data Fields. Intentional handicap by Garmin to reduce the ability to produce interesting data fields? Like not exposing gradient?
I think there is a way to get to Internal Temp using a service delegate and background process, but it would be a lot more efficient to allow us to simply grab the sensor data from an internal register like we can grab HR or Cadence or other data points.
Does anyone have sample code for grabbing Internal Device temps in a Data Field using background processing? Thanks!!