Skip to content
A MagicMirror² Module ethereum ticker https://github.com/MichMich/MagicMirror
JavaScript CSS
Branch: master
Clone or download
Latest commit fee43ef Jul 1, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.md Initial Commit Jun 30, 2017
MMM-ethereum.css Initial Commit Jun 30, 2017
MMM-ethereum.js Add config to set high/low to color or white Jul 1, 2017
README.md Update README.md Jul 1, 2017
node_helper.js Add 24h high/low Jun 30, 2017
preview.png Initial Commit Jun 30, 2017

README.md

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
You can’t perform that action at this time.