Closed MailFranzel closed 3 years ago
Hello
It's probably the serial connection. Can you send a picture or a link of your model. Mine is an older ergo race (1 ?) with an USB port on the bike. Sound strange that the second version is using an old serial.
Emmanuel
Le mer. 30 sept. 2020 à 19:02, MailFranzel notifications@github.com a écrit :
Hi @360manu https://github.com/360manu, I use a PI3 B with the internal Bluetooth and Wifi ... I installed Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-1019-raspi aarch64). It works fine. My "bike" is a Kettler ErgoRacer 2 with a seriell connector and a Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC ... -> it is working with your program. In zwift I can connect Bluetooth an see the two sections, but I have no values in ---> 0 Watts; also when I riding the bike I see 0 watts. Do you have a idea want I have to change ? Greetings Franzl
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/360manu/kettlerUSB2BLE/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADACXMOW5CXPP7X76TUW5ZTSINQBPANCNFSM4R7LASHA .
Hi Emmanuel,
I use a Kettler ErgoRacer 2 with a seriell link on a usb connector (strange). -> I will try just a USB-cabel without the FT232 USB-Serial ....
Output from server.js: When I start the server.js my ErgoRacer do not recognize the Connection:
Using kettlerWorldtour the display shows a USB- Sign ( after a reset triggered by the PC)
The Raspberry 3 with the FT232 USB-Serial
Next step... I change the USB-Seriell-USB- cable to a normal USB-cable. Now I get a reset and The Display changes to USB-Sign. Super :-))
With the web GUI I can set the power ...
I can connect to the Kett-Bridge but I have no Power ...
Next step ... I disabled the internal bluetooth module from the raspberry and uses a Bluetooth-Stick 4.0; but it is the same not stable bluetooth-connection
Hello
From the picture, it seems that we have similar bike. I probably have the first version as my computer case is slightly different.
From my experience
When Zwift is correctly connected to a BLE device, the rectangle is blue. it means, that Zwift is able to recognize the BLE characteristics (here a Power Meter) -> Connection is OK, but no data are travelling from the PI to the BLE
The USB logo on the Kettler bike means that the connection is OK. -> no needs for the FTDI adaptor, the PI Linux already incorporate the CP21xx drivers
You can try the following
USB Link : the cable without FTDI is OK, and the physical link is working (logo on the bike computer) my guess is that the Baud Rate is not correct for your bike. I read somewhere that they changed this for the data on the new version. you can connect at 9600 but can't transfer any data. The source code of GoldenSheetah shows some examples of good settings (56000.?)
Le jeu. 1 oct. 2020 à 16:38, MailFranzel notifications@github.com a écrit :
Next step ... I disabled the internal bluetooth module from the raspberry and uses a Bluetooth-Stick 4.0; but it is the same not stable bluetooth-connection
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/360manu/kettlerUSB2BLE/issues/8#issuecomment-702180656, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADACXMNBQLK5AQXISOFLPKTSISH5XANCNFSM4R7LASHA .
Hi Emmanuel, I tried different baud rates 9600 56000 57600, when I use 57600 the output from server.js look like:
It looks good; when I cycling I see different values.
I tried the test too; but zwift does not notices the fake data
Franzel
P.S. I ordered a new Bluetooth 5.0 stick for the raspberry, but I am not sure if it is necessary ... Today the connection was stable. The problem seems to be the data transfer to Zwift, not the connection ...
My Zwift see only one service -> Power
Hello
I quickly checked with my setup. And I am able to reproduce your problem with my PC. It works with my Iphone or my android tablet, but no signal with my PC. Connection is also OK but no data.
I'll try to investigate. Perhaps, my PC is not fully compatible with BLE. Or I am forgetting something
Emmanuel
Le ven. 2 oct. 2020 à 17:39, MailFranzel notifications@github.com a écrit :
Hi Emmanuel, I tried different baud rates 9600 56000 57600, when I use 57600 the output from server.js look like:
[image: ble1] https://user-images.githubusercontent.com/47360315/94941142-c931e400-04d4-11eb-98f3-4b4e4bb95b1b.jpg
I look good; when I cycling I see different values.
I tried the test too; but zwift does not notices the fake data
[image: ble3] https://user-images.githubusercontent.com/47360315/94941942-e915d780-04d5-11eb-8fdc-c588def75ec1.jpg
Franzel
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/360manu/kettlerUSB2BLE/issues/8#issuecomment-702805571, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADACXMMDRCOZQLRO3LQW6TLSIXX2TANCNFSM4R7LASHA .
If you have an Iphone or Android. Zwift companion can be a workaround
or https://forums.zwift.com/t/zwift-pc-bluetooth-issues/112759/4
Thanks for the hint; i will try it tomorrow. Good night
Got the same issue with my project, with the companion app it’s working. Just keep in mind if you have any other app running in the background that could connect to the FTMS (Fitness Machine Service) via Bluetooth, it might not work, so make sure you disable your PC BLE connection.
Good luck 😉
I try to connect the KettlerBLE (Raspberry Bluetooth) with my Android mobile, but the mobile denies the connection ... On my table gives a short meassage that the PIN may be wrong .... My Mobile uses Android 9 (Android ONE); My tablet uses 8.1 All other Bluetooth devices are disable ;-)
Pairing is not necessary, just Enable Bluetooth and start the companion App, then start Zwift and change the settings to use the app instead of your PCs Bluetooth. Then use Zwift pairing dialog to search for devices.
I think that the implemented FTMS GATT Service is just broadcasting, so traditional pairing won’t work anyway.
Hello, what I did at the weekend: I made a new installation with Debian buster -> but there where errors building node.js (12.x) So I tried Debian Jessie with node.js (10.21). As I know, the result was that a Bluetooth connection can be established, but no data is sent to the PC or the android mobile phone.
Hello, I made a new installation on my Orange Pi Zero and Armbian ... Now it is connected(!!) with the companion Zwift App!
I found my mistake; I forgot to set the IP in index.ejs ... Thanks for your help. Thanks for this software. In this evening I will test !!
It runs! Sometimes the Bluetooth connection with the different devices is tricky!
Hi @360manu, I use a PI3 B with the internal Bluetooth and Wifi ... I installed Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-1019-raspi aarch64). It works fine. My "bike" is a Kettler ErgoRacer 2 with a seriell connector and a Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC ... -> it is working with your program. In zwift I can connect Bluetooth an see the two sections, but I have no values in ---> 0 Watts; also when I riding the bike I see 0 watts. Do you have a idea want I have to change ? Greetings Franzl