Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zwift does not find Fortius-ANT device #422

Closed
slilja opened this issue Feb 26, 2023 · 14 comments
Closed

Zwift does not find Fortius-ANT device #422

slilja opened this issue Feb 26, 2023 · 14 comments
Labels
help wanted Extra attention is needed

Comments

@slilja
Copy link

slilja commented Feb 26, 2023

After a year's break from Zwift I tried to use it again. Unfortunately things do not work well and I don't know where to start problem solving.
I am running Fortius-ANT on "trainer-laptop" MacBook v11.6.8 BigSur and Zwift on another Macbook (OS 13.2 Ventura). Fortius-ANT seems to start correctly and connects to Bushido brake (UX shows correct cadence & watt etc), but Zwift does not find any devide.
On my previous try (year ago), Zwift showed "trainer-laptop" and I could pair devides easily. Now there are no devices.

Question: How to start debugging the problem? Where is the best branch / version for Tacx Bushido?

@WouterJD
Copy link
Owner

WouterJD commented Mar 7, 2023

Hi @slilja

FortiusAnt AND Zwift each need an ANT-dongle to be present. Are you sure there are two?
Do you see Zwift connecting to the ANT-dongle (interface green)?

Check that FortiusAnt works with each dongle (test twice with one dongle only).
Check that Zwift works with each dongle (test twice with one dongle only).

The start both programs; FortiusAnt first and when ready to zwift, start Zwift and check interface.

Please come back when still not working...

@WouterJD WouterJD added the help wanted Extra attention is needed label Mar 7, 2023
@slilja
Copy link
Author

slilja commented Mar 13, 2023

Hmm. I am not sure if two ANT dongles are needed. In my previous configuration things worked well. I had FortiusANT running on "trainer-laptop" with ANT dongle and Zwift running in another laptop without ANT dongle.
Now the only thing that changed is the other laptop. I am still using the same "trainer-laptop" with ANT and running FortiusANT. I have a new laptop runnig Zwift and the that Zwift can not see "trainer-laptop" when pairing devices. The two computers find each other over Bluetooth.
Furthermore, my Zwift on AppleTV can not find "trainer-laptop" anymore. Seems like my laptop does not beam out anything that Zwift can hear?
I have a vague memory that I did some fiddling with my "trainer-laptop" Bluetooth address or something? I can not remember anymore.
NOTE: I am running an older build: Fortius Antifier v5.2 (version on Github =Fortius Antifier v 6.7). This worked previously but not anymore.
I also tried a newer version Fortius Antifier v6.5 (version on Github=Fortius Antifier v6.7). This does not work either. I noticed a cgange in GUI and now there are Tacx and ANT CTP indicators. When running new version, Tacx indicator in blinking (and FortiusANT shows the correct values) but ANT CTP stays dead.
My command line with both versions is
python FortiusAnt.py -a -g -H0 -t Bushido

@WouterJD
Copy link
Owner

Please describe briefly what systems are actually used and what connections you would like to make.

@slilja
Copy link
Author

slilja commented Mar 14, 2023

Current (and preferred) configuration:
Tacx Bushido <--ANT--> Mac laptop1 running FortiusAnt <--Bluetooth--> Mac laptop2 running Zwift.
This has worked earlier but I can not make it work again.
FortiusAnt on laptop1 connects to Bushido and shows correct watts/cadence/speed, but Zwift on laptop2 can not find trainer. As if FortiusAnt is not sending any signal.

@slilja
Copy link
Author

slilja commented Mar 15, 2023

Here is a screenshot when I start FortiusAnt with
python FortiusAnt.py -a -g -b -H0 -t Bushido

Screenshot 2023-03-15 at 19 35 09

For some reason I get "Bluetooth interface can not be opened"? That is definitely the problem - how to proceed form here?

@WouterJD
Copy link
Owner

That is the reason for sure.
There has been a sw issue (see module logfile...), which should be resolved in the current version.

You use 6.5 and 6.7 is available; see title on screen

@slilja
Copy link
Author

slilja commented Mar 17, 2023

I made a fresh install of FortiusANT on my "trainer-laptop" (erased entire machine and started from scratch). I could not even start FortiusAnt because python libraries did not install correctly ("module not found" error). Mac requires so much tweaking with Python environment that it is not worth it.
I will stop trying on Mac book and you can close this. I will try again when I get a Windows 10 machine - seems that installation there is a lot easier.

@WouterJD
Copy link
Owner

That's a pity, because you were si close!
I do not have a Mac so cannot help you

What modules are missing?
Just to give it a last shot

@slilja
Copy link
Author

slilja commented Mar 17, 2023

ModuleNotFoundError: No module named 'importlib.metadata'

Interestingly, everywhere on internet people refer to importlib_metadata (with underscore, not dot). If I install that module, the error remains.

@WouterJD
Copy link
Owner

I will make a patch today

WouterJD added a commit that referenced this issue Mar 17, 2023
@WouterJD
Copy link
Owner

Download FortiusAnt.py and retry
Succes!

@slilja
Copy link
Author

slilja commented Mar 17, 2023

Now FortiusAnt fails with
Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug
I think I am done with Mac version. Please close this issue.
I am trying to run FortiusAnt on a Windows machine. I downloaded exe file and it starts nicely, ANT+ connects to Bushido. However, I get also there an error (on GUI): "Bluetooth interface cannot be opened". I am using the recommended ASUS BT dongle and Zadig to configure driver - still no luck
Could you point me to an Issue where I can discuss Windows BT problem or should I create a new one?
I will keep trying few times still, but if also Windows fails then I stop using FortiusAnt - my computer skills are simply not enough to get it working

@WouterJD
Copy link
Owner

Getting BLE with Node.js to work is a precise jobs with quite some steps. It should be doable, you could ask a friend to assist.

BLE with bless is easier but requires a BLE/5 dongle.

Success for now!

@WouterJD
Copy link
Owner

WouterJD commented Apr 6, 2023

Since there is no communication here, I assume can be closed.
If not happy to reopen

@WouterJD WouterJD closed this as completed Apr 6, 2023
WouterJD added a commit that referenced this issue May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants