Pages:
Author

Topic: Antminer Monitor - page 2. (Read 31025 times)

member
Activity: 71
Merit: 17
September 15, 2018, 10:04:13 AM
#90
Will try to fix it. I opened an issue at https://github.com/anselal/antminer-monitor/issues/124
You can comment or enable notifications for this project to get notified when i fix the bug. Besides that it is easier to keep track of issues there instead of here.

Thanks man,

Im following.

The bug appears with more than 70+ asics as I verified.
member
Activity: 74
Merit: 11
September 14, 2018, 02:47:08 PM
#89
Will try to fix it. I opened an issue at https://github.com/anselal/antminer-monitor/issues/124
You can comment or enable notifications for this project to get notified when i fix the bug. Besides that it is easier to keep track of issues there instead of here.
member
Activity: 71
Merit: 17
September 14, 2018, 10:59:05 AM
#88
Try to restart the app. I think this is communication error. The only thing I can do is to add a default value of 0 in case of a key error but the thing is that i cannot reproduce it to fix it.
Let me know if the restart fixed and we will see how we proceed

I restarted (exited with ctr+c) and start again, nothing
Then I compile the file with powershell and replace the old pycgminer with 60 and with 5 timeout and not work
member
Activity: 74
Merit: 11
September 14, 2018, 10:24:24 AM
#87
I try settimeout 2s, 5s and 60s and still same problem.
I edited with IDLE and save only, i dunno if i have to do something else or reinstall.

Try to restart the app. I think this is communication error. The only thing I can do is to add a default value of 0 in case of a key error but the thing is that i cannot reproduce it to fix it.
Let me know if the restart fixed and we will see how we proceed
member
Activity: 71
Merit: 17
September 14, 2018, 09:50:54 AM
#86

I try settimeout 2s, 5s and 60s and still same problem.
I edited with IDLE and save only, i dunno if i have to do something else or reinstall.
member
Activity: 74
Merit: 11
September 13, 2018, 02:15:22 PM
#85
Im having this error when i add 80+ machines, the sw are working good then i update and havig this bug, i back for de 0.3 version and the problem persists.

[...]

Check out the issues at https://github.com/anselal/antminer-monitor/issues?utf8=✓&q=Keyerror
member
Activity: 71
Merit: 17
September 13, 2018, 11:19:49 AM
#84
Im having this error when i add 80+ machines, the sw are working good then i update and havig this bug, i back for de 0.3 version and the problem persists.

Code:
builtins.KeyError
KeyError: 'GHS 5s'

Traceback (most recent call last)
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\_compat.py", line 33, in reraise
raise value
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\Guilherme\AppData\Local\Programs\Python\Python37-32\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "G:\antminer-monitor-master\app\views\antminer.py", line 84, in miners
ghs5s = float(str(miner_stats['STATS'][1]['GHS 5s']))
KeyError: 'GHS 5s'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
newbie
Activity: 1
Merit: 0
August 17, 2018, 01:57:49 PM
#83
Hi anselal, congratz for this software its really easy to use and it works perfect for my miners. However I want to now how to change the red alert of the miners, I have one T9 12,5 THs and another one of 10,5 and it appears always en red, cause the program see them like the same tipe of machine even when they have diferentes values of hashing.

Another questione is where in the code I can see the temperature values of the miners to change it, b´cause is always in red in some miners but they are OK

regards
cu.orq
member
Activity: 176
Merit: 10
August 09, 2018, 07:17:56 AM
#82
Would this help?

https://halongmining.com/api/
https://github.com/brndnmtthws/dragon-rest



Im using this, best so far

Do you plan to add DragonT1s to the asics suported?

Hi there. We are planning to add support for DragonMints but it will take some time. We need support from users who own those.
member
Activity: 74
Merit: 11
August 08, 2018, 04:58:41 PM
#81
Ok, so it looks like the API port is 4028.

My problem is that I can open up port 4028 for forwarding to only one device. Is there a way to do this for multiple miners or will I need to modify the python script to used different ports and then use port forwarding on the router to point back to 4028

eg port 20001 goes to the 1st miner on port 4028
port 20001 goes to the 2nd miner on port 4028

The software is supposed to run on tbe same network as tbe miners. It cant run outside the network of the miners.
You must install it on a machine behind your router and expose only the software's port if you want to access it this way
member
Activity: 176
Merit: 10
August 08, 2018, 04:43:13 PM
#80
Ok, so it looks like the API port is 4028.

My problem is that I can open up port 4028 for forwarding to only one device. Is there a way to do this for multiple miners or will I need to modify the python script to used different ports and then use port forwarding on the router to point back to 4028

eg port 20001 goes to the 1st miner on port 4028
port 20001 goes to the 2nd miner on port 4028
member
Activity: 176
Merit: 10
August 08, 2018, 04:31:59 PM
#79
Hi, how do I add miners that are located at a different location, eg

ExternalServerIP:10001
ExternalServerIP:10002
etc

The ports 10001, 10002 etc goes to port 80 on the miners

I've successfully added the Z9 Mini, but how do I go about adding Innosilicon, what files do I need to modify?
newbie
Activity: 52
Merit: 0
July 03, 2018, 03:06:21 AM
#78
thank you - that helped!

BR Ralf
member
Activity: 74
Merit: 11
July 03, 2018, 02:32:31 AM
#77
i deleted the database and get:
sqlalchemy.exc.OperationalError
OperationalError: (sqlite3.OperationalError) no such table: miner [SQL: u'SELECT miner.id AS miner_id, miner.ip AS miner_ip, miner.model_id AS miner_model_id, miner.remarks AS miner_remarks \nFROM miner'] (Background on this error at: http://sqlalche.me/e/e3q8)

BR Ralf

Sorry, I forgot to mention that yo must recreate the database using the command: `python create_db.py` if you are on an older version.
newbie
Activity: 52
Merit: 0
July 03, 2018, 02:31:05 AM
#76
i deleted the database and get:
sqlalchemy.exc.OperationalError
OperationalError: (sqlite3.OperationalError) no such table: miner [SQL: u'SELECT miner.id AS miner_id, miner.ip AS miner_ip, miner.model_id AS miner_model_id, miner.remarks AS miner_remarks \nFROM miner'] (Background on this error at: http://sqlalche.me/e/e3q8)

BR Ralf
member
Activity: 74
Merit: 11
July 03, 2018, 01:31:42 AM
#75
Hi there,

sorry for my late reply - was sick...

yes - the error stays also after refreshing - no actually the error appears after i removed some physical miners before i delete them...

BR Ralf

The software queries for the miners you have added and if an IP does not respond then the miner will be added to list of in-active miners.
I suspect that after you physically removed the miner another device got the same ip, which is not a miner so the app crashed because it tries to communicate with the miner's API.

Please check if this is the case and make sure that no other device has the IP your miner had.
Normally you should first delete the device from the application and then unplug it.

If the problem continues you can delete the database and add the miners again.

Let me know if that helped
newbie
Activity: 52
Merit: 0
July 03, 2018, 01:26:34 AM
#74
Hi there,

sorry for my late reply - was sick...

yes - the error stays also after refreshing - no actually the error appears after i removed some physical miners before i delete them...

BR Ralf
member
Activity: 74
Merit: 11
June 28, 2018, 02:30:33 AM
#73
Hi Anselal,

i have the following problem: any ideas?? BR Ralf

[...]

Hi there,

1) does the error go away if you refresh the page ?
2) Did this error occur after you added a new miner ?
newbie
Activity: 52
Merit: 0
June 28, 2018, 02:16:08 AM
#72
Hi Anselal,

i have the following problem: any ideas?? BR Ralf

Code:
KeyError
KeyError: 'GHS 5s'

Traceback (most recent call last)
File "C:\Python27\lib\site-packages\flask\app.py", line 1997, in __call__
return [Suspicious link removed]gi_app(environ, start_response)
File "C:\Python27\lib\site-packages\flask\app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Python27\lib\site-packages\flask\app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "C:\Python27\lib\site-packages\flask\app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Python27\lib\site-packages\flask\app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "C:\Python27\app\views\antminer.py", line 82, in miners
ghs5s = float(str(miner_stats['STATS'][1]['GHS 5s']))
KeyError: 'GHS 5s'
member
Activity: 74
Merit: 11
June 14, 2018, 02:16:25 AM
#71
T1s only works in a couple of pools (that supports AsicBoost).

Didn't know that. They work fine with slushpool though
Pages:
Jump to: