bug: fix hashboard count on A11MX
This commit is contained in:
@@ -19,3 +19,5 @@ from pyasic.miners.device.makes import InnosiliconMake
|
|||||||
|
|
||||||
class A11MX(InnosiliconMake):
|
class A11MX(InnosiliconMake):
|
||||||
raw_model = MinerModel.INNOSILICON.A11MX
|
raw_model = MinerModel.INNOSILICON.A11MX
|
||||||
|
|
||||||
|
expected_hashboards = 4
|
||||||
|
|||||||
@@ -127,6 +127,9 @@ class InnosiliconWebAPI(BaseWebAPI):
|
|||||||
async def get_all(self) -> dict:
|
async def get_all(self) -> dict:
|
||||||
return await self.send_command("getAll")
|
return await self.send_command("getAll")
|
||||||
|
|
||||||
|
async def summary(self) -> dict:
|
||||||
|
return await self.send_command("summary")
|
||||||
|
|
||||||
async def get_error_detail(self) -> dict:
|
async def get_error_detail(self) -> dict:
|
||||||
return await self.send_command("getErrorDetail")
|
return await self.send_command("getErrorDetail")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user