Bitcoin Forum
August 10, 2022, 04:45:53 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: [1]
  Print  
Author Topic: Claymore miners API  (Read 3256 times)
Ambros
Hero Member
*****
Offline Offline

Activity: 653
Merit: 500


View Profile
May 12, 2017, 08:46:38 AM
 #1

Hi Guys.

In a couple weeks I will have some free time and I would like to give my first contribution to the mining community.
I would like to develop and opensource a module able to monitor multiple claymore miner, show their stats and send telegram notifications when needed.

I'm aware that there are many of these software around, but at best of my knowledge they are not opensource.

Finally my real question:
Does anyone have a documentation of Claymore miner API?
I would like to re invent the wheel and spend time sniffing them if someone did that yet.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1660106753
Hero Member
*
Offline Offline

Posts: 1660106753

View Profile Personal Message (Offline)

Ignore
1660106753
Reply with quote  #2

1660106753
Report to moderator
1660106753
Hero Member
*
Offline Offline

Posts: 1660106753

View Profile Personal Message (Offline)

Ignore
1660106753
Reply with quote  #2

1660106753
Report to moderator
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
May 12, 2017, 08:52:01 AM
 #2

Hi Guys.

In a couple weeks I will have some free time and I would like to give my first contribution to the mining community.
I would like to develop and opensource a module able to monitor multiple claymore miner, show their stats and send telegram notifications when needed.

I'm aware that there are many of these software around, but at best of my knowledge they are not opensource.

Finally my real question:
Does anyone have a documentation of Claymore miner API?
I would like to re invent the wheel and spend time sniffing them if someone did that yet.

i used this: https://github.com/osnwt/ethmon/blob/master/app.js#L161

as a base for my own program, where you can start here: https://github.com/felixbrucker/miner-manager/blob/master/api/controllers/miningController.js#L723

(forgive the crappy code Tongue)

the syntax is basically always the same: write '{"id":0,"jsonrpc":"2.0","method":"miner_getstat1"}\n' via socket and you get the stats data, i suggest looking at the raw data once to get a feel of what you are getting
Ambros
Hero Member
*****
Offline Offline

Activity: 653
Merit: 500


View Profile
May 12, 2017, 08:55:32 AM
 #3

I was not aware of your code! Thank you for reaching out!

I am not a big js fan, but I will consider to try to contribute to your project instead of starting a new one  Grin
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
May 12, 2017, 09:07:02 AM
 #4

I was not aware of your code! Thank you for reaching out!

I am not a big js fan, but I will consider to try to contribute to your project instead of starting a new one  Grin

haha nah, the base is so crappy, it would require a complete rewrite for it to be socially acceptable, better start your own, i might use it later as a native binding (if written in c/c++) Tongue
Ambros
Hero Member
*****
Offline Offline

Activity: 653
Merit: 500


View Profile
May 12, 2017, 09:57:04 AM
 #5

I was not aware of your code! Thank you for reaching out!

I am not a big js fan, but I will consider to try to contribute to your project instead of starting a new one  Grin

haha nah, the base is so crappy, it would require a complete rewrite for it to be socially acceptable, better start your own, i might use it later as a native binding (if written in c/c++) Tongue

A miner monitor written in c/c++  Grin Grin

I think it's overkilling, I think I'll go for something fast (to develop) as python
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
May 12, 2017, 10:50:55 AM
 #6

I was not aware of your code! Thank you for reaching out!

I am not a big js fan, but I will consider to try to contribute to your project instead of starting a new one  Grin

haha nah, the base is so crappy, it would require a complete rewrite for it to be socially acceptable, better start your own, i might use it later as a native binding (if written in c/c++) Tongue

A miner monitor written in c/c++  Grin Grin

I think it's overkilling, I think I'll go for something fast (to develop) as python
haha indeed Cheesy

sure why not
stibog
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
May 22, 2017, 08:17:37 PM
 #7

I am developing a miner monitor in C++ using Qt framework! Smiley Call it overkill if you want, but it uses virtually no resources. I've added support for EWBF api just a few minutes ago. (not yet on github, will add tonight or tomorrow.) And I'm looking into Claymore api now, so I'll start by looking at your JS Cheesy
It's still early development, but it works. My program is here:
https://bitcointalk.org/index.php?topic=1905294
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!