Skip to content

Add a notification on zero hashrate #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ClaudiuPRO opened this issue Jun 22, 2018 · 3 comments
Open

Add a notification on zero hashrate #108

ClaudiuPRO opened this issue Jun 22, 2018 · 3 comments
Labels

Comments

@ClaudiuPRO
Copy link

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

@errand
Copy link

errand commented Jun 24, 2018

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 ;)

@anselal
Copy link
Owner

anselal commented Jun 26, 2018

@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 anselal changed the title Miner crash, not highlighted Add a notification on zero hashrate Jun 26, 2018
@anselal
Copy link
Owner

anselal commented Jun 29, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants