-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Support iFlow 1932 on Mac OS? #45
Comments
Hi Ian, welcome in the FortiusANT community! I think FortiusANT will run on Mac and I willl help you in case there are issues, even adjust code if needed.
What Tacx do you have? |
Hey - awesome thanks. I have a i-Flow with a T1932 Head unit. I was setting up after many years put away and found out the tacx software has been discontinued and mine doesn't work with the desktop app. So I have x2 ANT+ sticks which arrived so trying to get this set up (ideally with Zwift) I'll install python 3 and see how I go - not used Python before, it's the FortiusAnt.py I need to run once downloaded correct? Huge thanks in advance! |
Indeed, read wiki for instructions |
Hey! So got the app working, it tries to calibrate, and I see this error message a few times in the terminal:
And then the error it stops. I see all the dials as if it is sending/receiving. Is calibration meant to automatically turn the trainer wheel to 20km p/hr? Been so long since I've used it couldn't remember if that was possible? |
Also - if I start without calibrating I get the same error repeatedly (it doesn't stop)
|
There someone else with an i-Flow/1932 and it seems that calibration does not work |
run with -d8 flag and send logfile please |
Sure thing! I noticed someone had a similar issue on mac with antifier but no solution was every posted. |
I have checked the logfile: From 21:06:09 ... 21:06:11 message "[Errno 60] Operation timed out" But then it appears normal operation; FortiusANT sends command and receives an answer. Note that it is all within a minute. Some questions:
Sorry that I cannot check myself...please try ans see what happens! PS. There is another user with an iFlow 1932. So .... fair chance it can work |
I have x2 ANT+ dongles plugged into the mac, along with the USB from the trainer. If I have only 1 ANT+ dongle connected, I receive the same message repeatedly. |
The provided logfile shows that the messages stop (see my message from yesterday) Provide logfile over more time than just one minute, please. Let's say 10 minutes at least. |
I can see the speed etc immediately when I start pedaling, so the trainer sending the data doesn't seem to be the issue. 10min log file attached - the previous one was a minute because I only ran it for a minute (as it's just repeating over and over) - it just repeats, to end I clck stop (the errors still come through and the close the app and it exist in the terminal. Thanks! |
Sorry * 100 ReadFromDongle has nothing to do with the Tacx trainer, but is generated at the ANT usbDongle side. (As the error message says). Check in antDongle.py
The code expects "timeout error" in the error-message, but (on your system) the message is "ReadFromDongle read error: [Errno 60] Operation timed out" and hence the error is given and not ignored as it should be. Note that the exception handling does not alter any data but only logs the error message. You may simple ignore the message or replace "timeout error" with "timeout" and see what happens; behaviour should be the same in both cases. I do not like this construction (checking text in message) and will check how to improve. Please let me know... |
The correct code would be: If you don't mind checking that, then it's confirmed on your platform and I will implement in the baseline. Thanks |
So replacing this:
with:
Still gives me:
Repeated. I also open Zwift with the app running, I can connect via Power Source and ANT+, but it receives no data (e.g. I start peddling but don't move or see any power). In the app I still see Power and Speed - but this is coming via the USB presumably. |
If I change to this:
And just check against 'timed out' then the error goes, but I'm still not receiving any data in Swift - no power etc. So it is like the receiving ANT+ dongle is not receiving the data? |
OK, you're doing good. Please run FortiusANT with -d4 this will provide the ANT logging. |
Okay cool - attached is the log file (kept on for 10mins). No worries - thanks for helping me with this! |
Checking the screen-print from FortiusANT (Trainer detected, Using Dynastream...) the hardware is found correctly and I would expect things to work. The logfile shows that data is transmitted. What happens when you press SEARCH on cadence and controllable? |
No nothing - I just get the searching screen.. Do I need to do anything to the ANT+ dongles? I read about having master/slave etc? |
For some reason the Heart Rate one picks up an ANT+ device and connects, but not Cadence or Controllable. Power Source connects but receives not data |
Also, if I simulate (with -s) I get the same results |
master/slave is decided by software; a trainer is master, Zwift is slave |
-s simulates a trainer, this comes handy in this case - you do not need to cycle to test Zwift. |
What is the deviceID of the heart rate monitor? |
@WouterJD This is what I get following your steps. Zwift seems to be taking the data from the simulated trainer. At least my character is pedalling! |
Ok I'll try a test ride without simulation this evening after work! IIt's 11 AM here over! |
Same timezone here... |
@iainhay Hi! |
How do the old ones look like? |
yes they do! |
This is the one I bought! |
@iainhay how is progress? Did you find alternative ANT+ dongles? |
I've ordered some, once they arrive will check back in here! |
@M4M4R2 How are things going, I recall you posted a question. iFlow is treated equal to Fortius. I would like to know whether this is correct. Also I see following remark: I decide to bring the question into the iFlow issue. |
Hy @iainhay how are things going? |
Hey @WouterJD - hopefully they will arrive today, post is all delayed a bit because if the lockdown. As soon as they arrive I'll be testing them so will update this right away...fingers crossed! 🤞 |
Good luck :-) |
Just found out they will arrive on Monday! Will test out as soon as they arrive 🤞🤞 |
Hey @WouterJD My new ANT+ sticks arrived, plugged in and getting expected results with FortiusANT in simulation mode and ExplorANT! Stopped ExplorANT and open Zwift: Result! Just going to hook up my bike on my trainer and have a go! Thanks so much for all your help - no idea why the ANT+ sticks I had didn't work. They were CYCPLUS ones, the ones I ordered are her for anyone else needing to buy some, I can confirm these work: https://www.amazon.co.uk/gp/product/B01M4NFENM |
Let us know want you think of the resistance feedback of the trainer please! |
So in Zwift everything works great - going to use it regularly now, I've tried it out with TrainerRoad too - in TR is seems really delayed (which is fine if you know it's delayed and I would expect a little delay anyway) but the Cadence remains at 0, not sure why thought as Zwift picks this up? I'm also really keen to try Rouvy, I see their latest update say ANT+ coming soon so will have to wait for that! Will come back with any feedback or issues, but so far so good! |
Check #65 on CYPLUS :-( I consider FortiusANT on MAC as closed for now. |
FortiusANT has different calculations for iMagic and Fortius (ref usbTrainer, def Resistance2Power(Resistance, SpeedKmh) LegacyProtocol) and the calculations are related to the interface type, not the tacx trainer. Please raise an issue and explain what configuration you have and let's see. |
@WouterJD yes all good now - and hope it helps people to not get the Cycplus ones - they say they work with Zwift etc though. Thanks again for all your help - happy to help test out or help on any mac related issues, just @ me and would love to help where I can! |
I'm looking to set up my tacx trainer on my mac - is there something similar for mac? Or can this be run on mac OS?
The text was updated successfully, but these errors were encountered: