Bitcoin Forum
December 08, 2016, 02:34:15 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Communicate with miner to get stats (IPC ??)  (Read 760 times)
makko
Jr. Member
*
Offline Offline

Activity: 45


View Profile
July 28, 2011, 07:46:35 PM
 #1

Hi Guys,

I've just got an idea for a great little project. It would basically involve communicating with the miner to get current(avg) hash rate, number of accepted/stale hashes.

Once my program has grabbed the data it can then server it to the web, i'm thinking a simple JSON string that can be then pulled into an app/widget/whatever to get live stats from your mining rig. Also tell what pool you are currently working in (if you have fallbacks setup for redundancy) Then main goal for me would be to write a small android app that would leave the information at my fingertips.

REASON: I often check into my rig via VNC to see the current stats. I then log into my pool to get stats from the other side. It would be nice to have all this information in one area that I can just glance at every so often.

So, i'm just wondering, whats the best way to approach this. I'm currently using GUI Miner (Windows) which i've noticed supports various miners and that it basically executes each miner by setting up a command call with flags then executing that. GUI Miner can then get response from the miner to display in it's own program. Is it catching the console outputs and parsing them to get the information it wants or what?

I'm thinking i'd need to do something like take the place of GUI Miner so I could generate my own stats and serve it out to the web via a mini web server or send to apache (never done this so not sure whats involved)

I'm currently working with windows and have experience with C#.net so that's the obvious choice for me. I'd much prefer to write this in Java so that linux is supported as i'm sure most mining rigs are on some kind of Linux distros.

Any thoughts/ideas, if anyone else feels like it's a cool project and there's nothing like it yet (I haven't checked) let me know, it would be cool to have a team of a few guys and make a cool solution that works as advertised.

What do you guys think??

Cheers  Smiley

Too lazy for a fancy sig.. Tongue
1481164455
Hero Member
*
Offline Offline

Posts: 1481164455

View Profile Personal Message (Offline)

Ignore
1481164455
Reply with quote  #2

1481164455
Report to moderator
1481164455
Hero Member
*
Offline Offline

Posts: 1481164455

View Profile Personal Message (Offline)

Ignore
1481164455
Reply with quote  #2

1481164455
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481164455
Hero Member
*
Offline Offline

Posts: 1481164455

View Profile Personal Message (Offline)

Ignore
1481164455
Reply with quote  #2

1481164455
Report to moderator
1481164455
Hero Member
*
Offline Offline

Posts: 1481164455

View Profile Personal Message (Offline)

Ignore
1481164455
Reply with quote  #2

1481164455
Report to moderator
entens
Newbie
*
Offline Offline

Activity: 20


View Profile
July 29, 2011, 04:05:04 PM
 #2

There is some work on this front already.  Most of the effort involves modifying the miner to send this information to a specified server.
makko
Jr. Member
*
Offline Offline

Activity: 45


View Profile
July 29, 2011, 08:44:19 PM
 #3

Cool, where do I sign up for that?? Wink

Too lazy for a fancy sig.. Tongue
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!