anselal / antminer-monitor

Cryptocurrency ASIC mining hardware monitor using a simple web interface
GNU General Public License v3.0
228 stars 145 forks source link

Support for E3 #113

Closed dhellis closed 5 years ago

dhellis commented 6 years ago

Would love to see both the Bitmain E3 and Z9 added

anselal commented 6 years ago

I will add support for both of them but I will need feedback after it because I cannot test my config without any of those asics.

dhellis commented 6 years ago

I will be very happy to provide feedback, Thank you for your consideration

anselal commented 6 years ago

I don't have any info about the number of chips on the Z9, only about the Z9 mini. They don't mention anything in the official site https://shop.bitmain.com/product/detail?pid=00020180710164901333EGb4bPcY0681

Can you provide any feedback on that ?

dhellis commented 6 years ago

I don't have the full blown Z9, I own the Z9 mini. I don't think the Z9 full version has actuall shipped to anyone yet

anselal commented 6 years ago

So I can add only support for the z9 mini and tbe E3. I will close this issue and open new separate ones.

dhellis commented 6 years ago

That works for me and thank you for your time

emx0r commented 6 years ago

Hi, I updated the scripts locally to have a support for z9 mini and E3, it works well. The only problem is that E3 does not return Device Hardware% in STATS query so most likely it'll need a bit of rewrite to fetch it from SUMMARY. I did not have much time to play with it so for now I just set hw errors to 0.

louischristy commented 6 years ago

Hi, where can i get the local scripts to support z9 mini? Also, is there any where i can find a support to monitor Innosilicon T2T?

anselal commented 6 years ago

@louischristy There is another issue for z9 mini at #121

anselal commented 6 years ago

@louischristy Requests for other miner models are welcome. Please open another issue, one per request.

anselal commented 6 years ago

@dhellis Can you post screenshots of the status pages of both miners ?

dhellis commented 6 years ago

Bitmain E3 Screen Shot

image

Bitmain Z9-mini Screen Shot image

anselal commented 6 years ago

@dhellis Your status page is strange according to bitmain's website.

Are you sure that your E3 is working as expected ?

https://shop.bitmain.com/product/detail?pid=00020180831131754682gxyXdS1m0701

In the title you are asking for support for the Z9 but you upload an image of the Z9 mini. Which is it that you want ?

This issue is getting out of control. Please ask only one thing per issue...

If you want support for the Z9 mini there is another opened issue.

Please clarify.

anselal commented 6 years ago

This issue will support only the E3 from now on.

For the Z9 mini see here #121

dhellis commented 5 years ago

Thanks for the heads up, this is the first crash I have seen on this machine, a simple reboot restored it to normal working condition with 203 MH.

anselal commented 5 years ago

@dhellis @emx0r Can I have some feedback if this is working ok ?

dhellis commented 5 years ago

I initially did an upgrade, added the E3 and the software crashed, I then did a complete fresh install. I added the E3 first but again the program crashed. Had to do another fresh install added the miners that I have here without the E3.

I only did this last evening.

dhellis commented 5 years ago

Guess I should add, I am running Windows 10

anselal commented 5 years ago

I asked because another user stated that there is an error with the E3 in my software. The E3 takes some time to warm up and load the DAG file. Until then it is not hashing and the miner does not return some of the data causing the app to crash.

Can you add the E3 and wait some time and then try again to access the app ? If this works I know how to fix it

dhellis commented 5 years ago

No problem, I added the E3, it crashed and will give it some time before trying to run again and then report back to you

dhellis commented 5 years ago

No luck, still crashed

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask\app.py", line 2309, in call

return self.wsgi_app(environ, start_response)

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask\app.py", line 2295, in wsgi_app

response = self.handle_exception(e)

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask\app.py", line 1741, in handle_exception

reraise(exc_type, exc_value, tb)

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask_compat.py", line 35, in reraise

raise value

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask\app.py", line 2292, in wsgi_app

response = self.full_dispatch_request()

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask\app.py", line 1815, in full_dispatch_request

rv = self.handle_user_exception(e)

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask\app.py", line 1718, in handle_user_exception

reraise(exc_type, exc_value, tb)

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask_compat.py", line 35, in reraise

raise value

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request

rv = self.dispatch_request()

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask\app.py", line 1799, in dispatch_request

return self.view_functionsrule.endpoint

File "C:\Program Files (x86)\Python37-32\lib\site-packages\flask_login\utils.py", line 261, in decorated_view

return func(*args, **kwargs)

File "c:\antminer\antminermonitor\blueprints\asicminer\views\antminer.py", line 104, in miners

[Open an interactive python shell in this frame] worker = active_pool[0]['User']

anselal commented 5 years ago

Strange, this should not have been the error. Please try again later...

dhellis commented 5 years ago

Yes, it is strange. Running Windows 10 Python 3.7, followed all of the instruction on the main page including adding the login credentials. Program was installed using Windows administration privleges

anselal commented 5 years ago

No, it is a communication and error and the data are not parsed corretly. Will fix it tomorrow and hopefully it will work...

dhellis commented 5 years ago

thank you

anselal commented 5 years ago

In your previous error the monitor couldn't get the active pool because the E3 hasn't started mining. Obviously it needs more time to warmup.

dhellis commented 5 years ago

The E3 has been mining for 6 days since last reboot. But, also the error that I pasted ocassionally happens with the other miners. After adding the E3 and crashing I did another fresh install and it would crash while adding the miners back. However it seems to be working okay now (except for the e3)

anselal commented 5 years ago

@dhellis I will push some changes and close this issue. Please provide some feedback here if you can after the update

dhellis commented 5 years ago

This latest update seems to work just fine. I know it took some time but I am very happy with the results.

THANK YOU!!