antminer-monitor icon indicating copy to clipboard operation
antminer-monitor copied to clipboard

Add a notification on zero hashrate

Open ClaudiuPRO opened this issue 6 years ago • 3 comments

Hi Anselal,

I've noticed that I get rows highlighted (in red) only if Chips are down. But in my case the chips are ok, but the miner is not working (not mining). Can you set also this feature to mark in red if the miner is not doing the hashrate specified? 2018 06 22 - anselal s9 no hashing

ClaudiuPRO avatar Jun 22 '18 13:06 ClaudiuPRO

Hello @ClaudiuPRO ! I'm sure @anselal is busy creating antminer-monitor V2, so if you don't mind here is the code snippet to fix the issue: if ghs5s == 0: error_message = "[ERROR] '{}' Miner is not working '{}'.".format(Xs, miner.ip) logger.error(error_message) flash(error_message, "error") errors = True miner_errors.update({miner.ip: error_message}) Put it into the app\views\antminer.py and upload to the server. Hope this helps ;)

errand avatar Jun 24 '18 20:06 errand

@ClaudiuPRO This is a really strange case that the miner is showing zero hashrate.

Thank you @errand for the solution. I will fix this in the next release

anselal avatar Jun 26 '18 07:06 anselal

I was in the middle of creating per miner settings which include custom hashrate alerts for each miner. You can see my tweet at https://twitter.com/AntminerMonitor/status/968638542078513152

anselal avatar Jun 29 '18 10:06 anselal