Magic Mirror 2 Module for Crypto currencies
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.md
MMM-cryptocoin.js
README.md
node_helper.js
preview.png

README.md

MMM-cryptocoin

A cryptocoin ticker MagicMirror module.

Using the module

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

modules: [
  {
    module: 'MMM-cryptocoin',
    position: 'top_right',
    config: {
      transCurrency: 'EUR',
      updateInterval: 60000,
      coins: [
        {
          label: 'Ether',
          coin: 'ETH',
          output: '%x €',
        },
        {
          label: 'Bitcoin',
          coin: 'BTC',
          output: '%x €',
        },
      ],
    }
  },
]

Configuration options

Option Description
transCurrency
Symbol of real world currency like EUR, USD, GBP, RUB, ...
Must be a string
coins
Array of one or more crypto coin entries

Coins options:

Option Description
label String for labelling the coin, e.g. 'Ether'.
coin String of coin symbol matched to CryptoCompare API, e.g. 'ETH', 'ETC', 'BTC', 'LTC', ... .
output Format string for output where %x is for the retrieved currency value, e.g. '$%x', '%x €', ... . %x will be string replaced with the coin value, do not change it.

Screenshot

Credits

Using request API by CryptoCompare.

Copyright

Copyright (C) 2017 by Christian Handorf under MIT License