Powermeter and GC connection in train mode

234 views
Skip to first unread message

José Luis García Pallero

unread,
Mar 15, 2020, 7:25:17 AM3/15/20
to golden-cheetah-users
Hello:

In the train mode in GC 3.5, is it possible to connect a powermeter like the Favero Assioma Duo pedals or only works with a trainer?

Ale Martinez (Please don't email or cc me)

unread,
Mar 15, 2020, 8:30:31 AM3/15/20
to golden-cheetah-users
Yes, via ANT+ on Windows or ANT+/BTLE on macOS/Linux

José Luis García Pallero

unread,
Mar 15, 2020, 10:43:02 AM3/15/20
to golden-cheetah-users
El domingo, 15 de marzo de 2020, 13:30:31 (UTC+1), Ale Martinez (Please don't email or cc me) escribió:
Yes, via ANT+ on Windows or ANT+/BTLE on macOS/Linux

Mmm, I'm trying to connect the Assiomas but I can't connect to GC. I use Debian and a Lenovo workstation with integrated bluetooth. Both pedals are detected and connented. Then, in the GC Train window I select the Add device -> Bluetooth 4.0 option. Then the Add devive wizard opens (I attach a figure). It contains three buttons (Heartrate, Speed+Cadence and Power), although the drop down list does not show any device. Anyway I click on the Next option. I can see another window (figure attached) where I can introduce a name for the device. I left with "None" the option virtual, as all possible values are trainer devices. Also I left the default values for wheel size and stride length (what means this value?). Below I select "Power". Then I select finish and I can see the screen attached as train-window.png. But when I pedaling with the bike any power value is shown on the screen (I connect the device in the "Intensity adjustments and Workout Control" panel. Maybe I'm doing something wrong...
add-device-wizard.png
device-wizard-2.png
train-window.png

Ale Martinez (Please don't email or cc me)

unread,
Mar 16, 2020, 10:44:31 AM3/16/20
to golden-cheetah-users
You need to press the red button on the bottom toolbar to start the device(s) selected on the left sidebar, it will turn to green and the search for BTLE sensors will start, if it doesn't work goldencheetah.log may give some clue.

Andrew Fraser

unread,
Mar 16, 2020, 10:57:00 AM3/16/20
to golden-cheetah-users
I have exactly the same problem as you do. I am setting up GC on a Mac running Catalina. It is an Elite trainer with a bluetooth speed senor. Other applications can see the sensor, GC cannot.
My screen shots are the same as Jose's.
There is no reading when in the Training screen, even though the notification box says "connected"

Any ideas?

Ale Martinez (Please don't email or cc me)

unread,
Mar 16, 2020, 11:13:22 AM3/16/20
to golden-cheetah-users
El lunes, 16 de marzo de 2020, 11:57:00 (UTC-3), Andrew Fraser escribió:
I have exactly the same problem as you do. I am setting up GC on a Mac running Catalina. It is an Elite trainer with a bluetooth speed senor. Other applications can see the sensor, GC cannot.
My screen shots are the same as Jose's.
There is no reading when in the Training screen, even though the notification box says "connected"

Any ideas?

Check goldencheetah.log contents, it is located parallel to your athlete folder. 

Andrew Fraser

unread,
Mar 16, 2020, 11:37:42 AM3/16/20
to golden-cheetah-users
Thanks Ale

Yes, that is what I was doing. On my PC, I am connecting fine to Ant+ devices using that method.

One question, looking at the first picture posted, is that what is expected when setting it up? With Ant+, it displays the sensor ID, but it doesn't with Bluetooth. Is that correct?

Thanks for your help

Ale Martinez (Please don't email or cc me)

unread,
Mar 16, 2020, 12:03:58 PM3/16/20
to golden-cheetah-users
El lunes, 16 de marzo de 2020, 12:37:42 (UTC-3), Andrew Fraser escribió:
Thanks Ale

Yes, that is what I was doing. On my PC, I am connecting fine to Ant+ devices using that method.

One question, looking at the first picture posted, is that what is expected when setting it up? With Ant+, it displays the sensor ID, but it doesn't with Bluetooth. Is that correct?

Yes, the Bluethooth device in GC is different form the ANT+ one, it searches for sensors available at (device) start time and connect to them automatically, that screen just informs this and which sensors will be looked for.

José Luis García Pallero

unread,
Mar 16, 2020, 12:04:06 PM3/16/20
to Ale Martinez (Please don't email or cc me), golden-cheetah-users
El lun., 16 mar. 2020 a las 15:44, Ale Martinez (Please don't email or
cc me) (<amtri...@gmail.com>) escribió:
Yes, I press the red button prior to pedaling. The contents of my
goldencheetah.log are:

First of all, at the time of GC starting this line is written:

"Debug: Missing CAP_NET_ADMIN permission. Cannot determine whether a
found address is of random or public type."

Then, when I try to use the power meter the messages are:

"
Debug: Connected to device "ASSIOMA31119L"
Debug: Service scan done for device "ASSIOMA31119L"
Debug: Discovering details for service
"{00001818-0000-1000-8000-00805f9b34fb}" for device "ASSIOMA31119L"
Debug:
Debug: Ignoring the CSC service for device "ASSIOMA31119L"
Debug: service state changed
QLowEnergyService::ServiceState(ServiceDiscovered) for device
"ASSIOMA31119L"
Debug: service state changed
QLowEnergyService::ServiceState(InvalidService) for device
"ASSIOMA31119L"
Debug: Lost connection to "ASSIOMA31119L"
"

And again the Debug: Connected to device "ASSIOMA31119L" line


> --
> _______________________________________________
> Golden-Cheetah-Users mailing list
> golden-che...@googlegroups.com
> http://groups.google.com/group/golden-cheetah-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/cb955fd3-f6af-4e81-977c-f87069024c2e%40googlegroups.com.



--
*****************************************
José Luis García Pallero
jgpa...@gmail.com
(o<
/ / \
V_/_
Use Debian GNU/Linux and enjoy!
*****************************************

Ale Martinez (Please don't email or cc me)

unread,
Mar 17, 2020, 9:11:19 AM3/17/20
to golden-cheetah-users
El lunes, 16 de marzo de 2020, 13:04:06 (UTC-3), José Luis García Pallero escribió:
El lun., 16 mar. 2020 a las 15:44, Ale Martinez (Please don't email or
cc me) (<amtri...@gmail.com>) escribió:
>
> El domingo, 15 de marzo de 2020, 11:43:02 (UTC-3), José Luis García Pallero escribió:
>>
>> El domingo, 15 de marzo de 2020, 13:30:31 (UTC+1), Ale Martinez (Please don't email or cc me) escribió:
>>>
>>> Yes, via ANT+ on Windows or ANT+/BTLE on macOS/Linux
>>
>>
>> Mmm, I'm trying to connect the Assiomas but I can't connect to GC. I use Debian and a Lenovo workstation with integrated bluetooth. Both pedals are detected and connented. Then, in the GC Train window I select the Add device -> Bluetooth 4.0 option. Then the Add devive wizard opens (I attach a figure). It contains three buttons (Heartrate, Speed+Cadence and Power), although the drop down list does not show any device. Anyway I click on the Next option. I can see another window (figure attached) where I can introduce a name for the device. I left with "None" the option virtual, as all possible values are trainer devices. Also I left the default values for wheel size and stride length (what means this value?). Below I select "Power". Then I select finish and I can see the screen attached as train-window.png. But when I pedaling with the bike any power value is shown on the screen (I connect the device in the "Intensity adjustments and Workout Control" panel. Maybe I'm doing something wrong...
>
>
> You need to press the red button on the bottom toolbar to start the device(s) selected on the left sidebar, it will turn to green and the search for BTLE sensors will start, if it doesn't work goldencheetah.log may give some clue.

Yes, I press the red button prior to pedaling. The contents of my
goldencheetah.log are:

First of all, at the time of GC starting this line is written:

"Debug: Missing CAP_NET_ADMIN permission. Cannot determine whether a
found address is of random or public type."

You could sudo or use setcap to add the cap_net_admin to GoldenCheetah to see if this is the origin of the problem 
 
Then, when I try to use the power meter the messages are:

"
Debug: Connected to device "ASSIOMA31119L"
Debug: Service scan done for device "ASSIOMA31119L"
Debug: Discovering details for service
"{00001818-0000-1000-8000-00805f9b34fb}" for device "ASSIOMA31119L"
Debug:
Debug: Ignoring the CSC service for device "ASSIOMA31119L"
Debug: service state changed
QLowEnergyService::ServiceState(ServiceDiscovered) for device
"ASSIOMA31119L"
Debug: service state changed
QLowEnergyService::ServiceState(InvalidService) for device
"ASSIOMA31119L"
Debug: Lost connection to "ASSIOMA31119L"
"

And again the Debug: Connected to device "ASSIOMA31119L" line


> --
> _______________________________________________
> Golden-Cheetah-Users mailing list
> golden-che...@googlegroups.com
> http://groups.google.com/group/golden-cheetah-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-users+unsub...@googlegroups.com.

José Luis García Pallero

unread,
Mar 17, 2020, 9:54:39 AM3/17/20
to golden-cheetah-users
El mar., 17 mar. 2020 a las 14:11, Ale Martinez (Please don't email or
cc me) (<amtri...@gmail.com>) escribió:
>
> El lunes, 16 de marzo de 2020, 13:04:06 (UTC-3), José Luis García Pallero escribió:
>>
>> El lun., 16 mar. 2020 a las 15:44, Ale Martinez (Please don't email or
>> cc me) (<amtri...@gmail.com>) escribió:
>> >
>> > El domingo, 15 de marzo de 2020, 11:43:02 (UTC-3), José Luis García Pallero escribió:
>> >>
>> >> El domingo, 15 de marzo de 2020, 13:30:31 (UTC+1), Ale Martinez (Please don't email or cc me) escribió:
>> >>>
>> >>> Yes, via ANT+ on Windows or ANT+/BTLE on macOS/Linux
>> >>
>> >>
>> >> Mmm, I'm trying to connect the Assiomas but I can't connect to GC. I use Debian and a Lenovo workstation with integrated bluetooth. Both pedals are detected and connented. Then, in the GC Train window I select the Add device -> Bluetooth 4.0 option. Then the Add devive wizard opens (I attach a figure). It contains three buttons (Heartrate, Speed+Cadence and Power), although the drop down list does not show any device. Anyway I click on the Next option. I can see another window (figure attached) where I can introduce a name for the device. I left with "None" the option virtual, as all possible values are trainer devices. Also I left the default values for wheel size and stride length (what means this value?). Below I select "Power". Then I select finish and I can see the screen attached as train-window.png. But when I pedaling with the bike any power value is shown on the screen (I connect the device in the "Intensity adjustments and Workout Control" panel. Maybe I'm doing something wrong...
>> >
>> >
>> > You need to press the red button on the bottom toolbar to start the device(s) selected on the left sidebar, it will turn to green and the search for BTLE sensors will start, if it doesn't work goldencheetah.log may give some clue.
>>
>> Yes, I press the red button prior to pedaling. The contents of my
>> goldencheetah.log are:
>>
>> First of all, at the time of GC starting this line is written:
>>
>> "Debug: Missing CAP_NET_ADMIN permission. Cannot determine whether a
>> found address is of random or public type."
>
>
> You could sudo or use setcap to add the cap_net_admin to GoldenCheetah to see if this is the origin of the problem

Thank you for the tip. I've added as root the net capability (can not
be added this feature at compilation time?) as

setcap cap_net_admin+ep /opt/GoldenCheetah/GoldenCheetah_v3.5_amd64_Linux

and then I've checked the result:

getcap /opt/GoldenCheetah/GoldenCheetah_v3.5_amd64_Linux
/opt/GoldenCheetah/GoldenCheetah_v3.5_amd64_Linux = cap_net_admin+ep

When I start GC, the warning about CAP_NET_ADMIN is still present in
the goldencheetah.log as

Debug: Missing CAP_NET_ADMIN permission. Cannot determine whether a
found address is of random or public type.

but now I've seen power values in train mode, but with intermitent
interruptions. I've discovered that when I press the red button in the
Intensity Adjustments panel the bluetooth connection to the pedals
start to interrupt, disconnect, connect again, again disconnect...
This is reflected in the goldencheetah.log file as

Debug: Connected to device "ASSIOMA31119L"
Debug: Service scan done for device "ASSIOMA31119L"
Debug: Discovering details for service
"{00001818-0000-1000-8000-00805f9b34fb}" for device "ASSIOMA31119L"
Debug:
Debug: service state changed
QLowEnergyService::ServiceState(DiscoveringServices) for device
"ASSIOMA31119L"
Debug: Ignoring the CSC service for device "ASSIOMA31119L"
Debug: service state changed
QLowEnergyService::ServiceState(ServiceDiscovered) for device
"ASSIOMA31119L"
Debug: service state changed
QLowEnergyService::ServiceState(InvalidService) for device
"ASSIOMA31119L"
Debug: Lost connection to "ASSIOMA31119L"
Debug: Connecting to device "ASSIOMA31119L"

etc., etc.

Thanks

>
>>
>> Then, when I try to use the power meter the messages are:
>>
>> "
>> Debug: Connected to device "ASSIOMA31119L"
>> Debug: Service scan done for device "ASSIOMA31119L"
>> Debug: Discovering details for service
>> "{00001818-0000-1000-8000-00805f9b34fb}" for device "ASSIOMA31119L"
>> Debug:
>> Debug: Ignoring the CSC service for device "ASSIOMA31119L"
>> Debug: service state changed
>> QLowEnergyService::ServiceState(ServiceDiscovered) for device
>> "ASSIOMA31119L"
>> Debug: service state changed
>> QLowEnergyService::ServiceState(InvalidService) for device
>> "ASSIOMA31119L"
>> Debug: Lost connection to "ASSIOMA31119L"
>> "
>>
>> And again the Debug: Connected to device "ASSIOMA31119L" line
>>
>>
>> > --
>> > _______________________________________________
>> > Golden-Cheetah-Users mailing list
>> > golden-che...@googlegroups.com
>> > http://groups.google.com/group/golden-cheetah-users?hl=en
>> > ---
>> > You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
>> > To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/cb955fd3-f6af-4e81-977c-f87069024c2e%40googlegroups.com.
>>
>>
>>
>> --
>> *****************************************
>> José Luis García Pallero
>> jgpa...@gmail.com
>> (o<
>> / / \
>> V_/_
>> Use Debian GNU/Linux and enjoy!
>> *****************************************
>
> --
> _______________________________________________
> Golden-Cheetah-Users mailing list
> golden-che...@googlegroups.com
> http://groups.google.com/group/golden-cheetah-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/fcfbb119-f1f9-438a-9cc6-e0b08d0b7025%40googlegroups.com.

Ale Martinez (Please don't email or cc me)

unread,
Mar 17, 2020, 6:04:01 PM3/17/20
to golden-cheetah-users
El martes, 17 de marzo de 2020, 10:54:39 (UTC-3), José Luis García Pallero escribió:
El mar., 17 mar. 2020 a las 14:11, Ale Martinez (Please don't email or
cc me) (<amtri...@gmail.com>) escribió:
>
> El lunes, 16 de marzo de 2020, 13:04:06 (UTC-3), José Luis García Pallero escribió:
>>
>> El lun., 16 mar. 2020 a las 15:44, Ale Martinez (Please don't email or
>> cc me) (<amtri...@gmail.com>) escribió:
>> >
>> > El domingo, 15 de marzo de 2020, 11:43:02 (UTC-3), José Luis García Pallero escribió:
>> >>
>> >> El domingo, 15 de marzo de 2020, 13:30:31 (UTC+1), Ale Martinez (Please don't email or cc me) escribió:
>> >>>
>> >>> Yes, via ANT+ on Windows or ANT+/BTLE on macOS/Linux
>> >>
>> >>
>> >> Mmm, I'm trying to connect the Assiomas but I can't connect to GC. I use Debian and a Lenovo workstation with integrated bluetooth. Both pedals are detected and connented. Then, in the GC Train window I select the Add device -> Bluetooth 4.0 option. Then the Add devive wizard opens (I attach a figure). It contains three buttons (Heartrate, Speed+Cadence and Power), although the drop down list does not show any device. Anyway I click on the Next option. I can see another window (figure attached) where I can introduce a name for the device. I left with "None" the option virtual, as all possible values are trainer devices. Also I left the default values for wheel size and stride length (what means this value?). Below I select "Power". Then I select finish and I can see the screen attached as train-window.png. But when I pedaling with the bike any power value is shown on the screen (I connect the device in the "Intensity adjustments and Workout Control" panel. Maybe I'm doing something wrong...
>> >
>> >
>> > You need to press the red button on the bottom toolbar to start the device(s) selected on the left sidebar, it will turn to green and the search for BTLE sensors will start, if it doesn't work goldencheetah.log may give some clue.
>>
>> Yes, I press the red button prior to pedaling. The contents of my
>> goldencheetah.log are:
>>
>> First of all, at the time of GC starting this line is written:
>>
>> "Debug: Missing CAP_NET_ADMIN permission. Cannot determine whether a
>> found address is of random or public type."
>
>
> You could sudo or use setcap to add the cap_net_admin to GoldenCheetah to see if this is the origin of the problem

Thank you for the tip. I've added as root the net capability (can not
be added this feature at compilation time?) as

I don't think so, likely for the same reason you need to change the permissions to the downloaded AppImage to able to execute it.
 
setcap cap_net_admin+ep /opt/GoldenCheetah/GoldenCheetah_v3.5_amd64_Linux

and then I've checked the result:

getcap /opt/GoldenCheetah/GoldenCheetah_v3.5_amd64_Linux
/opt/GoldenCheetah/GoldenCheetah_v3.5_amd64_Linux = cap_net_admin+ep

When I start GC, the warning about CAP_NET_ADMIN is still present in
the goldencheetah.log as

Debug: Missing CAP_NET_ADMIN permission. Cannot determine whether a
found address is of random or public type.

but now I've seen power values in train mode, but with intermitent
interruptions. I've discovered that when I press the red button in the
Intensity Adjustments panel the bluetooth connection to the pedals
start to interrupt, disconnect, connect again, again disconnect...

The red button starts the device, sensors are scanned and data coming from supported ones is displayed on configured widget, the button changes to green and click on them will stop the device closing the connections.
 
This is reflected in the goldencheetah.log file as

Debug: Connected to device "ASSIOMA31119L"
Debug: Service scan done for device "ASSIOMA31119L"
Debug: Discovering details for service
"{00001818-0000-1000-8000-00805f9b34fb}" for device "ASSIOMA31119L"
Debug:
Debug: service state changed
QLowEnergyService::ServiceState(DiscoveringServices) for device
"ASSIOMA31119L"
Debug: Ignoring the CSC service for device "ASSIOMA31119L"
Debug: service state changed
QLowEnergyService::ServiceState(ServiceDiscovered) for device
"ASSIOMA31119L"
Debug: service state changed
QLowEnergyService::ServiceState(InvalidService) for device
"ASSIOMA31119L"
Debug: Lost connection to "ASSIOMA31119L"
Debug: Connecting to device "ASSIOMA31119L"

etc., etc.

I don't know the reason for the lost connection, may be the signal is too weak, I would try moving the computer as close as possible to the pedals to test this hypothesis. 

José Luis García Pallero

unread,
Mar 18, 2020, 8:02:48 AM3/18/20
to Ale Martinez (Please don't email or cc me), golden-cheetah-users
El mar., 17 mar. 2020 a las 23:04, Ale Martinez (Please don't email or
I've tried to move the computer to about 50 cm to the pedals, but the
intermitent disconnections are still present. I can connect the pedals
to the computer, but when I start the device and the GC button turns
green the disconnections start

>
> --
> _______________________________________________
> Golden-Cheetah-Users mailing list
> golden-che...@googlegroups.com
> http://groups.google.com/group/golden-cheetah-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/7b0e9c1d-3b97-4d2f-985f-d33d03ed8773%40googlegroups.com.

Ale Martinez (Please don't email or cc me)

unread,
Mar 18, 2020, 7:33:24 PM3/18/20
to golden-cheetah-users
When you press the red button and it turns to green the first connection should be established, but the process cannot be completed and the connection is lost, what you are observing afterwards are endless attempts to reestablish the lost connection: https://github.com/GoldenCheetah/GoldenCheetah/blob/323a97fb403c55c750f4546ad27893839e4a06a1/src/Train/BT40Device.cpp#L116

I don't know if anyone else is using Assioma with GC via BTLE., but if you can build from source, it would be possible to add more logging to try to understand the issue.

José Luis García Pallero

unread,
Mar 18, 2020, 7:47:34 PM3/18/20
to golden-cheetah-users
Finally I've purchased an ANT+ stick and all works without problem. But I could try to compile from source if you think it could help. Is there any detailed guide about how to build GC? And which changes or compiling options should be added in order to test?
 

--
_______________________________________________
Golden-Cheetah-Users mailing list
golden-cheetah-users@googlegroups.com

http://groups.google.com/group/golden-cheetah-users?hl=en
---
You received this message because you are subscribed to the Google Groups "golden-cheetah-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golden-cheetah-users+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golden-cheetah-users/058bb59e-b823-4f51-895b-bcca3948a5d0%40googlegroups.com.

Ale Martinez (Please don't email or cc me)

unread,
Mar 19, 2020, 12:46:34 PM3/19/20
to golden-cheetah-users
Good to know, I think it could be useful to try to collect a user contributed list of devices known to work (and not) in the wiki for easy of reference.
 
But I could try to compile from source if you think it could help. Is there any detailed guide about how to build GC? And which changes or compiling options should be added in order to test?

There is an INSTALL* document in github for each platform, but I think the BTLE support likely needs more testing and debugging than could be done in this way.

Marco1967

unread,
Nov 18, 2025, 5:13:49 AM (5 days ago) Nov 18
to golden-cheetah-users
Good morning, I downloaded the official version 3.7. When I go to training, everything seems to connect via both Bluetooth and ANT+, but as soon as I start it, everything drops. I noticed that the program shuts down even if I don't start the training. PS: I hope this problem is compatible with this discussion. Thanks.
Process GoldenCheetah [446].pages
Reply all
Reply to author
Forward
0 new messages