Coder Social home page Coder Social logo

spinscript's Introduction

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.

spinscript's People

Contributors

lehrblogger avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.