Peloton Sensor for homeassistant
This is a custom component to expose Peloton workout data to Homeassistant.
- 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
UI Configuration is in the works, but for now this requires YAML configuration of credentials.
sensor:
- platform: peloton
username: thedude
password: paSSw0rd
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 }}
- 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