anselal / antminer-monitor

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

Support for avalon 741 and 821 #54

Open sergioclemente opened 6 years ago

sergioclemente commented 6 years ago

Anyone have an example of the JSON RPC data that cgminer returns?

I have some that are arriving and wanted to add support for this before they are here.

anselal commented 6 years ago

I already gained access to some avalons and i am working on adding support for them. I managed to split the info for the temperatures etc. They are in a strange format, other than that of the Antminer's cgminer-api.

If you followed me on tweeter you would see my announcement about the avalon support. :smile:

sergioclemente commented 6 years ago

You have a lot in your plate let me know if you want to offload what ever you started and I can continue.

PS. Sorry don't use twitter.

anselal commented 6 years ago

OK. I will paste in a gist with the output of some commands from the Avalon and the code I got so far. Only 3-4 lines so far but they do the job

anselal commented 6 years ago

If you want to get your hands dirty you could also check #49 which is similar to this one

sergioclemente commented 6 years ago

Sounds good. Waiting for your initial input.

For EthOS(#49) I might be tempted once I finish the Avalon :)

anselal commented 6 years ago

Here is the gist from the output when running the stats command on the cgminer-api

plus a code snippet. You are welcome to play around. If you need the output of another command just ask :wink:

sergioclemente commented 6 years ago

Thank you very much for the snippet @anselal . I've commented there and let me know your thoughts if you know how to extract more data from the stats.