Skip to main content

Heart Rate (lamp.heart_rate)

Records heart rate readings, typically from a smartwatch's optical heart rate sensor.

Configuration​

  • SensorSpec: lamp.heart_rate
  • Sampling: Continuous (events synced from health platform)
  • Platform: iOS (HealthKit), Android (Health Connect)
  • Typical source: Apple Watch, WearOS watch
  • Requirements: Connected wearable with heart rate sensor; health platform permissions granted

Usage​

Heart rate readings are recorded periodically by the wearable and synced via the health platform. Frequency depends on the wearable's measurement schedule (typically every few minutes, more frequently during workouts).

Data​

Fields​

FieldTypeDescription
valuenumberHeart rate in beats per minute (bpm)
unitstring"bpm"
sourcestring or nullData source identifier

Example​

{
"timestamp": 1649859212042,
"sensor": "lamp.heart_rate",
"data": {
"value": 72,
"unit": "bpm",
"source": "com.apple.health"
}
}

Cortex Features​

No Cortex features currently process heart rate data. Access raw values via cortex.raw.heart_rate.

View in Portal | Python SDK | API Reference