...
HW_error% = HW/(HW+DiffA+DiffR)*100 = 2.59%
...
You forgot stale ...
The actual correct calculation is:
HW_error% = HW/(HW+"Diff1 Work")*100
However, "Diff1 Work" isn't available.
You can calculate Diff1 Work: "Elapsed" * "Work Utility" / 60
If you have a 3.12.0 ant miner then the API summary 'might' have it correctly calculated as "Device Hardware%" is you use the API directly.
Otherwise, get a new binary (I have actually made a 4.0.1 but it needs some changes before I'll release it) and again check for "Device Hardware%" in the API summary.
My CGMiner says 3.12.0-1 but I have no idea about API summary or where to find it.
Interestingly, my other S1's that are working really nice and under 5 HW over 24 hours (compared to 10,000+ in 12hrs) have CGMiner 3.8.5-1
Any take on that?
Look at the image below. 2 S1's received at the same time and runtime is the same.
http://i.imgur.com/N0VNSeI.pngMine are the opposite.
My old one gets a few (but not very high):
[Elapsed] => 66247
[Hardware Errors] => 5418
[Difficulty Accepted] => 2751437.0
[Device Hardware%] => 0.1959My new one gets hardly any:
[Elapsed] => 27840
[Hardware Errors] => 38
[Difficulty Accepted] => 1147504.0
[Device Hardware%] => 0.0033One way to see the API stats is to login to the ant and:
/usr/bin/cgminer-api summaryThe commands other than 'summary' are documented in API-README
Another way is to access the API remotely.
I keep changing my settings in my Ants, so I'm not sure of the original default API settings, for who is allowed access, but:
There are a number of ways documented in the API-README around line 456:
"
There are included 4 program examples for accessing the API:"
Though, it's actually 5 since there's also a python example "api-example.py" ... I should update API-README
The Ant's default API settings are defined in combination by /etc/config/cgminer and /etc/init.d/cgminer