Merge pull request #189 from 1e9abhi1e10/luxminer_firmware

This commit is contained in:
Brett Rowan
2024-09-02 22:14:15 -06:00
committed by GitHub
2 changed files with 26 additions and 0 deletions

View File

@@ -749,3 +749,12 @@ class LUXMinerRPCAPI(BaseMinerRPCAPI):
</details>
"""
return await self.send_command("wakeup", parameters=session_id)
async def upgraderun(self):
"""
Send the 'updaterun' command to the miner.
Returns:
The response from the miner after sending the 'updaterun' command.
"""
return await self.send_command("updaterun")