Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db780fe876 | ||
|
|
cd84ae828a |
@@ -562,8 +562,11 @@ class BOSMiner(BaseMiner):
|
||||
|
||||
board = data.hashboards[_id]
|
||||
board.hashrate = round(hb["realHashrate"]["mhs1M"] / 1000000, 2)
|
||||
board.temp = round(hb["temperatures"][0]["degreesC"])
|
||||
board.chip_temp = round(hb["temperatures"][1]["degreesC"])
|
||||
temps = hb["temperatures"]
|
||||
if len(temps) > 0:
|
||||
board.temp = round(hb["temperatures"][0]["degreesC"])
|
||||
if len(temps) > 1:
|
||||
board.chip_temp = round(hb["temperatures"][1]["degreesC"])
|
||||
board.chips = hb["hwDetails"]["chips"]
|
||||
board.missing = False
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[tool.poetry]
|
||||
name = "pyasic"
|
||||
version = "0.21.0"
|
||||
version = "0.21.1"
|
||||
description = "A set of modules for interfacing with many common types of ASIC bitcoin miners, using both their API and SSH."
|
||||
authors = ["UpstreamData <brett@upstreamdata.ca>"]
|
||||
repository = "https://github.com/UpstreamData/pyasic"
|
||||
|
||||
Reference in New Issue
Block a user