oldnapalm / vpower

ANT+ Virtual Power Meter
MIT License
17 stars 9 forks source link
ant-plus cadence cycling heart-rate-monitor indoor power-meter rowing speed-sensor

ANT+ Virtual Power Meter

Overview

This project implements "virtual power" for bicycle turbo trainers where the trainer or the attached bike has an ANT+ speed sensor. The calculated power is broadcasted as such on ANT+ (using python-ant) so that any head unit or app will see it as a power meter.

This version (forked from vpower by Darren Hague) is adapted to run on Windows.

The bot version is for testing purposes, you can set the power value in a slider.

The heartrate version broadcasts power based on heart rate, set the values in the file zones.csv

The cadence version broadcasts power based on cadence, set the values in the file cadence.csv

The row version supports the Concept2 Rowing Ergometer (uses PyRow). Thanks Jonathan Colledge for testing and debugging.

Even if the receiver app runs on the same computer, you will need two ANT+ sticks, because one device can't be used by two apps simultaneously.

Currently supported trainers:

It is easy to add a new trainer - just subclass AbstractPowerCalculator and implement the method power_from_speed(revs_per_sec). If your trainer is not there, please add it and submit a pull request.

Supported devices:

Warning: the Cycplus ANT Stick is not compatible, even though it uses the same Vendor ID and Product ID (0fcf:1008) as the ANTUSB2 Stick.

Running on Windows

Running from source code (Windows, Linux, macOS)