MinerHive

module
v0.0.0-...-a529750 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2021 License: MIT

README

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL