Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
/ MMM-NiceHash Public archive

Display your NiceHash projected income, and rigs highest temperature on your MagicMirror.

Notifications You must be signed in to change notification settings

mlbonniec/MMM-NiceHash

Repository files navigation

MMM-NiceHash

A module for Michael Teeuw's MagicMirror project that displays your NiceHash projected income, and rigs highest temperature. The module displays colored dots according to the state of the rig.

  • Green: If rig status is MINING
  • Red: If rig status is STOPPED, OFFLINE, ERROR or DISABLED
  • Grey: If rig status is BENCHMARKING, PENDING, TRANSFERRED, UNKNOWN or other else.

Screenshot

MMM-NiceHash Screenshot

Warning

The compilation of the files is really bad. I couldn't manage to do it properly, so I use a really bad way to do it.
I'll solve the problem as soon as possible. I'm working on it!
If anyone know how to fix this issue, your help is welcome.

Todo

  • Automatically retrieve the symbol corresponding to the currency
  • Add configurable refresh time (default will be 2min)
  • Fix the rollup build error

Installing

Installing the module is quite straight forward

Step 1 - Download the module into the modules folder

cd MagicMirror/modules
git clone https://github.com/mlbonniec/MMM-NiceHash.git
cd MMM-NiceHash

Step 2 - Add the configuration module

{
  module: 'MMM-NiceHash',
  position: 'top_left', // Place the module where you want
  header: 'NiceHash', // Optional - default: 'NiceHash'
  config: {
    apiKey: 'YOUR API KEY',
    apiSecret: 'YOUR API SECRET KEY',
    organizationId: 'YOU ORGANIZATION ID',
    currency: 'USD', // Optional, default: 'USD'
    symbolPosition: 'left' // Optional, default: 'right'
  }
}

Step 3 - Install dependencies

npm i

You can now run MagicMirror as you usually do.

Use

Now you can fully use MagicMirror and the MMM-NiceHash module to display your statistics ! Enjoy it well !

Contributing

If you find any problems, bugs or have questions, please open a GitHub issue in this repository.
If you like this module, you can thank Luke 😉