Post
Topic
Board Mining software (miners)
Re: CGMINER GPU FPGA overc monit fanspd RPC stratum linux/windws/osx/mip/r-pi 2.10.5
by
MineForeman.com
on 19/02/2013, 21:06:27 UTC

Onto a new issue. I want to beable to control remotely what pool is selected. Since I have 9 rigs I want to do this programatically. I am very knowledable of VB and linux, but am new to JSON/RPC. I would like to be able to send such a command via the network interface using RPC via VBA.net. From looking at the cgminer source RPC/JSON commands are accepted through the use of port 4028. What would be the simpliest way to send an RPC packet from VBA.net to switch to pool 2 and viceversa switch to pool 0.

Any help would be appreciated. I have exhausted the third party addons for JSON serialization and RPC protocal and have not come accross a viable solution.

Thanks,
Mark 
 


Mark,
 There are php tools out there.. kanos miner.php i think does it. and i use my own that shows aggregated fans speeds and other stuff>

https://bitcointalk.org/index.php?topic=58834.0

I haven't updated it in a long time,  my current version is only different as it shows highest share and blocks found fields.

It is not actually RPC, it is just a JSON formatted packet into a raw socket and a JSON packet read out.

I have an example of how to use the interface to change pools though, I use it in MinePeon ( http://mineforeman.com/minepeon/ )
so users can change their mining pool from the WebUI.

You can either download MinePeon and grab the code for yourself or if you can wait I will post the code here in about 8 hours.