cagnulein / qdomyos-zwift

Zwift bridge for smart treadmills and bike/cyclette
https://www.qzfitness.com/
GNU General Public License v3.0
431 stars 117 forks source link

[REQ] Adding support for Daum Electronic bikes #1157

Open johanlovgren opened 1 year ago

johanlovgren commented 1 year ago

A great addition to qdosmyos-zwift would be to add support for Daum Electronic bikes.

They have both treadmills and bikes, but I personally have a Ergo Bike 8008 TRS and a Premium 8i, and I think it would be great if (at least) they were supported.

The 8008 TRS bike can communicate over a RS232 cable and the Premium 8i bike communicates over TCP. The communication protocols are well documented and can be found here: 8008 TRS communication protocol (unfortunately in German) Premium 8i communication protocol

cagnulein commented 1 year ago

Hi @johanlovgren sure! Are you gonna use QZ on android? Because for the rs232 we need an ftdi adaptor as I did for #1085

cagnulein commented 1 year ago

https://github.com/GoldenCheetah/GoldenCheetah/blob/cabe078453cbe8e136b8adf8d4187a5be878671b/src/Train/Daum.cpp

johanlovgren commented 1 year ago

Hi @johanlovgren sure! Are you gonna use QZ on android? Because for the rs232 we need an ftdi adaptor as I did for #1085

I'm planning to run QZ on a macOS device, then connect the rs232 using a rs232-usb converter.

I'm doing this in my current setup where I run my own built bridge-application for transmitting the data from the bike over ANT+. But now I'm planning to run Zwift on an AppleTV, meaning that I have to look for other protocols than ANT+. So I found QZ when doing research for that.

cagnulein commented 1 year ago

hah ok perfect! it's a intel mac or a m1 one?

johanlovgren commented 1 year ago

I'll be running it on an intel.

cagnulein commented 1 year ago

@johanlovgren since in order to build for an intel mac i need to run my old mac book air, is it possible that, only for the test purposing, using an android device, connecting the ftdi cable?

johanlovgren commented 1 year ago

@johanlovgren since in order to build for an intel mac i need to run my old mac book air, is it possible that, only for the test purposing, using an android device, connecting the ftdi cable?

Unfortunately, I don't own any Android devices.. But I can maybe build for my intel mac and test on my own, if that's any help?

cagnulein commented 1 year ago

yes sure, i will tell you when i will be ready

cagnulein commented 1 year ago

@johanlovgren PR created. I commented it there

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

cagnulein commented 1 year ago

any news?

johanlovgren commented 1 year ago

Unfortunately not, I've been quite busy lately. Can't say when I get time to take a look at it either. I'll ping you when I got something.