Bitcoin Forum
September 26, 2018, 07:45:25 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 [4] 5 »  All
  Print  
Author Topic: Antminer Monitor  (Read 4735 times)
phrostb
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
May 08, 2018, 07:06:00 PM
 #61

i can't figure out how to run it.. tried python3 and python2 (made sure to install to path)

Code:
C:\monitor>$ python manager.py runserver
'$' is not recognized as an internal or external command,
operable program or batch file.

C:\monitor>python manager.py runserver
'python' is not recognized as an internal or external command,
operable program or batch file.

C:\monitor>manager.py runserver
Traceback (most recent call last):
  File "C:\monitor\manager.py", line 1, in <module>
    from app import manager
  File "C:\monitor\app\__init__.py", line 1, in <module>
    from flask import Flask
ImportError: No module named flask

C:\monitor>



Moderator's note: This post was edited by frodocooper to add code tags.
1537947925
Hero Member
*
Offline Offline

Posts: 1537947925

View Profile Personal Message (Offline)

Ignore
1537947925
Reply with quote  #2

1537947925
Report to moderator
1537947925
Hero Member
*
Offline Offline

Posts: 1537947925

View Profile Personal Message (Offline)

Ignore
1537947925
Reply with quote  #2

1537947925
Report to moderator
1537947925
Hero Member
*
Offline Offline

Posts: 1537947925

View Profile Personal Message (Offline)

Ignore
1537947925
Reply with quote  #2

1537947925
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537947925
Hero Member
*
Offline Offline

Posts: 1537947925

View Profile Personal Message (Offline)

Ignore
1537947925
Reply with quote  #2

1537947925
Report to moderator
anselal
Newbie
*
Offline Offline

Activity: 72
Merit: 0


View Profile
May 09, 2018, 06:55:58 AM
 #62

i can't figure out how to run it.. tried python3 and python2 (made sure to install to path)

[...]

Hi there,

you didn't follow the instructions. First you will have to install all the requirements with `python -m pip install -r requirements` and then start the app. The trailing dollar sign ($) is unnecessary.
Please read carefully the instructions at https://github.com/anselal/antminer-monitor/blob/master/README.md



Moderator's note: This post was edited by frodocooper to trim the quote from phrostb.
phrostb
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
May 09, 2018, 01:41:05 PM
 #63

Hi there,

you didn't follow the instructions. First you will have to install all the requirements with `python -m pip install -r requirements` and then start the app. The trailing dollar sign ($) is unnecessary.
Please read carefully the instructions at https://github.com/anselal/antminer-monitor/blob/master/README.md

looks like i missed it hiding under this line

    This step apply only to Mac users. If you are a Windows or Linux user continue to step 5.


it's working fine now, thanks for the tip. is there a way to hide the high temperature warning?



Moderator's note: This post was edited by frodocooper to remove a nested quote.
anselal
Newbie
*
Offline Offline

Activity: 72
Merit: 0


View Profile
May 10, 2018, 05:31:32 AM
 #64

If you are familiar with programming you can check the code at the projects page. The code is pretty straight forward.

Look at this line https://github.com/anselal/antminer-monitor/blob/498edf9265ae129bd2d038ed3ce88d01d1a3f269/app/views/antminer.py#L122
Guinsanity
Jr. Member
*
Offline Offline

Activity: 43
Merit: 5


View Profile
May 26, 2018, 05:08:17 PM
 #65

Im using this, best so far

Do you plan to add DragonT1s to the asics suported?
anselal
Newbie
*
Offline Offline

Activity: 72
Merit: 0


View Profile
May 26, 2018, 06:54:01 PM
 #66

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.
Guinsanity
Jr. Member
*
Offline Offline

Activity: 43
Merit: 5


View Profile
June 08, 2018, 09:50:20 PM
 #67

Im using in my little farm (101 asics) and no problems, I can copy the data from excel and make some studies of temps and hashrates x time.

https://imgur.com/a/JhcFmRt
anselal
Newbie
*
Offline Offline

Activity: 72
Merit: 0


View Profile
June 08, 2018, 09:59:56 PM
 #68

Good day!
Are you finalizing the program? any news ? the idea itself interested me - I think it is interesting for many miners

I am still maintaining the software and try to add more features. So far the software is working great in production and can handle  a lot of mining machines
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 1568
Merit: 1100


Evil beware: We have waffles!


View Profile
June 11, 2018, 06:00:02 PM
 #69

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.
You mean those who got suckered into buying T1's and were unaware of it's pool restrictions Wink
Of course you need support from your users because Halong Mining could care less about providing any sort of support for developers, pool operators, or users. As an aside, AFAIK the T1 does not support any sort of SSH so all coms must use the API.

For bitcoin to succeed the community must police itself - Joshua Zipkin aka Joshua Alexander leaked AMT A1 miner skype chats
How a miner mfgr SHOULD operate: HaggsFIN trip to Canaan My info useful? Donations welcome! 1Fuzzyk398kDWVjuC5qPX5v6CjSkvbgAbd
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
anselal
Newbie
*
Offline Offline

Activity: 72
Merit: 0


View Profile
June 11, 2018, 07:05:39 PM
 #70

You mean those who got suckered into buying T1's and were unaware of it's pool restrictions Wink
Of course you need support from your users because Halong Mining could care less about providing any sort of support for developers, pool operators, or users. As an aside, AFAIK the T1 does not support any sort of SSH so all coms must use the API.

I managed to connect to the API and retrieve some data. A friend gave me access to his miners. Maybe in the next release we will add support for them.

What do you mean with pool restrictions?
Guinsanity
Jr. Member
*
Offline Offline

Activity: 43
Merit: 5


View Profile
June 13, 2018, 07:32:11 PM
 #71

I managed to connect to the API and retrieve some data. A friend gave me access to his miners. Maybe in the next release we will add support for them.

What do you mean with pool restrictions?

T1s only works in a couple of pools (that supports AsicBoost).
anselal
Newbie
*
Offline Offline

Activity: 72
Merit: 0


View Profile
June 14, 2018, 06:16:25 AM
 #72

T1s only works in a couple of pools (that supports AsicBoost).

Didn't know that. They work fine with slushpool though
ralf007at
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
June 28, 2018, 06:16:08 AM
 #73

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'
anselal
Newbie
*
Offline Offline

Activity: 72
Merit: 0


View Profile
June 28, 2018, 06:30:33 AM
 #74

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 ?
ralf007at
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
July 03, 2018, 05:26:34 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
anselal
Newbie
*
Offline Offline

Activity: 72
Merit: 0


View Profile
July 03, 2018, 05:31:42 AM
 #76

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
ralf007at
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
July 03, 2018, 06:31:05 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
anselal
Newbie
*
Offline Offline

Activity: 72
Merit: 0


View Profile
July 03, 2018, 06:32:31 AM
 #78

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.
ralf007at
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
July 03, 2018, 07:06:21 AM
 #79

thank you - that helped!

BR Ralf
btc2017btc2017
Member
**
Offline Offline

Activity: 124
Merit: 10


View Profile
August 08, 2018, 08:31:59 PM
 #80

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?
Pages: « 1 2 3 [4] 5 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!