Can't seem to find api.txt - anyone knows if documentation for Claymore API can be found anywhere?
Download v9.5 for Windows, unpack it and check "Remote manager" folder.
Oh shoot, knowing about this could have saved me some work
I have been working on a new log format, because I was not really happy about the existing one. The one I have written makes a http request to port 3333 and parses the result. It writes two separate logs that looks that look like this:
GPU's:
2017-06-11T17:27:31Z02:00, machine: minr, id: GPU0, temp: 72, fan: 53, speed: 28.778, shares: 178
2017-06-11T17:27:31Z02:00, machine: minr, id: GPU1, temp: 72, fan: 40, speed: 29.183, shares: 209
2017-06-11T17:27:31Z02:00, machine: minr, id: GPU2, temp: 67, fan: 70, speed: 24.047, shares: 214
2017-06-11T17:27:31Z02:00, machine: minr, id: GPU3, temp: 74, fan: 70, speed: 28.903, shares: 50
2017-06-11T17:27:41Z02:00, machine: minr, id: GPU0, temp: 72, fan: 53, speed: 28.770, shares: 178
2017-06-11T17:27:41Z02:00, machine: minr, id: GPU1, temp: 72, fan: 40, speed: 29.194, shares: 209
2017-06-11T17:27:41Z02:00, machine: minr, id: GPU2, temp: 68, fan: 70, speed: 24.051, shares: 215
2017-06-11T17:27:41Z02:00, machine: minr, id: GPU3, temp: 74, fan: 70, speed: 28.906, shares: 51
Totals:
2017-06-11T17:25:31Z02:00, machine: minr, total_speed: 110.921, total_shares: 634, total_rejected: 1, avg_speed_per_card: 27.73, avg_shares_per_card: 158.5, avg_temp: 66.5, avg_fan: 58.25
2017-06-11T17:25:41Z02:00, machine: minr, total_speed: 110.939, total_shares: 635, total_rejected: 1, avg_speed_per_card: 27.73, avg_shares_per_card: 158.75, avg_temp: 67.5, avg_fan: 58.25
2017-06-11T17:25:51Z02:00, machine: minr, total_speed: 110.912, total_shares: 635, total_rejected: 1, avg_speed_per_card: 27.73, avg_shares_per_card: 158.75, avg_temp: 68.5, avg_fan: 58.25
2017-06-11T17:26:01Z02:00, machine: minr, total_speed: 110.876, total_shares: 636, total_rejected: 1, avg_speed_per_card: 27.72, avg_shares_per_card: 159, avg_temp: 69, avg_fan: 58.25
My script is working, but using the `miner_getstat1` would have been a lot cleaner. There is one thing missing from miner_getstat1 though and that is a timestamp.
I'm not sure how to send a TCP request to the API in Linux. Can you provide an example?