zwifit
zwifit copied to clipboard
Pro-form trainer 8.0
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?
It could be crashing and restarting and you keep seeing 0 on the interface. Add the logs of the node app please
I'm not too familiar with node and js, where do I find the logs?
If you used pm2 to start the node process you just need to run "pm2 logs"
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 :-)
Nothing on the error log?
@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
@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 ?
@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?