Author

Topic: Troubles Getting Temperature/Other Stats with CGMiner API (Read 245 times)

full member
Activity: 538
Merit: 175
Aha, you're right. Thank you!!!
Glad I could help! Let me know if you are ever looking for any other stats.
newbie
Activity: 9
Merit: 0
Antminers use a modified version of cgminer. I think that the 'stats' command will give you what you are looking for. temp_6 temp_7 temp_8 are your pcb/local temps and then temp2_6 temp2_7 temp2_8 are your chip temps. chain6 is rightmost board, chain8 is left.

Aha, you're right. Thank you!!!
full member
Activity: 538
Merit: 175
Antminers use a modified version of cgminer. I think that the 'stats' command will give you what you are looking for. temp_6 temp_7 temp_8 are your pcb/local temps and then temp2_6 temp2_7 temp2_8 are your chip temps. chain6 is rightmost board, chain8 is left.
newbie
Activity: 9
Merit: 0
Hi there, I'm currently working on an Arduino script to pull data from my Antminer s9i's.

So far, I have been able to play around with the included PHP script (https://github.com/ckolivas/cgminer/blob/7ffd24607c385be643a013e9f9615b84dbdce4ac/miner.php) and get the "Summary" page to return just fine.
Although, when I attempt to get the temperatures provided by the 'devs' (https://github.com/ckolivas/cgminer/blob/master/API-README#L167) command, I simply get an array with the status message being "Error" and the Message being "No"
Therefore, I am assuming I need to modify some sort of permissions to access this part of the API.
I thought I had read somewhere that all devices on the local network would be included, though that could be outdated information.

I have looked around and I still am unsure where I can modify the permissions for accessing these features in the API.
I would greatly appreciate it if someone can share the information with me Smiley

Thanks!! (PS: I apologize if this does not make complete sense, I am still trying to figure out how CGMiner works on Antminers)
Jump to: