Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.66 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.66 KB

PyRow

Build Status Coverage Status License

PyRow is a Python package that allows one to interact with a Concept2 PM3, PM4 or PM5 monitors using python. PyRow aims to be easy to use and allow anyone to interact with Concept2 indoor rowers.

Installation

PyRow is supported on Python 3.3+. The recommended way to install PyRow is via pip

pip install pyrow

For instructions on installing python and pip see "The Hitchhiker's Guide to Python" Installation Guides.

Quickstart

Assuming that you have connected the indoor rower via USB you can instantiate an instance of PerformanceMonitor like so

from pyrow.performance_monitor import PerformanceMonitor
ergs = list(PerformanceMonitor.find())
erg = PerformanceMonitor(ergs[0])

Then using the PerformanceMonitor instance, you can interact with the indoor rower

workout = erg.get_workout()
while workout.get_status() == 1:
    monitor = erg.get_monitor()
    print(monitor.get_time())
    print(monitor.get_distance())
    print(monitor.get_spm())
    print(monitor.get_pace())
    workout = erg.get_workout()

Documentation

TODO

License

Licensed under the Simplified BSD License.