Bitcoin Forum
April 25, 2024, 06:14:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 »  All
  Print  
Author Topic: Antminer Monitor  (Read 31023 times)
anselal (OP)
Member
**
Offline Offline

Activity: 74
Merit: 11


View Profile
May 09, 2018, 06:55:58 AM
Last edit: May 10, 2018, 05:49:58 AM by frodocooper
 #61

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.
1714068882
Hero Member
*
Offline Offline

Posts: 1714068882

View Profile Personal Message (Offline)

Ignore
1714068882
Reply with quote  #2

1714068882
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
phrostb
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
May 09, 2018, 01:41:05 PM
Last edit: May 10, 2018, 05:50:51 AM by frodocooper
 #62

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 (OP)
Member
**
Offline Offline

Activity: 74
Merit: 11


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

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
Member
**
Offline Offline

Activity: 71
Merit: 17


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

Im using this, best so far

Do you plan to add DragonT1s to the asics suported?
anselal (OP)
Member
**
Offline Offline

Activity: 74
Merit: 11


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

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
Member
**
Offline Offline

Activity: 71
Merit: 17


View Profile
June 08, 2018, 09:50:20 PM
Last edit: August 08, 2018, 11:52:33 PM by frodocooper
 #66

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 (OP)
Member
**
Offline Offline

Activity: 74
Merit: 11


View Profile
June 08, 2018, 09:59:56 PM
Last edit: June 09, 2018, 12:43:53 AM by frodocooper
 #67

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: 3612
Merit: 2506


Evil beware: We have waffles!


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

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 -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
anselal (OP)
Member
**
Offline Offline

Activity: 74
Merit: 11


View Profile
June 11, 2018, 07:05:39 PM
Last edit: June 12, 2018, 01:49:50 AM by frodocooper
 #69

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
Member
**
Offline Offline

Activity: 71
Merit: 17


View Profile
June 13, 2018, 07:32:11 PM
Last edit: June 14, 2018, 12:55:49 AM by frodocooper
 #70

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 (OP)
Member
**
Offline Offline

Activity: 74
Merit: 11


View Profile
June 14, 2018, 06:16:25 AM
Last edit: June 15, 2018, 12:47:08 AM by frodocooper
 #71

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: 52
Merit: 0


View Profile
June 28, 2018, 06:16:08 AM
Last edit: June 28, 2018, 09:19:01 AM by frodocooper
 #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'
anselal (OP)
Member
**
Offline Offline

Activity: 74
Merit: 11


View Profile
June 28, 2018, 06:30:33 AM
Last edit: June 28, 2018, 09:19:35 AM by frodocooper
 #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 ?
ralf007at
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
July 03, 2018, 05: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
anselal (OP)
Member
**
Offline Offline

Activity: 74
Merit: 11


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

Activity: 52
Merit: 0


View Profile
July 03, 2018, 06: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
anselal (OP)
Member
**
Offline Offline

Activity: 74
Merit: 11


View Profile
July 03, 2018, 06: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.
ralf007at
Newbie
*
Offline Offline

Activity: 52
Merit: 0


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

thank you - that helped!

BR Ralf
btc2017btc2017
Member
**
Offline Offline

Activity: 176
Merit: 10


View Profile
August 08, 2018, 08: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?
btc2017btc2017
Member
**
Offline Offline

Activity: 176
Merit: 10


View Profile
August 08, 2018, 08: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
Pages: « 1 2 3 [4] 5 6 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!