Skip to content

RowsberryPi/PyRow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%