You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to read data from heartrate, powermeter, and speed/cadence sensor but to no avail. I've adapted the code in multi_dev_fe_power_meter.py to accept these 3 sensor types but I keep getting a 21: CHANNEL_IN_WRONG_STATE error. I've gotten the heartrate and powermeter to function separately and sometimes together but the speed/cadence sensor doesn't work even on its own (I've tried the bike_speed_cadence.py example code for testing and I get the same error as above). Any ideas? Not sure where to start. All Garmin sensors used and developing on an Raspberry Pi 3B with a Cospoo ANT+ USB stick.
The text was updated successfully, but these errors were encountered:
The issue sounds similar to #81 - I've not used a Cospoo stick but it seems the same that a small section of the protocol (and perhaps not used by other tools) is not adhered to, since it works with Dynastream in his case.
As I replied in that ticket, you could find out what the stick supports with node.advanced_options_two after init. You can also try changing the open_channel call with extended=False
I'm attempting to read data from heartrate, powermeter, and speed/cadence sensor but to no avail. I've adapted the code in
multi_dev_fe_power_meter.py
to accept these 3 sensor types but I keep getting a21: CHANNEL_IN_WRONG_STATE
error. I've gotten the heartrate and powermeter to function separately and sometimes together but the speed/cadence sensor doesn't work even on its own (I've tried thebike_speed_cadence.py
example code for testing and I get the same error as above). Any ideas? Not sure where to start. All Garmin sensors used and developing on an Raspberry Pi 3B with a Cospoo ANT+ USB stick.The text was updated successfully, but these errors were encountered: