Skip to content

garanj/wearwind

Repository files navigation

Wearwind

Control your Wahoo Headwind fan from a Wear OS 3 watch.

Connect to Headwind

Wearwind

Background

The Headwind fan features a Bluetooth GATT service, which, among other things, allows remote:

  • Turning on and off of the fan
  • Setting the fan speed

This project uses the Bluetooth functionality of your Wear OS watch to connect to the Headwind service, and control it.

Optionally, instead of manually setting the speed through up/down swipes, the wrist HR sensor can be used such that fan speed increases as HR does.

Setup and use

  1. Clone this project
  2. Open in Android Studio
  3. Build
  4. Deploy to your Wear OS device.
  5. Hop on your bike trainer, launch the app on your watch, and power on the fan!

Setting up HR zones

The settings menu allows you to configure two points: A HR/speed min and a HR/speed max.

  • When your HR is at or below the min, the speed will be set to the min value.
  • When your HR is at or above the max, the speed will be set to the max value.
  • When your HR is between the min and max, the speed will operate on a linear sliding scale between the min and max speed, according to your HR value.

License

This project makes extensive use of Punchthrough Android BLE starter, which is released under the Apache 2.0 license.

This code can be seen in the com.punchthrough.ble package in the repository.

Privacy policy

This app collects no personal data of any kind.

About

Controls your Wahoo Headwind using Wear OS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages