anselal / antminer-monitor

Cryptocurrency ASIC mining hardware monitor using a simple web interface
GNU General Public License v3.0
228 stars 145 forks source link

Braiins OS answer/request #172

Open ErnesTRKS opened 4 years ago

ErnesTRKS commented 4 years ago

Hi, One of my antminers S9 really needs this software but they no longer use Cgminer is there any way to configure this monitor to work with it?

anselal commented 4 years ago

Hi there,

sorry for the late reply. What do they use instead of cgminer ? cgminer is the default software for miners. It could be that the miner has just disabled access toe cgminer's API.

I need more info on this

chainworksindustries commented 4 years ago

If it is the Braiins OS as stated, it will use the new BOSMiner instead ...

Braiins (Slush Devs) have written it from scratch and it is open source also.

crysx

o2user commented 4 years ago

Hi,

I second this feature :) Any attempts at implementing support?

https://braiins-os.com/plus

anselal commented 3 years ago

Difficult one. I got my hands in a S9 running BraiinsOS but there is no documentation for the API it uses. It will take to much time to implement this...

airoweb commented 3 years ago

Braiins OS+ commands are almost the same + some new commands, BOSminer wrote from scratch in Rust language. This is the API docs: https://docs.braiins.com/os/plus-en/Development/1_api.html

anselal commented 3 years ago

Braiins OS+ commands are almost the same + some new commands, BOSminer wrote from scratch in Rust language. This is the API docs: https://docs.braiins.com/os/plus-en/Development/1_api.html

you are right on that. will try to work on something but it will take some time cause the internet connection to my miner is reaaaally slow.

anselal commented 3 years ago

I managed to use the bosminer API to retrieve some info. But the only available info is the Hashrate, Uptime and HW Error Rate %. There is no info about chip condition nor fan speed.

Maybe they are stil working on it ?

airoweb commented 3 years ago

All data + extra data are available, this is the api link: IP.AD.RE.SS/cgi-bin/luci/admin/miner/api_status

you can use "?luci_username=root&luci_password=root" at the end of URL

anselal commented 3 years ago

I guess you are right. I didn't check all endpoints. I checked only stats, pools and summary, the defaults for cgminer. Will look at it tomorrow.

Thnx 💪

anselal commented 3 years ago

@ErnesTRKS @chainworksindustries @o2user @3ehzad I managed to retrieve some info from the BOSminer API. I will some changes to a new branch the next days so you can test it.

Sorry for the delay but I am currently on vacations :beach_umbrella:

airoweb commented 3 years ago

Please let me know if you need some tester :) @anselal

papampi commented 2 years ago

Any news on this?

anselal commented 2 years ago

Any news on this?

Sorry for the late reply. I had some miner issues and totally forgot about that. Will have to recheck my code and try to apply all the changes