Skip to content

pavelsr/antmcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Tiny CLI tool for remote monitoring and controlling your Antminer S9

It uses Antminer firmware cgi API endpoints

Dependencies

* curl 
* jq

Installing

sudo curl https://raw.githubusercontent.com/pavelsr/antmcli/master/amcli -o /usr/local/bin/amcli
sudo chmod +x /usr/local/bin/amcli

Using

Don't forget to change (e.g. with sudo nano /usr/local/bin/amcli) following enviroment variables (below are defaults):

MINER_IP=192.168.0.105
USER=root
PASS=root

Available options:

Usage: ./amcli [-h] [-v] [-r] [-l]
  -h  Help. Display this message and quit
  -v  Version. Print version number and quit
  -a  Show Antminer API authorization details
  -r  Reboot Antminer
  -l  Show Antminer linux kernel log

Without any option specified it's showing json dashboard

Minimal bash version required

Tested on bash 4.3.48

About

CLI tool for monitoring your Antminer remotely via ssh using just embedded firmware cgi endpoints, curl and jq

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages