Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.41 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.41 KB

MinerHive

Standardised set of tools to help monitor and maintain CGMiner based ASICs at a glance.

The Project

Quick glance:

High level overview

Grafana example

Setup

Requirements

  • Redis DB (Please be responsible by locking things down and securing it).
  • Go 1.16 to run or build binaries against

Building

  • TODO

Configuration

All configuration files are to be structured as YAML files.

The configuration path can be stipulated to a custom path with the --config <path-to-file> flag.

Otherwise, config.yml file will be searched for in these directories:

./
$HOME/<program>/
$HOME/.config/<program-name>/

e.g. ./config/minercrawler/config.yml

Logging

List of available logging levels:

  • debug
  • info (default)
  • warning
  • error
  • fatal

Miner compatibiltiy:

Developed against Antminer S19 (Firmware version: Mon Apr 19 16:36:50 CST 2021 / 49.0.1.3). This should work for any miner that uses the CGMiner software implementation. If it doesn't work, create an issue - I'll help get it supported.

Why?

I need stats and programmable functionality for a machine I own.

Todo:

  • Testing
  • Control functionality (changing pools, restarting, setting fan speeds etc...)
  • DB change? (PSQL + GORM)
  • REST change? (GraphQL via GQLGen)