Bitcoin Forum
July 19, 2018, 08:25:43 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 4 [All]
  Print  
Author Topic: Antminer Monitor  (Read 3477 times)
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
October 11, 2017, 05:47:49 PM
 #1

Hello there,

I just want to share with you an "Antminer Monitor" I am developing. You can check the source at https://github.com/anselal/antminer-monitor
It is based on Flask, a python web micro-framework. Currently the app support miner model L3+, S7, S9, D3. The features include keeping an eye on temperatures, fan speed, hashrate, total hashrate grouped by model.
There are in-app notifications in case of a problem. Every problem is logged in a file. Currently the log file is not accessible vie the web interface, but will be available in feature releases.
Another requested feature is the ability to reboot/power off the miner, which will soon available (currently working on it)
You can find more information on the projects page at github.
If you would like to contribute you can do so by reporting any error, request new features or create pull requests.

I am very excited about this project. I hope it will help you monitor our miners, especially if you own a lot of them.

Happy mining !!!


UPDATE 23/01/2018:

Twitter: https://twitter.com/AntminerMonitor
1531988743
Hero Member
*
Offline Offline

Posts: 1531988743

View Profile Personal Message (Offline)

Ignore
1531988743
Reply with quote  #2

1531988743
Report to moderator
1531988743
Hero Member
*
Offline Offline

Posts: 1531988743

View Profile Personal Message (Offline)

Ignore
1531988743
Reply with quote  #2

1531988743
Report to moderator
1531988743
Hero Member
*
Offline Offline

Posts: 1531988743

View Profile Personal Message (Offline)

Ignore
1531988743
Reply with quote  #2

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

Posts: 1531988743

View Profile Personal Message (Offline)

Ignore
1531988743
Reply with quote  #2

1531988743
Report to moderator
memphis88
Full Member
***
Offline Offline

Activity: 169
Merit: 100


View Profile
October 18, 2017, 04:20:33 AM
 #2

Thx for soft.
But will need more function for more interest to your asic monitor.
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
October 18, 2017, 05:31:37 AM
 #3

Thx for soft.
But will need more function for more interest to your asic monitor.

Hey,

thank you for the interest in my app. You can always open an issue on github and suggest new features, report errors or contribute on the codebase if you want. The app is still in development and there are more features to come !!
polymer_city
Member
**
Offline Offline

Activity: 97
Merit: 10


View Profile
October 24, 2017, 10:47:23 AM
 #4

I'm working on something similar in WPF.

How are you getting temperature stats for S9's?

I just get 0 on my S9
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
October 24, 2017, 10:49:46 AM
 #5

I'm working on something similar in WPF.

How are you getting temperature stats for S9's?

I just get 0 on my S9

You can check the code at https://github.com/anselal/antminer-monitor
polymer_city
Member
**
Offline Offline

Activity: 97
Merit: 10


View Profile
October 24, 2017, 11:45:41 AM
 #6

cheers bro!

Found it!!

Code:
//From this
//output = sr.ReadToEnd().Replace("\x00", "");

//To this
output = sr.ReadToEnd().Replace("\x00", "").Replace("}{", "},{");
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
October 24, 2017, 11:46:56 AM
 #7

cheers bro!

Found it!!

Code:
//From this
//output = sr.ReadToEnd().Replace("\x00", "");

//To this
output = sr.ReadToEnd().Replace("\x00", "").Replace("}{", "},{");

Open Source software rules !!!!
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
October 24, 2017, 11:49:10 AM
 #8

cheers bro!

Found it!!

Code:
//From this
//output = sr.ReadToEnd().Replace("\x00", "");

//To this
output = sr.ReadToEnd().Replace("\x00", "").Replace("}{", "},{");

Yeah, it seems that there is an error in the JSON produced by cgminer. This is a workaround (hack) that I had to do in order to be able to parse the output !!!
polymer_city
Member
**
Offline Offline

Activity: 97
Merit: 10


View Profile
October 24, 2017, 11:55:02 AM
 #9

I knew it was simple, as it couldn't deserialize that stat command.

I was desperate to get the temps, as im making a monitor to control 27 D3's!

I have a selenium tool i made to change pools and fans and frequency's.

But I'm building an API version for GPU and ASIC right now.

SSH tool, network scan (need to finish port scanner)

If you need a hand let me know. Smiley





anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
October 24, 2017, 11:58:46 AM
 #10

Thanks, you are welcome to contribute if yo want. I am currently testing the remote reboot/shutdown functionality and after that I want to add a network scan feature like yours, as requested by some users. More features to come. If you like my app give it a hands up !!!
polymer_city
Member
**
Offline Offline

Activity: 97
Merit: 10


View Profile
October 24, 2017, 12:11:03 PM
 #11

I don't know any python really...

Keep saying i will delve into it.. just havent got the time!

Good luck with your project Smiley
Drachi
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 28, 2017, 10:35:28 AM
 #12

Hello there,

I just want to share with you an "Antminer Monitor" I am developing. You can check the source at https://github.com/anselal/antminer-monitor
It is based on Flask, a python web micro-framework. Currently the app support miner model L3+, S7, S9, D3. The features include keeping an eye on temperatures, fan speed, hashrate, total hashrate grouped by model.
There are in-app notifications in case of a problem. Every problem is logged in a file. Currently the log file is not accessible vie the web interface, but will be available in feature releases.
Another requested feature is the ability to reboot/power off the miner, which will soon available (currently working on it)
You can find more information on the projects page at github.

Hi Anselal,

Really like what you've done with this app.
I was wondering if there is anyway to edit the Hyperlink that is produced by adding the ip?

It is a local IP but I want to hyperlink a public ip.

So the text on the page is still 192.168.xxx.xxx but the hyperlink is to 212.xxx.xxx.xxx:81

Hopefully this isn't to confusing.
And hopefully possible.
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
November 28, 2017, 10:39:20 AM
 #13

Hello there,

I just want to share with you an "Antminer Monitor" I am developing. You can check the source at https://github.com/anselal/antminer-monitor
It is based on Flask, a python web micro-framework. Currently the app support miner model L3+, S7, S9, D3. The features include keeping an eye on temperatures, fan speed, hashrate, total hashrate grouped by model.
There are in-app notifications in case of a problem. Every problem is logged in a file. Currently the log file is not accessible vie the web interface, but will be available in feature releases.
Another requested feature is the ability to reboot/power off the miner, which will soon available (currently working on it)
You can find more information on the projects page at github.

Hi Anselal,

Really like what you've done with this app.
I was wondering if there is anyway to edit the Hyperlink that is produced by adding the ip?

It is a local IP but I want to hyperlink a public ip.

So the text on the page is still 192.168.xxx.xxx but the hyperlink is to 212.xxx.xxx.xxx:81

Hopefully this isn't to confusing.
And hopefully possible.

The app communicates with the cgminer api at a default port and not at the web's interface port (80). So just add the ip of the miner and you should be ready to monitor your miners.
Let me know if you have other questions.
Drachi
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 28, 2017, 04:11:45 PM
 #14

Hello there,

I just want to share with you an "Antminer Monitor" I am developing. You can check the source at https://github.com/anselal/antminer-monitor
It is based on Flask, a python web micro-framework. Currently the app support miner model L3+, S7, S9, D3. The features include keeping an eye on temperatures, fan speed, hashrate, total hashrate grouped by model.
There are in-app notifications in case of a problem. Every problem is logged in a file. Currently the log file is not accessible vie the web interface, but will be available in feature releases.
Another requested feature is the ability to reboot/power off the miner, which will soon available (currently working on it)
You can find more information on the projects page at github.

Hi Anselal,

Really like what you've done with this app.
I was wondering if there is anyway to edit the Hyperlink that is produced by adding the ip?

It is a local IP but I want to hyperlink a public ip.

So the text on the page is still 192.168.xxx.xxx but the hyperlink is to 212.xxx.xxx.xxx:81

Hopefully this isn't to confusing.
And hopefully possible.

The app communicates with the cgminer api at a default port and not at the web's interface port (80). So just add the ip of the miner and you should be ready to monitor your miners.
Let me know if you have other questions.

Hi Anselal,

That wasn't what I was getting at but I've found what I wanted.
The html file.
I'm trying the change the hyperlink on the webpage to go from a local IP to Public IP, but as I have the HTML file I can figure the rest out.

Thanks for such a swift reply.
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
November 29, 2017, 06:43:47 AM
 #15

Hello there,

I just want to share with you an "Antminer Monitor" I am developing. You can check the source at https://github.com/anselal/antminer-monitor
It is based on Flask, a python web micro-framework. Currently the app support miner model L3+, S7, S9, D3. The features include keeping an eye on temperatures, fan speed, hashrate, total hashrate grouped by model.
There are in-app notifications in case of a problem. Every problem is logged in a file. Currently the log file is not accessible vie the web interface, but will be available in feature releases.
Another requested feature is the ability to reboot/power off the miner, which will soon available (currently working on it)
You can find more information on the projects page at github.

Hi Anselal,

Really like what you've done with this app.
I was wondering if there is anyway to edit the Hyperlink that is produced by adding the ip?

It is a local IP but I want to hyperlink a public ip.

So the text on the page is still 192.168.xxx.xxx but the hyperlink is to 212.xxx.xxx.xxx:81

Hopefully this isn't to confusing.
And hopefully possible.

The app communicates with the cgminer api at a default port and not at the web's interface port (80). So just add the ip of the miner and you should be ready to monitor your miners.
Let me know if you have other questions.

Hi Anselal,

That wasn't what I was getting at but I've found what I wanted.
The html file.
I'm trying the change the hyperlink on the webpage to go from a local IP to Public IP, but as I have the HTML file I can figure the rest out.

Thanks for such a swift reply.

No problem, but I still don't understand what you are trying to do. Pm me and we will figure this out Wink
mikespax
Full Member
***
Offline Offline

Activity: 322
Merit: 100


View Profile
December 10, 2017, 05:00:39 PM
 #16

Could you do a step by step of how to run this for dummies? I'm not great with all this command line on mac.

Bitrated user: mikespax.
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
December 10, 2017, 06:15:40 PM
 #17

Could you do a step by step of how to run this for dummies? I'm not great with all this command line on mac.

I am finalizing a more detailed installation guide. I hope it will help. I think i will push it tomorrow. If you want help we can teamviewer, just pm
qingsha3
Jr. Member
*
Offline Offline

Activity: 33
Merit: 0


View Profile
December 11, 2017, 11:03:30 AM
 #18

Thanks, you are welcome to contribute if yo want

⚡Semux - The First Java-based BFT Blockchain
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
December 11, 2017, 11:05:49 AM
 #19

Thanks, you are welcome to contribute if yo want

Thnx, I will contribute to my own project Tongue
hossamelsawy
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 12, 2017, 06:47:46 PM
 #20

Hello there,

I just want to share with you an "Antminer Monitor" I am developing. You can check the source at https://github.com/anselal/antminer-monitor
It is based on Flask, a python web micro-framework. Currently the app support miner model L3+, S7, S9, D3. The features include keeping an eye on temperatures, fan speed, hashrate, total hashrate grouped by model.
There are in-app notifications in case of a problem. Every problem is logged in a file. Currently the log file is not accessible vie the web interface, but will be available in feature releases.
Another requested feature is the ability to reboot/power off the miner, which will soon available (currently working on it)
You can find more information on the projects page at github.
If you would like to contribute you can do so by reporting any error, request new features or create pull requests.

I am very excited about this project. I hope it will help you monitor our miners, especially if you own a lot of them.

Happy mining !!!
please can you help me to know how can i install it
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
December 12, 2017, 06:56:19 PM
 #21

Hello there,

I just want to share with you an "Antminer Monitor" I am developing. You can check the source at https://github.com/anselal/antminer-monitor
It is based on Flask, a python web micro-framework. Currently the app support miner model L3+, S7, S9, D3. The features include keeping an eye on temperatures, fan speed, hashrate, total hashrate grouped by model.
There are in-app notifications in case of a problem. Every problem is logged in a file. Currently the log file is not accessible vie the web interface, but will be available in feature releases.
Another requested feature is the ability to reboot/power off the miner, which will soon available (currently working on it)
You can find more information on the projects page at github.
If you would like to contribute you can do so by reporting any error, request new features or create pull requests.

I am very excited about this project. I hope it will help you monitor our miners, especially if you own a lot of them.

Happy mining !!!
please can you help me to know how can i install it

If you followed the instructions but couldn't make the app run pm me
catalkasik8
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 14, 2017, 09:40:38 PM
 #22

Hello there,

I just want to share with you an "Antminer Monitor" I am developing. You can check the source at https://github.com/anselal/antminer-monitor
It is based on Flask, a python web micro-framework. Currently the app support miner model L3+, S7, S9, D3. The features include keeping an eye on temperatures, fan speed, hashrate, total hashrate grouped by model.
There are in-app notifications in case of a problem. Every problem is logged in a file. Currently the log file is not accessible vie the web interface, but will be available in feature releases.
Another requested feature is the ability to reboot/power off the miner, which will soon available (currently working on it)
You can find more information on the projects page at github.

Hi Anselal,

Really like what you've done with this app.
I was wondering if there is anyway to edit the Hyperlink that is produced by adding the ip?

It is a local IP but I want to hyperlink a public ip.

So the text on the page is still 192.168.xxx.xxx but the hyperlink is to 212.xxx.xxx.xxx:81

Hopefully this isn't to confusing.
And hopefully possible.

The app communicates with the cgminer api at a default port and not at the web's interface port (80). So just add the ip of the miner and you should be ready to monitor your miners.
Let me know if you have other questions.

Hi Anselal,

That wasn't what I was getting at but I've found what I wanted.
The html file.
I'm trying the change the hyperlink on the webpage to go from a local IP to Public IP, but as I have the HTML file I can figure the rest out.

Thanks for such a swift reply.

exactly same think what im looking for. Anselal says, you can not go to public ip. but you say, from the html file(template file which is located "..\antminer-monitor-master\app\templates" can go to public ip, then you can check yuour miners status REMOTLY. Im trying it but I could not. can you help me please.
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
December 15, 2017, 06:49:19 AM
 #23

The app is supposed to run on a local LAN, so all the ip address you add are local ip addresses. For every miner you add, the ip address of that miner is rendered as a hyperlink so you can access your miner's web interface more quickly.
If you are monitoring outside your local LAN e.g. via port forwarding, you won't be able to access the miner's interface. A workaround is to setup a VPN server or connecting to the pc running the #AntminerMonitor e.g. via teamviewer
dinotom
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile
December 15, 2017, 09:50:32 PM
 #24

I already have Python 3.6.3 installed on my PC as I am starting to learn Python (Went from VB.net to C#, now trying to learn Python and C++). I saw your antminer monitor, looks great and I'd love to use it as i run a bunch of S9's and L3's.

Will it work on 3.6.3? I see you spec 2.7.3?

I'd love some help getting it installed and configured once I know if my Python version is good.
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
December 15, 2017, 10:51:44 PM
 #25

No, it won't work with python 3 since there are some changes to the socket module which I haven't merged yet, although I have tested them and they work.
You need to install python 2 and I think that you have to uninstall python 3. I have seen it not working when both versions were installed.
Try to follow the instructions and if you still have problems just pm
catalkasik8
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
December 16, 2017, 12:01:23 AM
 #26

The app is supposed to run on a local LAN, so all the ip address you add are local ip addresses. For every miner you add, the ip address of that miner is rendered as a hyperlink so you can access your miner's web interface more quickly.
If you are monitoring outside your local LAN e.g. via port forwarding, you won't be able to access the miner's interface. A workaround is to setup a VPN server or connecting to the pc running the #AntminerMonitor e.g. via teamviewer

Hi Anselal,
Thank you very much for your quick response. Additionally I want to appreciate you that creating a helpfull tools for world wide coin miners  for free. Im not an expert coder of python, but Im coding same tool in visual basic now, then I gonna be published to github soon for miners for free. It will be very usefull toll for the mid or long range mining farms in the future, I think. Hovewer, remote control of farm status will be very important for investors. According this, you are kindly requested to work on this issue. If you done this, also you will help all of miners of the World.

Thanks a lot,

gultekin  
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
December 16, 2017, 07:29:03 AM
 #27

Thank you for your kind words. We have implemented some very nice features like reboot/save shutdown etc.. We are currently testing those features and we hope we can release them soon.

I chose python so the app can be platform independent. The app has been tested on Windows, Linux and Mac and runs without any errors. Even more, since the app is web based it is easily accessible remotely.
Hotcooler
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 25, 2017, 03:04:27 AM
 #28

The app is supposed to run on a local LAN, so all the ip address you add are local ip addresses. For every miner you add, the ip address of that miner is rendered as a hyperlink so you can access your miner's web interface more quickly.
If you are monitoring outside your local LAN e.g. via port forwarding, you won't be able to access the miner's interface. A workaround is to setup a VPN server or connecting to the pc running the #AntminerMonitor e.g. via teamviewer

Cheers for the software Anselal.

As another suggestion, one can proxy/reverse proxy them through some http server, say apache with mod_proxy. One can also run monitor through the proxy to add SSL, and authorization. Though I'm either bad at it, or I dont understand something, thus had to create couple of rules and modify default root of the web app to get it to work properly..
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
December 31, 2017, 01:00:58 PM
 #29

The app is supposed to run on a local LAN, so all the ip address you add are local ip addresses. For every miner you add, the ip address of that miner is rendered as a hyperlink so you can access your miner's web interface more quickly.
If you are monitoring outside your local LAN e.g. via port forwarding, you won't be able to access the miner's interface. A workaround is to setup a VPN server or connecting to the pc running the #AntminerMonitor e.g. via teamviewer

Cheers for the software Anselal.

As another suggestion, one can proxy/reverse proxy them through some http server, say apache with mod_proxy. One can also run monitor through the proxy to add SSL, and authorization. Though I'm either bad at it, or I dont understand something, thus had to create couple of rules and modify default root of the web app to get it to work properly..

Sorry for the delayed reply. In order to setup SSL you will have to run the app with gunicorn and proxy that on nginx or apache. I prefer nginx since it is easier to use with gunicorn
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
January 08, 2018, 02:19:35 PM
 #30

Quote
The app is supposed to run on a local LAN, so all the ip address you add are local ip addresses. For every miner you add, the ip address of that miner is rendered as a hyperlink so you can access your miner's web interface more quickly.

I've sent a pull request to allow remote management. The idea is that you add port forward to the miners in your router and use this address in the remote host port configuration while you add the miner. The webapp will still be running in the LAN and be able to connect to the RPC ports of the miners and you would be able to access the miners remotely to do anything.

Hi there,

First of all thank you for taking the time to contributing to my little project, I really appreciate it.
I saw your pull request but didn't had the time to reply earlier. I will reply to you at Github !!!
BertTOC
Newbie
*
Offline Offline

Activity: 13
Merit: 0

Mine On!


View Profile
January 10, 2018, 11:15:38 PM
 #31

Hey!

Thank you for such great software.  Grin I have small issue, I cant and I dont know how to install this. Could you help with step by step install guide. I followed what you put in the Github but keep getting Systax error and Stgin kind of error.  Huh

15-S9, 3-L3, 1-A3, 2x12-Rx570.
adstek
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 11, 2018, 02:34:43 AM
 #32

This looks awesome, I've tried to install it, but I can't seem to figure out how to do it, could anyone help me?
I get error "No module maned pip" when I type in "python -m pip install -r requirements.txt" Huh
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
January 11, 2018, 06:25:38 AM
 #33

This looks awesome, I've tried to install it, but I can't seem to figure out how to do it, could anyone help me?
I get error "No module maned pip" when I type in "python -m pip install -r requirements.txt" Huh

I assume you are working on a Windows machine ? Uninstall python and reinstall the latest Python2.7 version https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi
adstek
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 11, 2018, 10:07:12 AM
 #34

This looks awesome, I've tried to install it, but I can't seem to figure out how to do it, could anyone help me?
I get error "No module maned pip" when I type in "python -m pip install -r requirements.txt" Huh

I assume you are working on a Windows machine ? Uninstall python and reinstall the latest Python2.7 version https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi

I’m using Ubuntu, and I have python 2.7
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
January 11, 2018, 10:29:55 AM
 #35

This looks awesome, I've tried to install it, but I can't seem to figure out how to do it, could anyone help me?
I get error "No module maned pip" when I type in "python -m pip install -r requirements.txt" Huh

I assume you are working on a Windows machine ? Uninstall python and reinstall the latest Python2.7 version https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi

I’m using Ubuntu, and I have python 2.7

Install pip using the following command: `sudo apt-get install python-pip` Wink
stantpro
Full Member
***
Offline Offline

Activity: 280
Merit: 101



View Profile
January 11, 2018, 11:05:20 AM
 #36

Very impressive project.We want to know using this Flask, a python web micro-framework app,
is it compatible with regular operating systems as Windows, Linux, Mac, Unix, etc or does it select
specific operating systems.How about the processor speed required and minimum storage requirements?


_____________________A I T H E O N_____________________       [   JOIN THE WHITELIST   ]
The digital ecosystem simplifying your world through A.I., robotic, and human symbiosis
██ ███     WHITEPAPER     |     TELEGRAM     |     TWITTER     |     INSTAGRAM     ███ ██
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
January 11, 2018, 11:09:43 AM
 #37

Very impressive project.We want to know using this Flask, a python web micro-framework app,
is it compatible with regular operating systems as Windows, Linux, Mac, Unix, etc or does it select
specific operating systems.How about the processor speed required and minimum storage requirements?



Thank you very much for your kind words. This is tested to run on Windows, Linux, and Mac. It should run flawless on all OSs that support python Wink
I run this app on an old RaspberryPi model B, 1 core CPU, 512MB RAM and it runs very well. It runs a bit better on a RaspberryPi 3 meaning it loads the stats a bit quicker.
I think it can run on older machines too Cheesy
If you try it on older machines I would appreciate any feedback
adstek
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
January 11, 2018, 06:24:14 PM
 #38

This looks awesome, I've tried to install it, but I can't seem to figure out how to do it, could anyone help me?
I get error "No module maned pip" when I type in "python -m pip install -r requirements.txt" Huh

I assume you are working on a Windows machine ? Uninstall python and reinstall the latest Python2.7 version https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi

I’m using Ubuntu, and I have python 2.7

Install pip using the following command: `sudo apt-get install python-pip` Wink

ah lol, thanks!  Grin
ralf007at
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
January 31, 2018, 08:30:28 AM
 #39

Hello Anselal,

thank you for your great software - i use it since a few weeks - today i installed your Version 0.3.0 (before running 0.2.0) then i added a T9 Miner - since then i only get Errors:

Code:
127.0.0.1 - - [31/Jan/2018 09:25:07] "GET / HTTP/1.1" 500 -
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 95, in miners
    total_hash_rate_per_model[miner.model.model] += float(str(ghs5s))
KeyError: u'T9'

can you help me on this?

thank you!



(Moderator's note: This post was edited by frodocooper to use code tags for the log.)
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
January 31, 2018, 08:39:04 AM
 #40

...

Hi there,

I updated the installation and upgrade instructions. This is caused because you didn't run the update script. Run `python update_db.py` and you are ready to go !!!



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

Activity: 5
Merit: 0


View Profile
January 31, 2018, 09:15:07 PM
 #41

Hi there,

I tried runing the software and this is what i get? Undecided

0\app\__init__.py", line 1, in <module>
    from flask import Flask
ImportError: No module named flask

any idea?
imtnc
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
January 31, 2018, 09:36:22 PM
 #42

Code:
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:\Users\HP Server\Downloads\antminer-monitor-0.3.0\app\views\antminer.py", line 44, in miners
miners = Miner.query.all()
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2726, in all
return list(self)
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2878, in __iter__
return self._execute_and_instances(context)
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2901, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 948, in execute
return meth(self, multiparams, params)
File "C:\Python27\lib\site-packages\sqlalchemy\sql\elements.py", line 269, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1060, in _execute_clauseelement
compiled_sql, distilled_params
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1200, in _execute_context
context)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1413, in _handle_dbapi_exception
exc_info
File "C:\Python27\lib\site-packages\sqlalchemy\util\compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1193, in _execute_context
context)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\default.py", line 507, in do_execute
cursor.execute(statement, parameters)
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)

i did upgrade not sure whats goin on!
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
January 31, 2018, 09:43:15 PM
 #43

Code:
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:\Users\HP Server\Downloads\antminer-monitor-0.3.0\app\views\antminer.py", line 44, in miners
miners = Miner.query.all()
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2726, in all
return list(self)
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2878, in __iter__
return self._execute_and_instances(context)
File "C:\Python27\lib\site-packages\sqlalchemy\orm\query.py", line 2901, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 948, in execute
return meth(self, multiparams, params)
File "C:\Python27\lib\site-packages\sqlalchemy\sql\elements.py", line 269, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1060, in _execute_clauseelement
compiled_sql, distilled_params
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1200, in _execute_context
context)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1413, in _handle_dbapi_exception
exc_info
File "C:\Python27\lib\site-packages\sqlalchemy\util\compat.py", line 203, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\base.py", line 1193, in _execute_context
context)
File "C:\Python27\lib\site-packages\sqlalchemy\engine\default.py", line 507, in do_execute
cursor.execute(statement, parameters)
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)

i did upgrade not sure whats goin on!


Well, it seems that you run the update script on a new installation where the database didnt exist. Why did you do that?

Are you sure there is a database at all ?
imtnc
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
February 01, 2018, 10:36:25 PM
 #44

it refused to start
i tried to run the command stated in your previous post

what can be done here?
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
February 02, 2018, 05:57:49 AM
 #45

it refused to start
i tried to run the command stated in your previous post

what can be done here?

Did you run 'python create_db.py' ?
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
February 02, 2018, 10:31:43 AM
 #46

it is there

What do you mean by `it is there` ? Did you run it ? Please follow the instructions at https://github.com/anselal/antminer-monitor/blob/master/README.md or pm me so I can assist you
tatooedsn
Newbie
*
Offline Offline

Activity: 14
Merit: 5


View Profile
February 16, 2018, 08:00:26 PM
 #47

Anselal, nice software bud. If you could incorporate some sort of notification by email or sms/text of over temp or under hash speed conditions.. that would be a great tool to have in our pocket. Also, if the miners go above temp, what indication does the webpage show? Do the temps values show up in red, or does it just show a message in info section? I'll send you some bitcoins in a moment. Thanks for the work from you and your team.
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
February 17, 2018, 02:34:39 PM
 #48

Anselal, nice software bud. If you could incorporate some sort of notification by email or sms/text of over temp or under hash speed conditions.. that would be a great tool to have in our pocket. Also, if the miners go above temp, what indication does the webpage show? Do the temps values show up in red, or does it just show a message in info section? I'll send you some bitcoins in a moment. Thanks for the work from you and your team.

Thank you for using AntminerMonitor and for the support, I really appreciate it and it keeps us going.

Email notifications are currently tested and we hope to be part of the next releases. We are currently trying to close some older issues.
In the next release we will probably see per miner settings, like temp warning/errors.
Currently the threshold is hardcoded for all miner and you get an in-app notification if the temp reaches 80 degrees Celsius, which actually raises an error and besides the notification the row of the miner turns red.

PS: I got your donation. Again, thank you very much !!!

If you want to stay updated you can follow us on twitter at https://twitter.com/AntminerMonitor
ralf007at
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
February 20, 2018, 11:20:34 AM
 #49

Hi there,

after i added a S9-14TH i only get Error-Messages:

Code:
ValueError
ValueError: max() arg is an empty sequence

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
        # request came with the OPTIONS method, reply automatically
        if getattr(rule, 'provide_automatic_options', False) \
           and req.method == 'OPTIONS':
            return self.make_default_options_response()
        # otherwise dispatch to the handler for that endpoint
        return self.view_functions[rule.endpoint](**req.view_args)
 
    def full_dispatch_request(self):
        """Dispatches the request and on top of that performs request
        pre and postprocessing as well as HTTP exception catching and
        error handling.
File "C:\Python27\app\views\antminer.py", line 138, in miners
if max(temps) >= 80:
ValueError: max() arg is an empty sequence
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

do you have an idea?!

BR Ralf



(Moderator's note: This post was edited by frodocooper to add code tags.)
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
February 20, 2018, 11:55:18 AM
 #50

...

Does the error fix after a refresh?  I think this is due that the app cannot retrieve the miner's temperatures for some reason. It turns out that sometimes it has to do with the socket timeout I have set (1 second).
I can tell that you are running an older version. I did some updates and moved some files around.
In your current version the file `pycgminer.py` should be located inside the `pycgminer` folder.
Please try to increase the timeout in the file `pycgminer.py` to eg. 3 seconds.

the line you should change is the following:

`sock.settimeout(1)`

just change it to:

`sock.settimeout(3)`

PS: In the latest versions the file `pycgminer.py` is moved inside the `lib` folder



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

Activity: 14
Merit: 0


View Profile
February 20, 2018, 12:06:20 PM
 #51

Hi there,

i changed the file - but no success - for your additional information: i checked the miner in the cgminer interface - i don't see any temperature in this miner-type - can i delete the entry out of the database?

BR Ralf
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
February 20, 2018, 12:22:14 PM
 #52

Hi there,

i changed the file - but no success - for your additional information: i checked the miner in the cgminer interface - i don't see any temperature in this miner-type - can i delete the entry out of the database?

BR Ralf

Can you please try to change the timeout to 5 seconds and be sure to restart the app after that. If this still doesn't fix your issue I will submit a patch immediately.
ralf007at
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
February 20, 2018, 12:53:22 PM
 #53

Hi there,

it didn't helped - sorry...

BR Ralf
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
February 20, 2018, 01:10:41 PM
 #54

Hi there,

it didn't helped - sorry...

BR Ralf

I released a patch. Please update to the latest version following the instructions in the README file https://github.com/anselal/antminer-monitor/blob/master/README.md

Please be so kind and let me know if this fixed your issue
ralf007at
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
February 20, 2018, 01:27:02 PM
 #55

thank you - that worked!

BR Ralf
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
February 20, 2018, 01:30:22 PM
 #56

thank you - that worked!

BR Ralf

I am glad it worked out for you
citronick
Legendary
*
Offline Offline

Activity: 1036
Merit: 1031


---- winter*juvia -----


View Profile
April 22, 2018, 12:41:25 AM
 #57

This is an interesting project.

Would adding a "search miner" and report writer function makes sense too?

If I provided you good and useful info or just bring a smile to your day, consider sending me merit points to further validate this Bitcointalk account ~ useful for future account recovery... BINANCE vs Huobi.Pro - Buy/Sell hash at Nicehash - Rent Rigs at MRR - SMOS -BBT/VOSK/AANTONOP/CBB/PM57/CryptoNEWS/CoinMktCap/Cryptoboreas
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
April 22, 2018, 01:30:18 PM
 #58

This is an interesting project.

Would adding a "search miner" and report writer function makes sense too?

Thank you very much. Searching will be part in the next releases. What exactly do you want the report to include? Please open an issue on Github if you like so.
citronick
Legendary
*
Offline Offline

Activity: 1036
Merit: 1031


---- winter*juvia -----


View Profile
April 22, 2018, 01:47:23 PM
 #59

This is an interesting project.

Would adding a "search miner" and report writer function makes sense too?

Thank you very much. Searching will be part in the next releases. What exactly do you want the report to include? Please open an issue on Github if you like so.

Thanks for adding search function.

Example:
Search by worker name, pool name, miner type
>> output, IP address, Miner type/username/poolname/password/other details
Option to output to txt file.
The search function can double up as the Report writer - output to screen or text/log file.

If I provided you good and useful info or just bring a smile to your day, consider sending me merit points to further validate this Bitcointalk account ~ useful for future account recovery... BINANCE vs Huobi.Pro - Buy/Sell hash at Nicehash - Rent Rigs at MRR - SMOS -BBT/VOSK/AANTONOP/CBB/PM57/CryptoNEWS/CoinMktCap/Cryptoboreas
anselal
Jr. Member
*
Offline Offline

Activity: 63
Merit: 0


View Profile
April 30, 2018, 10:29:21 AM
 #60

Thank you for shearing the softwear with us but I will like to ask how to go about it as a beginner couse I am very much intrested. And I wan to thank you once again for giving us the platform ti invest the little we can to earn more

Thank you for using my software. The README file should cover all of your questions regarding installation and stuff https://github.com/anselal/antminer-monitor/blob/master/README.md
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.
anselal
Jr. Member
*
Offline Offline

Activity: 63
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
Jr. Member
*
Offline Offline

Activity: 63
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: 31
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
Jr. Member
*
Offline Offline

Activity: 63
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: 31
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.



anselal
Jr. Member
*
Offline Offline

Activity: 63
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: 1512
Merit: 1064


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

Activity: 63
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: 31
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
Jr. Member
*
Offline Offline

Activity: 63
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: 14
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
Jr. Member
*
Offline Offline

Activity: 63
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: 14
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
Jr. Member
*
Offline Offline

Activity: 63
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: 14
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
Jr. Member
*
Offline Offline

Activity: 63
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: 14
Merit: 0


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

thank you - that helped!

BR Ralf
Pages: 1 2 3 4 [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!