Hi.
Is that possible to get HR history values from like last 4h on Forerunner 245 and new devices?
Hi.
Is that possible to get HR history values from like last 4h on Forerunner 245 and new devices?
Yes, by way of SensorHistory, but getHeartRateHistory is the only one. getTemperatureHistory, getElevationHistory and getPressureHistory aren't available because there's no baro altimeter.
You…
The documentation can be behind in lists like this, and in this case, way behind. Not only the 245 is missing, but the 945, F5+ devices, f6 device, the va4 devices, the venu, and more.
When in doubt use…
Yes, by way of SensorHistory, but getHeartRateHistory is the only one. getTemperatureHistory, getElevationHistory and getPressureHistory aren't available because there's no baro altimeter.
You can also get HR history from the ActivityMonitor and not use SensorHistory.
Many thanks for the help.
About SensorHistory, on the documentation it says it does not support Forerunner 245, hence my question:
The documentation can be behind in lists like this, and in this case, way behind. Not only the 245 is missing, but the 945, F5+ devices, f6 device, the va4 devices, the venu, and more.
When in doubt use "has".
hasSH=(Toybox has :SensorHistory);
if(hasSH) {
if(SensorHistory has :getHeartRateHistory) {
of if using ActivityMonitor:
hasHr=(ActMon has :getHeartRateHistory);