Coder Social home page Coder Social logo

kettler-tcx's Introduction

kettler-tcx

Generate tcx files from Kettler ergometer

#Status Alpha. Basic functionality is implemented, no user interface or commandline options, some features missing.

#Installation Nothing fancy. Download in some folder...

#Usage Connect Kettler Ergometer with usb or serial port. Set serial port in source code, if necessary. Defaults to '/dev/ttyUSB0'.

Start record.py. The script resets the ergometer and waits for activity (timer on ergometer starts running). The script records until activity stops (timer on ergometer does not change for 5 seconds). Afterwards the workout is saved to workout.tcx (will be changed later)

kettler-tcx's People

Contributors

knallio avatar oliver-ger avatar

Stargazers

 avatar Tomáš Lipovský avatar Nicolas Mauge avatar

Watchers

 avatar giovanne avatar

Forkers

neibi oliver-ger

kettler-tcx's Issues

Questions on behaviour with on Ergometer started programs?

Are you still using your solution?
I'm using your python with little modifications (logging to mysql) for simple recording my adhoc sessions. Start record.py, go on ergometer, start cycling, use the ergometer button to increase/decrease power, stop cycling, recory.py stops.
Working very well :-)

Questions:
Is it possible to use your record.py to record/logging also when I use the kettler programs on the ergometer itself?
And how to do it, because the record.py first resets the device?
Do I have to start the program after record.py is started?
[is it related to: https://github.com//issues/1]??
Update: is working, start record.py and then select program and start ... :)

And do you thing it would be possible/complicated to also define an own program outside of the ergometer e.g. an xml or json, then record.py uses this program to control the kettler device and also logs the session like before?

Internal calculation of max and avg values

Average calculation between ergometer and endomondo differs since the ergometer takes only relevant data points (i.e. with values) into account. Endomondo uses all data points. Especially for heart rate=0 not usefull.
Question: Does endomondo use the avg values in the tcx files?

Recorder starts when program on ergometer is selected

When a program gets selected on the ergometer, the time in the status response is equal to the program time. This is >0 and triggers the recording.
In addition one can assume (not tested yet) that the time counts down to zero, this is not handled in the recording script.

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.