dawsontoth / zwifit

This NodeJS app joins Zwift with treadmills running iFit® over Wi-Fi.
MIT License
82 stars 43 forks source link

Pro-form trainer 8.0 #22

Open luberk8 opened 4 years ago

luberk8 commented 4 years ago

Thanks for this great tool! I'm trying to get my Pro-form trainer 8.0 treadmill connected to my Pi, but am only partly successful. All the BT connection stuff seems to work fine, but I don't see any speed information on the 1337 site, it just shows 0. Incline works fine... Any ideas how to fix this?

catteneo commented 4 years ago

It could be crashing and restarting and you keep seeing 0 on the interface. Add the logs of the node app please

luberk8 commented 4 years ago

I'm not too familiar with node and js, where do I find the logs?

catteneo commented 4 years ago

If you used pm2 to start the node process you just need to run "pm2 logs"

luberk8 commented 4 years ago

This is all I get:

0|app | Welcome to Zwifit! 0|app | You can visit http://raspberrypi.local:1337 to update settings. 0|app | Bluetooth: Server started. 0|app | API: Listening at http://localhost:1337/ 0|app | Bluetooth: Powered On. 0|app | BLE: Powered On. 0|app | Found treadmill name with code 93c8 and name I_TL 0|app | Connected :-)

catteneo commented 4 years ago

Nothing on the error log?

stevehine commented 3 years ago

@lucashess - I had this on my pro-form trainer too; I've narrowed it down to the treadmill only partially supporting the standard - it appears to only send speed data over the Kph field and not CurrentKph - I've got a patch working locally (I did a 5km zwift session today) - I'll fork and create a PR to get this included

stevehine commented 3 years ago

@lucashess - a PR to hopefully resolve this has just been merged. Could you pull the latest and let me know if it fixes your issue ?

adamp237 commented 3 years ago

@stevehine - You might be able to help me. I got a Pro-form cross trainer 7.0 today and I set up Zwifit on a PI3. I realise it's not a treadmill but I figured the iFit might work the same way. Unfortunately I can only get the incline to display, everything else shows 0 or null. I'm thinking maybe the fields are not called Kph or CurrentKph. Any ideas?