Hi, I'm developing a watch application that records an activity, and one of the metrics that has to be recorded is the temperature. In my Forerunner 745 everything works fine and the temperature is recorded with ActivityRecording.createSession.
session = ActivityRecording.createSession({ :name => "My activity name", :sport => ActivityRecording.SPORT_GENERIC, :subSport => ActivityRecording.SUB_SPORT_GENERIC });
But when I run an app on my Fenix 7 Pro, the temperature is not saved to the activity, and when I open it in Garmin Connect I do see only the heart rate and some of the other default metrics.
I've tried to use both, adding :sensorLogger to the createSession with enabled all of the sensors, and tried to use Sensor.setEnabledSensors([Sensor.SENSOR_TEMPERATURE]), but none of those worked for me. However during the activity the temperature is available and received through SensorHistory.getTemperatureHistory({ :period => 1 });
Please advise, thanks