Author

Topic: How to get information from antminer s9 (Read 197 times)

legendary
Activity: 2030
Merit: 1569
CLEAN non GPL infringing code made in Rust lang
April 25, 2020, 08:58:50 AM
#7
Strange answers, are you people really unaware of the cgminer like API stats? Anyway you could use something like this: rig-stats.

If you switch the firmware of your miners to Braiins OS, you can make them join a VPN. Teamviewer is an aberration that should never be touched, and a serious security risk. If you have Linux experience, you'll be at home with OpenWrt rather than some obscure unmaintaned Chinese distro.

Awesomeminer does no magic, it polls the API like everyone else. With ssh access, you can let it do some more things like restarting.
legendary
Activity: 2394
Merit: 6581
be constructive or S.T.F.U
April 12, 2020, 10:09:10 PM
#6
I realize that you cant SSH into Antminer S9 but is there a way I can just GET this information to display it in a single screen program, Like how AwesomeMiner does.

Well, Awesomeminer doesn't use SSH to get access to the miner's information, but since you said

EDIT : I can also work with Linux if i need to so if there is a way to do this on linux i would appreciate it too.

You can simply unlock SSH access either by downgrading to an old bitmain firmware or even better use BraiinOS and you will get complete access to SSH and use your Linux skills.

I have made the program with C# myself and it just needs a way to get said information.

Since you can code, why not use Excel Import function, it basically scrape/import the miner's status page automatically something like this



You can even select which parts you want to import, in your case, temp and hashrate, and the cool thing about it is that it automatically scrapes the data for you, the minimum refresh time is 1 minute, which is good enough.

You do that by opening an excel sheet, hit Data > From Web

Form there all you need to do is give it the password and username for your miner, select what you want to import, adjust the refresh time and save it, you can have a different sheet for every miner, after having your data up-to-date in an excel sheet it's a matter of simple code in C# using OleDbConnection and query the information you need to your program, then maybe set some functions to check temps and hashrate and then using System.Net.Mail.MailMessage class you can code it to send you emails saying miner x's hashrate dropped or temp is over x.

There are a dozen things you can do with just an excel sheet and a few lines of code, I wish I have both the time and the mood to play with these things, I don't, so I use Awoesomeminer.  Embarrassed
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
April 12, 2020, 10:04:08 AM
#5
I manage 100 miners this way.
I go to viabtc.com  I have three accounts.
I can check my ltc and btc miners on each account in under 2 minutes.  Their software recycles stats every 10 minutes.

If there is a problem

I go to team viewer I have full access to the miner I try to do a remote fix.
If no go. The warehouse the miners are in is open 12 hours a day 7 days a week I contact the worker and tell him to do a hard power off and power on.
If no go. I mark the miner as dead wait for a few to turn off  and drive the 140 mile round trip to do a hard repair.
I have
  3 s9's dead out of 2000th  that is about 40th
  1 l3+ dead out of  12gh     that is about 0.5gh
I will leave them be due to corona-v lockdown.
I do go to warehouse every 90 days to teardown and dust  out the gear.
here is my smallest account.
2 pieces of gear are running I know that is all I have with that account
So no need to do anything on team viewer for that account.

legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
April 12, 2020, 09:29:22 AM
#4
There is no software out there that does it by default that I know of.

But there are some chrome plugins / addons that will auto refresh pages for you.
There are also a few for FireFox.
You would have to play with them a bit to see if one works for you.

The other option would be to write a script that logs into the miners gets the page you want pulls the data and displays it.
Seems like a lot more work then just having a bunch of browser tabs open.

-Dave
newbie
Activity: 2
Merit: 0
April 12, 2020, 08:43:21 AM
#3
you could do team viewer and have the 10 in the browser

that would require me to refresh the pages.
a program that gets the data and refreshet it constantly would be better.
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
April 12, 2020, 08:32:18 AM
#2
you could do team viewer and have the 10 in the browser
I have 3 accounts with viabtc.com
There are around 100 miners working remotely.
Here are 5 of the in a browser.  I check all of them on  viabtc.com  if I see an issue I use teamviewer and deal with the problem miner.

newbie
Activity: 2
Merit: 0
April 12, 2020, 07:52:09 AM
#1
Hello
I have a small mining operation with currently 10 Antminer S9's
I'm thinking about setting a screen in the room they are in to monitor them.
and also set it up with remote access so i can monitor them from wherever i am.
Im thinking about using a program similar to AwesomeMiner so I can monitor their temperature and the Th/s they are currently working with.

I realize that you cant SSH into Antminer S9 but is there a way I can just GET this information to display it in a single screen program, Like how AwesomeMiner does.
I have made the program with C# myself and it just needs a way to get said information.
Also the reason i dont just use awesome miner because the free version only allows for 2 miners at a time. and i dont really need all the features, just the temp and TH/s monitor.

Thank You

EDIT : I can also work with Linux if i need to so if there is a way to do this on linux i would appreciate it too.
Jump to: