HC Webhook
HC Webhook+Home Assistant
Home Assistant Integration

Bring your health data into Home Assistant.

HC Webhook posts Health Connect metrics to your Home Assistant webhook automation. Display steps on a Lovelace dashboard, dim lights when sleep is poor, or trigger routines based on your daily activity — all locally, with no cloud.

Get it on Google Play
Setup

Up and running in minutes.

Create a Webhook automation in HA

In Home Assistant, go to Settings > Automations and create a new automation with "Webhook" as the trigger. Copy the webhook ID URL.

Add the URL to HC Webhook

Paste your Home Assistant webhook URL into HC Webhook. Select the data types (steps, sleep, heart rate) you want to forward.

Use the data in HA

Store incoming values as input_number or template sensors. Display them on Lovelace cards or trigger automations based on thresholds.

Ideas

What you can build.

Steps on Lovelace Dashboard

Show today's step count on a Lovelace gauge or entity card. See your progress at a glance from any Home Assistant screen.

Sleep-Based Morning Routine

If last night's sleep was under 7 hours, dim the lights and skip the alarm sound for a gentler wake-up.

Heart Rate Alerts

Trigger a Home Assistant notification or TTS announcement if your resting heart rate exceeds a configured threshold.

Activity-Triggered Automations

Detect exercise sessions from Health Connect and automatically adjust your thermostat or start a recovery playlist.

Grafana Health Panels

Write HA sensor states to InfluxDB and visualize health trends alongside home energy and sensor data in Grafana.

End-of-Day Health Summary

Use an automation to announce your daily step count and sleep goal status via a smart speaker at a set time each evening.

Payload

Clean JSON. Every time.

Each sync posts one JSON object to your endpoint containing all selected data types as arrays. Only types with new data are included.

{
  "timestamp": "2026-01-15T23:59:59Z",
  "app_version": "1.7.1",
  "steps": [
    {
      "count": 8432,
      "start_time": "2026-01-15T00:00:00Z",
      "end_time": "2026-01-15T23:59:59Z"
    }
  ],
  "heart_rate": [
    { "bpm": 72, "time": "2026-01-15T08:30:00Z" },
    { "bpm": 68, "time": "2026-01-15T14:00:00Z" }
  ],
  "sleep": [
    {
      "session_end_time": "2026-01-15T07:00:00Z",
      "duration_seconds": 27000,
      "stages": [
        { "stage": "deep", "start_time": "...", "end_time": "...", "duration_seconds": 5400 }
      ]
    }
  ]
}

Ready to connect Home Assistant to Health Connect?

No account required. Your data stays on your device.

Get it on Google Play