Giter VIP home page Giter VIP logo

mmm-ethereum's Introduction

MMM-ethereum

An ethereum ticker MagicMirror module. Based on the valmassoi/MMM-bitcoin module.

Installing the module

Clone this repository in your ~/MagicMirror/modules/ folder ( $ cd ~MagicMirror/modules/ ):

git clone https://github.com/Deathrid3r747/MMM-ethereum

Using the module

Add MMM-ethereum module to the modules array in the config/config.js file:

modules: [
  {
    module: 'MMM-ethereum',
    position: 'top_right',
    config: {
      updateInterval: 30000,
      exchange: "kraken"
    }
  },
]

Configuration options

Option Description
updateInterval Optional
The API allowes for 2000000000 nanoseconds (2 seconds) of CPU time per hour, and allowance is reset every hour, on the hour.
Each update uses between 2500000 and 10000000 nanoseconds
Based on the maximum 10000000 nanoseconds, the allowance is 200 updates per hour
That means one update every 18 seconds

API Documentation can be found here

Type: int(milliseconds)
Default 30000 milliseconds (30 seconds)
exchange Optional
The exchange used to get the data

Can be any item from THIS LIST with a currencyPair of ethusd

Type: String
Default "kraken"
showHighLow Optional
Show the 24 hour high/low

Type: Boolean
Default true
highLowColor Optional
true: Show the 24 hour high/low in color
false: Show the 24 hour high/low in white

Type: Boolean
Default true

To Do

  • Create issues to track these
  • API allows for different exchanges, allow setting this via configuration
  • 24h high/low values on the ticker
  • Last change indicator (Green = price went up, Red = Price went down)
  • Current hashrate for mining rig
  • Alert when miner goes offline
  • Average hashrate for mining rig
  • Pending payout for mining
  • Mining calculator based on average mining
  • Convert USD value to local currency (Configurable - ZAR in my case)
  • Add ticker graph (minute, hour, day, week, month, year)
  • Possible future extensibility to allow for different cryptocurrencies

mmm-ethereum's People

Contributors

neildutoit92 avatar hansman84 avatar

Watchers

James Cloos avatar  avatar

Forkers

binn

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.