Bitcoin Forum
July 12, 2024, 03:45:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Alternate cryptocurrencies / Mining (Altcoins) / Re: Claymore's Dual Ethereum AMD+NVIDIA GPU Miner v11.0 (Windows/Linux) on: February 14, 2018, 03:27:29 AM
Hello @Claymore,
I'm trying to work on a script to enable/disable my GPUs at some specific periods of time during the day so your remote management API is what I need but when I send this JSON:
Quote
{
   "id": 0,
   "jsonrpc": "2.0",
   "method": "control_gpu",
   "params": [
      1,
      0
   ],
   "psw": "not_for_you_too_see"
}
Nothing happens, looking at the log what I see is this:
Quote
22:02:33:223   6da1f700   srv: wrong control_gpu:params format

API.txt says:
Quote
{"id":0,"jsonrpc":"2.0","method":"control_gpu", "params":[0, 1]}

RESPONSE:
none.

COMMENTS:
first number - GPU index, or "-1" for all GPUs. Second number - new GPU state, 0 - disabled, 1 - ETH-only mode, 2 - dual mode.

I fail to see the error here (My JSON is sent exactly as seen above, including newlines and spaces), the only different thing from API.txt is that I'm also sending a password. Is API.txt updated?

BTW, this is on v11.0 running on a Linux rig.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!