lehrblogger / SpinScript

Watch TV shows during Peloton rides

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Background

If I want to watch and listen to my other content during Peloton rides, how can I know the current target cadence, resistance, and/or zone?

  • The on-screen ranges help, but are not always accurate, and I haven't seen them for Power Zone rides (which I like most).
  • Muting the bike and turning on ride subtitles almost works, but the instructors talk a lot, and it's hard to skim that while also paying attention to your cadence and watching something else.

Usage Notes

  1. Create JSON data for your rides in data/rides.js as in the template object.
  2. Download the Sciptable iOS app.
  3. Make sure iCloud Drive is enabled on your Mac and iPhone/iPad.
  4. Copy the project files (preserving the directory structure) into the Scriptable folder in iCloud Drive, or try the following command to copy them automatically: cp -R ~/Documents/Projects/2021\ spinscript/* ~/Library/Mobile\ Documents/iCloud\~dk\~simonbs\~Scriptable/Documents/. If there's an error about a missing data/rides.js file, trigger the download by opening that directory in the Files app on the iPhone or iPad, and try again.

You can use it on an iPhone and iPad at the same time, by simultaneously tapping to start the rides. This can be useful if you want to watch something on the iPad and a) feel vibrations on your Apple Watch with each notification, and b) see recent notifications on your iPhone lock screen without interrupting whatever you have on your iPad.

You can hang an iPad in front of your Peloton screen using something like this on Etsy, and/or attach your phone to your handlebars with something like this on Amazon.

Future Improvements

  • Add some default rides.
  • Make the notifications less verbose.
  • Use the iOS picture-in-picture or Live Activity APIs instead of notifications, to make it easier to see the current and next instruction.

About

Watch TV shows during Peloton rides


Languages

Language:JavaScript 100.0%