(I am a jquery/php/perl guy myself, haven't got into ruby though)
Great addon, I was installing it on my debian linux box and I am trying to have it connect to my remote cgminers.
miner.php that comes with cgminer is working properly so I know I have the remote cgminer api's setup right, but when I run this script locally, it doesn't show any of the miners.
This is my local config for ~/.farmcp
{
"username" : "user",
"password" : "pass",
"rigs" : [
"192.168.0.4"
]
}
(fake ip)
(through debugging the json calls)
I see it calling this script:
http://192.168.0.3:8080/data.json (the server running farmcp is different than the actual farm)
and the response is:
{"btc_value":{"btcde":604.7862170362157,"bitstamp":817.308697879499},"rig_info":[],"rig_overview":{"temp":0,"fan_p":0,"mhs":0,"accepted":0,"rejected":0,"max_temp":0,"max_fan_p":0}}
SO it is reply with 0 rig info meaning its not reading the local config file, even though it asks em for a password when I first login (and the username and password works)
I have the latest git pull from
https://github.com/mrbrdo/farmcp/blob/masterLet me know, I am trying to look around the code to see if I can find the issue (curl is working fine on the box from the prompt)
EDIT: I think I need to revert the git pull to before the refactor, I think im seeing the missing rig parser from the config file.