MinerFactory( ) Not including errors in data #21
-
I'm trying to write a script that will collect miner data over time on Whatsminer M30s machines, but when I try to print the error codes, they don't show up. I've tested this with miners that I have confirmed have errors such as 300, 530, 410 (missing a hashboard) and so on, and they still don't show. I've checked the Whatsminer.py file in the library and it includes all the errors I've tested. Here is my code:
The script uses the IP address copied to the clipboard to scan a miner, since we have very many machines running. After running the script, it will give continous readings from the miner that look like this:
This miner in particular has a 275 power overheat error, and yet the error is not reported here. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Let me take a look here and make sure pyasic is working as intended. In the meantime, could you provide a bit more info? |
Beta Was this translation helpful? Give feedback.
-
Moved this to an issue, will get that fixed over there. |
Beta Was this translation helpful? Give feedback.
-
Fixed in version v0.19.0. Caused by a breaking change in the whatsminer API. See #22. @JustinHowes01 please |
Beta Was this translation helpful? Give feedback.
Fixed in version v0.19.0. Caused by a breaking change in the whatsminer API. See #22.
@JustinHowes01 please
pip install pyasic==0.19.0
and try again. It should be fixed, but if not we can re-open this.