Skip to main content

Interface for controlling Trackmaster treadmills

Project description

Control a Trackmaster treadmill from Python, over a serial interface. Tested with Python 2.7 and 3.4.

To install:

pip install trackmaster

Example:

from time import sleep
from trackmaster import Treadmill

t = Treadmill('/dev/ttyUSB0')

t.speed = 6
sleep(60)
t.incline = 5
sleep(60)
t.incline = 10
sleep(60)
t.incline = 15
sleep(5 * 60)
t.auto_stop()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trackmaster-0.1.1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distributions

trackmaster-0.1.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

trackmaster-0.1.1-py2-none-any.whl (5.7 kB view details)

Uploaded Python 2

File details

Details for the file trackmaster-0.1.1.tar.gz.

File metadata

File hashes

Hashes for trackmaster-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e7eb22177c5da9652c49d63970a81d4f5fc2aef1a466144b0e77af5b699baf73
MD5 85d7bad3aacb88a9f4c654361a734534
BLAKE2b-256 858b352c65547736cb445342531f70a4b0d6dff337e5f6bce7ffe2520d131dc0

See more details on using hashes here.

File details

Details for the file trackmaster-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for trackmaster-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a2eb8ce514013663b69e7e8078a0d69ecd6124f5dc926390e5eff55a80a0e535
MD5 762cfdc745f4966cf177798152a59536
BLAKE2b-256 1080c6272b84d71d13bbca1c5f3d129e490c62285e98230ebe10f53ebf0993a2

See more details on using hashes here.

File details

Details for the file trackmaster-0.1.1-py2-none-any.whl.

File metadata

File hashes

Hashes for trackmaster-0.1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 d80c2f23df041a61ce376913528e95637137f88c2dd49b8739b794dfedd66ce4
MD5 ec63e44f4752146ce7ab9ed590e9fc6d
BLAKE2b-256 bdf4427f43e75e45d2e7470d9958372bf6ce3700246ea5d1b43577310ff8decc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page