fixed more bugs with avalonminers, and added temps

This commit is contained in:
UpstreamData
2022-01-08 15:25:43 -07:00
parent d8bccbccaa
commit 44bcc30130
3 changed files with 27 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
from miners.cgminer import CGMiner
class CGMinerAvalon(CGMiner):
def __init__(self, ip: str) -> None:
super().__init__(ip)
self.model = "Avalon"
self.api_type = "CGMiner"
def __repr__(self) -> str:
return f"CGMinerAvalon: {str(self.ip)}"