Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 1.44 KB

info.md

File metadata and controls

49 lines (41 loc) · 1.44 KB

Peloton Sensor for homeassistant

This is a custom component to expose Peloton workout data to Homeassistant.

Overview

  • Sensor state shows either Complete or In Progress
  • State Attributes include:
    • Duration
    • Leaderboard Rank
    • Output
    • Distance
    • Calories
    • Heart Rate (Current, Average, Max)
    • Resistance (Current, Average, Max)
    • Speed Mph/Kph (Current, Average, Max)
    • Cadence (Current, Average, Max)
    • Power (Current, Average, Max)
    • Instructor

Configuration

UI Configuration is in the works, but for now this requires YAML configuration of credentials.

sensor:
  - platform: peloton
    username: thedude
    password: paSSw0rd

Additional Sensors via Templating

Sometimes it's easier to work with the state directly, which will retain state history via the recorder.

sensor:
  - platform: template
    sensors:
    power_output:
      friendly_name: "Power Output"
      value_template: >
        {{ states.sensor.peloton_username.attributes.Power }}

Use Cases

  • Automate lights and fans when you start or end a workout, or when your output exceeds a certain threshold.
  • Motovation - make HomeAssistant remind you to workout!
  • Export your ride stats to InfluxDB via HomeAssistant

Useful links