Skip to content

kodejak/MMM-cryptocoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Magic Mirror 2 Module for Crypto currencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published