added multicommand function

This commit is contained in:
UpstreamData
2021-09-23 12:03:34 -06:00
parent 315b6d2fb9
commit 5ba768d0bc
2 changed files with 22 additions and 7 deletions

View File

@@ -4,8 +4,10 @@ import asyncio
async def main():
bosminer = BOSMinerAPI("172.16.1.199")
data = await bosminer.edevs(old=True)
print(data)
data_normal = await bosminer.asccount()
data_multi = await bosminer.multicommand("version", "config")
print(data_normal)
print(data_multi)
asyncio.get_event_loop().run_until_complete(main())