Tigge / openant

ANT and ANT-FS Python Library
MIT License
174 stars 80 forks source link

newbie, wish I wasn't #45

Open tukutela opened 4 years ago

tukutela commented 4 years ago

Hi all,

I'd love to be able to connect multiple HR's to the same USB Master, I know this is achievable with channels but every time I change the ID I get no data as a response to the HR I'm wearing. The idea is that I tag a HR to a person and track a few people at the same time.

I'm assuming I'm reading it right and need to 'pair' the receiver to the HRM, but I 'm getting nowhere fast, I'm hoping that someone can help me out with an example of a pairing and reading of a particular HRM based upon serial number. Anyone?

coeurcycliste commented 4 years ago

Add the device id for the HRM into the channel.set_id statement - change the first 0 to the device ID channel.set_id(0, 120, 0)

Then create another channel for the second HRM and add in the device and so on.

tukutela commented 4 years ago

Hmmmm, so I managed to find the ANT+ ID from the wahoo app on my phone. A 5 digit number. When I put this in channel.set_id(XXXX, 120, 0) I get nothing but timeouts.... When I go back to channel.set_id(0,12,0) I get a reading on my HR again. Is there something else I'm missing?