Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Indoor Training ZWIFT (https://www.delphipraxis.net/199598-indoor-training-zwift.html)

DelphiFan2008 5. Feb 2019 09:07

Indoor Training ZWIFT
 
Hallo,

neben PC, Microcontroller und Programmieren bin ich begeisterter Radfahrer. Nun im Winter auch Indoor, nachdem die technischen Möglichkeiten wirklich toll sind. Die Trainingsplattform ZWIFT bietet hier einiges.

Mittlerweile habe ich meine Ausrüstung optimiert und einen Arduino basierte Steuereinheit für Tastaturemulation, Lautstärkesteuerung, Lüftersteuerung und noch einige mehr aufgebaut. Funktioniert alles gut. Toll wäre eine Lüftersteuerung abhängig von Puls und/oder Leistung. Für JS gibt es eine Library um Daten vom Zwift Server abzurufen. Leider kenne ich mich mit JS nicht aus und bin somit nicht in der Lage den Code zu portieren. Hat sich jemand bereits mit einer Umsetzung in Delhi beschäftigt?

Würde mich sehr interessieren.

Gruß DelphiFan2008

TiGü 5. Feb 2019 11:11

AW: Indoor Training ZWIFT
 
Du verlinkst auf den Zwift Mobile API client, der in Python geschrieben ist.
Für JavaScript verlinkt das auf hier:
https://github.com/Ogadai/zwift-mobile-api

Da heißt es aber mit Stand 2018:

Zitat:

In July '08, this library was converted to use Zwift's new Developer API, in accordance with Zwift's policies.

The Developer API requires a special developer account, and won't work with regular rider accounts like before. Currently, Zwift is not able to offer developer accounts to hobby developers, but I'm hoping they'll be able to at some point. You can contact Zwift at developers@zwift.com to register interest and ask for further information.
Ansonsten wirst du vielleicht hier fündig:
https://www.facebook.com/groups/zwiftCoders/


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:43 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz