Coder Social home page Coder Social logo

tread's Introduction

tread

tread's People

Contributors

primed-lan-laucirica avatar

Watchers

Sullivan Myer avatar

tread's Issues

Tread prototype

This is a bare-bones treadmill app prototype that connects to an under-desk treadmill and displays simple controls and treadmill state, session info, and session history. The app has three tabs: Connect, Sessions, and Current Session. The connect tab allows Bluetooth scan and connect to treadmill devices, the session tab displays a list of past sessions with duration and distance metrics, and the current session tab allows a user to create a new session, start/stop the treadmill, + and - speed, and displays the total distance traveled and current speed of the treadmill.

For testing the app we can use the following treadmill Address and UUID info:

TREADMILL_ADDRESS = "4F:98:56:B5:52:5B"

  • Characteristic UUIDs TREADMILL_DATA_UUID = "00002acd-0000-1000-8000-00805f9b34fb"
  • TRAINING_STATUS_UUID = "00002ad3-0000-1000-8000-00805f9b34fb"
  • SPEED_RANGE_UUID = "00002ada-0000-1000-8000-00805f9b34fb"

Here are the complete Service and Characteristic UUID features:
Service: 00001800-0000-1000-8000-00805f9b34fb (Generic Access)
Characteristic: 00002a00-0000-1000-8000-00805f9b34fb (Device Name)
Service: 0000180a-0000-1000-8000-00805f9b34fb (Device Information)
Characteristic: 00002a51-0000-1000-8000-00805f9b34fb (Serial Number String)
Characteristic: 00002a5d-0000-1000-8000-00805f9b34fb (IEEE 11073-20601 Regulatory Certification Data List)
Characteristic: 00002a25-0000-1000-8000-00805f9b34fb (Serial Number String)
Characteristic: 00002a23-0000-1000-8000-00805f9b34fb (System ID)
Characteristic: 00002a29-0000-1000-8000-00805f9b34fb (Manufacturer Name String)
Characteristic: 00002a24-0000-1000-8000-00805f9b34fb (Model Number String)
Characteristic: 00002a27-0000-1000-8000-00805f9b34fb (Hardware Revision String)
Characteristic: 00002a28-0000-1000-8000-00805f9b34fb (Software Revision String)
Service: 0000fff0-0000-1000-8000-00805f9b34fb (Unknown vendor-specific service)
Characteristic: 0000fff1-0000-1000-8000-00805f9b34fb (Unknown vendor-specific characteristic)
Characteristic: 0000fff2-0000-1000-8000-00805f9b34fb (Unknown vendor-specific characteristic)
Service: 00001826-0000-1000-8000-00805f9b34fb (Fitness Machine)
Characteristic: 00002acc-0000-1000-8000-00805f9b34fb (Fitness Machine Feature)
Characteristic: 00002acd-0000-1000-8000-00805f9b34fb (Treadmill Data)
Characteristic: 00002ad3-0000-1000-8000-00805f9b34fb (Training Status)
Characteristic: 00002ada-0000-1000-8000-00805f9b34fb (Supported Speed Range)
Characteristic: 00002ad9-0000-1000-8000-00805f9b34fb (Supported Inclination Range)
Characteristic: 00002ad4-0000-1000-8000-00805f9b34fb (Supported Resistance Level Range)
Characteristic: 00002ad5-0000-1000-8000-00805f9b34fb (Supported Heart Rate Range)
Characteristic: 00002ad6-0000-1000-8000-00805f9b34fb (Supported Power Range)
Characteristic: 00002ad8-0000-1000-8000-00805f9b34fb (Supported Step Rate Range)

This is a python app running on windows 10 pro, Automatically scan for devices, but also provide a scan button in case the device was not ready for the autoscan, display, and increment the speed in MPH 0.1 increments

Tread prototype initial commit

This is a bare-bones treadmill app prototype that connects to an under-desk treadmill and displays simple controls and treadmill state, session info, and session history. The app has three tabs: Connect, Sessions, and Current Session. The connect tab allows Bluetooth scan and connect to treadmill devices, the session tab displays a list of past sessions with duration and distance metrics, and the current session tab allows a user to create a new session, start/stop the treadmill, + and - speed, and displays the total distance traveled and current speed of the treadmill. This is the initial commit for the project, so your commit should include any dependencies in a requirements.txt file (bleak for example). Make an attempt at complete functionality in this initial commit.

For testing the app we can use the following treadmill Address and UUID info:

TREADMILL_ADDRESS = "4F:98:56:B5:52:5B"

Characteristic UUIDs TREADMILL_DATA_UUID = "00002acd-0000-1000-8000-00805f9b34fb"
TRAINING_STATUS_UUID = "00002ad3-0000-1000-8000-00805f9b34fb"
SPEED_RANGE_UUID = "00002ada-0000-1000-8000-00805f9b34fb"
Here are the complete Service and Characteristic UUID features:
Service: 00001800-0000-1000-8000-00805f9b34fb (Generic Access)
Characteristic: 00002a00-0000-1000-8000-00805f9b34fb (Device Name)
Service: 0000180a-0000-1000-8000-00805f9b34fb (Device Information)
Characteristic: 00002a51-0000-1000-8000-00805f9b34fb (Serial Number String)
Characteristic: 00002a5d-0000-1000-8000-00805f9b34fb (IEEE 11073-20601 Regulatory Certification Data List)
Characteristic: 00002a25-0000-1000-8000-00805f9b34fb (Serial Number String)
Characteristic: 00002a23-0000-1000-8000-00805f9b34fb (System ID)
Characteristic: 00002a29-0000-1000-8000-00805f9b34fb (Manufacturer Name String)
Characteristic: 00002a24-0000-1000-8000-00805f9b34fb (Model Number String)
Characteristic: 00002a27-0000-1000-8000-00805f9b34fb (Hardware Revision String)
Characteristic: 00002a28-0000-1000-8000-00805f9b34fb (Software Revision String)
Service: 0000fff0-0000-1000-8000-00805f9b34fb (Unknown vendor-specific service)
Characteristic: 0000fff1-0000-1000-8000-00805f9b34fb (Unknown vendor-specific characteristic)
Characteristic: 0000fff2-0000-1000-8000-00805f9b34fb (Unknown vendor-specific characteristic)
Service: 00001826-0000-1000-8000-00805f9b34fb (Fitness Machine)
Characteristic: 00002acc-0000-1000-8000-00805f9b34fb (Fitness Machine Feature)
Characteristic: 00002acd-0000-1000-8000-00805f9b34fb (Treadmill Data)
Characteristic: 00002ad3-0000-1000-8000-00805f9b34fb (Training Status)
Characteristic: 00002ada-0000-1000-8000-00805f9b34fb (Supported Speed Range)
Characteristic: 00002ad9-0000-1000-8000-00805f9b34fb (Supported Inclination Range)
Characteristic: 00002ad4-0000-1000-8000-00805f9b34fb (Supported Resistance Level Range)
Characteristic: 00002ad5-0000-1000-8000-00805f9b34fb (Supported Heart Rate Range)
Characteristic: 00002ad6-0000-1000-8000-00805f9b34fb (Supported Power Range)
Characteristic: 00002ad8-0000-1000-8000-00805f9b34fb (Supported Step Rate Range)

This is a python app running on windows 10 pro, Automatically scan for devices, but also provide a scan button in case the device was not ready for the autoscan, display, and increment the speed in MPH 0.1 increments

Tread prototype initial commit bleak full

This is a bare-bones treadmill app prototype that connects to an under-desk treadmill and displays simple controls and treadmill state, session info, and session history. The app has three tabs: Connect, Sessions, and Current Session. The connect tab allows Bluetooth scan and connect to treadmill devices, the session tab displays a list of past sessions with duration and distance metrics, and the current session tab allows a user to create a new session, start/stop the treadmill, + and - speed, and displays the total distance traveled and current speed of the treadmill. This is the initial commit for the project, so your commit should include any dependencies in a requirements.txt file (bleak for example). Make an attempt at complete functionality in this initial commit.

For testing the app we can use the following treadmill Address and UUID info:

TREADMILL_ADDRESS = "4F:98:56:B5:52:5B"

Characteristic UUIDs TREADMILL_DATA_UUID = "00002acd-0000-1000-8000-00805f9b34fb"
TRAINING_STATUS_UUID = "00002ad3-0000-1000-8000-00805f9b34fb"
SPEED_RANGE_UUID = "00002ada-0000-1000-8000-00805f9b34fb"
Here are the complete Service and Characteristic UUID features:
Service: 00001800-0000-1000-8000-00805f9b34fb (Generic Access)
Characteristic: 00002a00-0000-1000-8000-00805f9b34fb (Device Name)
Service: 0000180a-0000-1000-8000-00805f9b34fb (Device Information)
Characteristic: 00002a51-0000-1000-8000-00805f9b34fb (Serial Number String)
Characteristic: 00002a5d-0000-1000-8000-00805f9b34fb (IEEE 11073-20601 Regulatory Certification Data List)
Characteristic: 00002a25-0000-1000-8000-00805f9b34fb (Serial Number String)
Characteristic: 00002a23-0000-1000-8000-00805f9b34fb (System ID)
Characteristic: 00002a29-0000-1000-8000-00805f9b34fb (Manufacturer Name String)
Characteristic: 00002a24-0000-1000-8000-00805f9b34fb (Model Number String)
Characteristic: 00002a27-0000-1000-8000-00805f9b34fb (Hardware Revision String)
Characteristic: 00002a28-0000-1000-8000-00805f9b34fb (Software Revision String)
Service: 0000fff0-0000-1000-8000-00805f9b34fb (Unknown vendor-specific service)
Characteristic: 0000fff1-0000-1000-8000-00805f9b34fb (Unknown vendor-specific characteristic)
Characteristic: 0000fff2-0000-1000-8000-00805f9b34fb (Unknown vendor-specific characteristic)
Service: 00001826-0000-1000-8000-00805f9b34fb (Fitness Machine)
Characteristic: 00002acc-0000-1000-8000-00805f9b34fb (Fitness Machine Feature)
Characteristic: 00002acd-0000-1000-8000-00805f9b34fb (Treadmill Data)
Characteristic: 00002ad3-0000-1000-8000-00805f9b34fb (Training Status)
Characteristic: 00002ada-0000-1000-8000-00805f9b34fb (Supported Speed Range)
Characteristic: 00002ad9-0000-1000-8000-00805f9b34fb (Supported Inclination Range)
Characteristic: 00002ad4-0000-1000-8000-00805f9b34fb (Supported Resistance Level Range)
Characteristic: 00002ad5-0000-1000-8000-00805f9b34fb (Supported Heart Rate Range)
Characteristic: 00002ad6-0000-1000-8000-00805f9b34fb (Supported Power Range)
Characteristic: 00002ad8-0000-1000-8000-00805f9b34fb (Supported Step Rate Range)

This is a python app running on windows 10 pro, Automatically scan for devices, but also provide a scan button in case the device was not ready for the autoscan, display, and increment the speed in MPH 0.1 increments

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.