anselal / antminer-monitor

Cryptocurrency ASIC mining hardware monitor using a simple web interface
GNU General Public License v3.0
228 stars 145 forks source link

Get Hardware Error Rate from summary instead of stats #152

Closed anselal closed 4 years ago

anselal commented 4 years ago

Some Antminer models like the E3 and S17 do not return the Hardware Error Rate in the stats but only in the summary. To fix this swap lines https://github.com/anselal/antminer-monitor/blob/dee617db435d30c8cf75d2331baaee6873a8609c/antminermonitor/blueprints/asicminer/asic_antminer.py#L124-L125

with

https://github.com/anselal/antminer-monitor/blob/dee617db435d30c8cf75d2331baaee6873a8609c/antminermonitor/blueprints/asicminer/asic_antminer.py#L127-L130