Giter VIP home page Giter VIP logo

zwift_rainmeter_plugin's Introduction

ZWIFT Rainmeter Plugin

Build Release

A plugin for Rainmeter to display information about ZWIFT accounts

Distance/month example rainmeter skin using Plugin

  • Month names and formatting of numbers can be adjusted with a locale in the settings.ini

Simple distance per month example

How to use

  1. Download release or build plugin yourself
  2. Copy ZWIFT_RM_API.dll from extracted .zip to
├── <Rainmeter_install_path>\Rainmeter
|   ├── Rainmeter.exe
│   ├── Plugins
│   │   ├── ZWIFT_RM_API.dll <---
│   │   ├── ...
│   ├── ...
  1. Copy Skin or create skin to Rainmeter skin folder
    • not part of release archive but part of this repo: ZWIFT_RM_SKIN Example path might then look like:
├── < C:\Users\<USER>\Documents\Rainmeter\Skins
|   ├── SkinExample
│   ├── ZWIFT_RM_SKIN <---
│   │   ├── Bar.ini
│   │   ├── @Resources
│   │   │   ├── Variables
│   │   │   │   ├── settings.inc
│   ├── ...
  1. Edit settings.inc and add your ZWIFT credentials

  2. Restart Rainmeter Process and active Skin

    • This may lag at start due to the fetching of all activities
  3. (Optional) Adjust Bar.ini or create new skin based on provided values

Contribute

There are currently some bad performance limits with the way the data is fetched for each meter, this should be refactored to async fetch data and store it so that reloads are fluid and non blocking.

As for possible values, the API can provide all information which is available in Zwift. Calories, Activity type (Running, Cycling), Profile info, Level...

Feel free to open PR´s or Issues and enhance this plugin! ❤

Todos - Which would make this plugin more mature

  • Encrypt password on disk/use Windows credentials manager
  • Think about async data fetching storing for fast display/reload
  • Only fetch history of activities which are needed for meter instead of all
  • Allow other meters with
    • Calories
    • Avg speed
    • Flag to diff between: Cycling / Running
    • Zwift Level + Progress
    • Hours per activity
    • Total Distance, Calories, Hours
    • ...

zwift_rainmeter_plugin's People

Contributors

kc1r74p avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.