Bitcoin Forum
October 31, 2024, 06:59:07 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 34 35 36 »
  Print  
Author Topic: cryptoGlance [v2.1] :: Open-source, self-hosted, multi-rig monitoring tool!  (Read 130268 times)
zOU
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500

★ these are stars ★


View Profile
November 30, 2015, 02:39:55 PM
 #461

I have a problem updating my windows version:




cryptoglance (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
November 30, 2015, 03:02:41 PM
 #462

I have a problem updating my windows version:





Delete the update folder inside application/

zOU
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500

★ these are stars ★


View Profile
November 30, 2015, 03:07:44 PM
 #463

done

Now I just have to wait for the update notification (I restarted cryptoglance after deleting the folder)

zOU
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500

★ these are stars ★


View Profile
November 30, 2015, 03:43:51 PM
 #464

while you're around, can you tell me why cryptoglance shows me a lot more accepted share (and a lot smaller % of HW error than minera ?)

Thank you !

(see my post on the previous page)

sixxkilur
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile WWW
November 30, 2015, 05:16:29 PM
 #465

done

Now I just have to wait for the update notification (I restarted cryptoglance after deleting the folder)

No need to wait open cryptoGlance via Desktop app or browser and then go to Tools > cryptoGlance Settings; from there click on check for updates now.
cryptoglance (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
November 30, 2015, 06:10:26 PM
 #466

while you're around, can you tell me why cryptoglance shows me a lot more accepted share (and a lot smaller % of HW error than minera ?)

Thank you !

(see my post on the previous page)

We show the Diff Accepted and Diff Rejected shares. We feel its better transparency and easier to see what your miners are actually submitting

zOU
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500

★ these are stars ★


View Profile
November 30, 2015, 06:24:36 PM
 #467

done

Now I just have to wait for the update notification (I restarted cryptoglance after deleting the folder)

No need to wait open cryptoGlance via Desktop app or browser and then go to Tools > cryptoGlance Settings; from there click on check for updates now.


zOU
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500

★ these are stars ★


View Profile
November 30, 2015, 06:26:57 PM
 #468

while you're around, can you tell me why cryptoglance shows me a lot more accepted share (and a lot smaller % of HW error than minera ?)

Thank you !

(see my post on the previous page)

We show the Diff Accepted and Diff Rejected shares. We feel its better transparency and easier to see what your miners are actually submitting

Thank you

I'll have to look for more information about what that means then :p
(and I wait to see in minera's thread what they say...)

I don't know then if my miners have under 1% HW error or over 40% :p

sixxkilur
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile WWW
November 30, 2015, 06:51:43 PM
 #469

done

Now I just have to wait for the update notification (I restarted cryptoglance after deleting the folder)

No need to wait open cryptoGlance via Desktop app or browser and then go to Tools > cryptoGlance Settings; from there click on check for updates now.

https://i.imgur.com/VZAvqhZ.png

My bad the option is not there in the version you have; you will have to tick Beta or Nightly. I run Nightly via Desktop App, Wamp, and IIS  so it seems stable. I have not encountered any bugs.
abokhalel2
Member
**
Offline Offline

Activity: 233
Merit: 10


View Profile
November 30, 2015, 06:56:21 PM
Last edit: November 30, 2015, 11:55:35 PM by abokhalel2
 #470

Thank you Cryptoglance, this software really helped me, and saved me lots of time. Thanks man!

I made a few changes to the overview section to make the software work best for me, Since I have several miners of different types, it takes me a lot of time to scroll up and down in order to check the temperature and the fan speed. Not to mention the fact that I'm accessing the software from TeamViewer, and the internet speed is not the best. Not to forget also that I'm quite lazy too Grin

So, I though, why don't I just make a few changes, and add the temperature and fan speed up in the overview section? I looked their, and I found two items that I could care less about: Algorithm and Active Pool. So, I deleted them, and I replaced them with the temperature and fan speed. Here is a look at my software after I made the changes:


In case someone is wondering how I did it, here are the steps (Hope you don't mind Cryptoglance me sharing this):

In windows, go to the software files, then go to "application" Typically as the following:
C --> Program Files --> cryptoGlance --> application
If you run your own php web server, go directly to the files.

Once you get there, we need to change four files:
(MAKE SURE YOU BACKUP YOUR FILES FIRST)

on v2.1.0.26 and older:
1. js --> dashboard --> RigCollection.js

on v2.1.0.28 and newer:
1. js --> dashboard --> Rig --> RigCollection.js

In this file, go to line 193 and replace the following:
Code:
           '<td>'+ overview.algorithm +'</td>' +
           '<td>'+ hashrate_avg +'</td>' +
           '<td>'+ hashrate_5s +'</td>' +
           '<td>'+ active_pool_url +'</td>' +
           '<td>'+ uptime +'</td>' +

To the following:
Code:
           '<td>'+ overview.tempo +'</td>' +
           '<td>'+ overview.fano +'</td>' +
           '<td>'+ hashrate_avg +'</td>' +
           '<td>'+ hashrate_5s +'</td>' +
           '<td>'+ uptime +'</td>' +

2. templates --> panels --> overview.php

Go to line 13, and replace the following:
Code:
               <th>Name</th>
               <th>Algorithm</th>
               <th>Hashrate avg</th>
               <th>Hashrate 5s</th>
               <th>Active Pool</th>
               <th>Uptime</th>

to the following:
Code:
                <th>Name</th>
               <th>Temperature</th>
               <th>Fan Speed</th>
               <th>Hashrate avg</th>
               <th>Hashrate 5s</th>
               <th>Uptime</th>

What we did so far is that we deactivated Algorithm and Active Pool, and added new ones Temperature and Fan Speed.
Now we need to add the values in the new ones. Here is how to do it:

on v2.1.0.26 and older, go to the following:
3. includes --> classes --> miners --> cgminer.php

scroll to line number 20, and you will find this:
Code:
    protected $_rigStatus = 'offline';
add under this line the following two lines:
Code:
    protected $_tempo = 0;
    protected $_fano = 0;

The same step should be done for v2.1.0.28 and newer, but on a different file:
3. includes --> classes --> miners --> abstract.php

Code:
    protected $_rigStatus = 'offline';
add under this line the following two lines:
Code:
    protected $_tempo = 0;
    protected $_fano = 0;


Now for both old and new versions, do these two steps for the following file :
4. includes --> classes --> miners --> cgminer.php

First, go to line number 45, and will will find this piece of code:
Code:
            'status' => $this->_rigStatus,

add under it these two lines:
Code:
            'tempo' => $this->_tempo,
            'fano' => $this->_fano,

Second, go to line number 624, you will fined this code:
Code:
                    // Get all fan speeds
                    if ($stat['fan_num'] && $stat['fan_num'] > 0) {
                        $this->_devs[$dKey]['fan_speeds'] = array();
                        for ($i = 1; $i <= $stat['fan_num']; $i++) {
                            if ($stat['fan'.$i] && $stat['fan'.$i] > 0) {
                                $this->_devs[$dKey]['fan_speeds'][] = $stat['fan'.$i];

replace it with this code:
Code:
                    // Get all fan speeds
                    if ($stat['fan_num'] && $stat['fan_num'] > 0) {
                        $this->_devs[$dKey]['fan_speeds'] = array();
                        $this->_fano = array();
                        for ($i = 1; $i <= $stat['fan_num']; $i++) {
                            if ($stat['fan'.$i] && $stat['fan'.$i] > 0) {
                                $this->_devs[$dKey]['fan_speeds'][] = $stat['fan'.$i];
                                $this->_fano[] =  ' ' . $stat['fan'.$i] . ' ' ;

Finally, go to line number 636. you will find the following code:
Code:
                    // Get all temperatures reported
                    if ($stat['temp_num'] && $stat['temp_num'] > 0) {
                        $this->_devs[$dKey]['temperatures'] = array();
                        for ($i = 1; $i <= $stat['temp_num']; $i++) {
                            if ($stat['temp'.$i] && $stat['temp'.$i] > 0) {
                                $this->_devs[$dKey]['temperatures'][] = $stat['temp'.$i];

Replace it with the following code:
Code:
                    // Get all temperatures reported
                    if ($stat['temp_num'] && $stat['temp_num'] > 0) {
                        $this->_devs[$dKey]['temperatures'] = array();
                        $this->_tempo = array();
                        for ($i = 1; $i <= $stat['temp_num']; $i++) {
                            if ($stat['temp'.$i] && $stat['temp'.$i] > 0) {
                                $this->_devs[$dKey]['temperatures'][] = $stat['temp'.$i];
                                $this->_tempo[] = ' ' . $stat['temp'.$i] . ' ';

That's it. Now it should display the fan and temperature values as the way in the picture.

Hope this helps someone  Cheesy
sixxkilur
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile WWW
November 30, 2015, 07:55:02 PM
 #471

Nice contribution;
You may want to update your guide to be more accurate to avoid confusion.

 Corrections:
 on v2.1.0.28
 
1. js --> dashboard --> Rigs --> RigCollection.js

 3. includes --> classes --> miners --> abstract.php

This file needs couple changes. First, scroll to line number 20, and you will find this:
Code:
protected $_rigStatus = 'offline';

includes --> classes --> miners --> cgminer.php
 Now go to line number 25, and will will find this piece of code:
 'status' => $this->_rigStatus,
 
 Go to line number 611, you will fined this code:
 
 Finally, go to line number 623. you will find the following code:
Mikestang
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000



View Profile
November 30, 2015, 10:19:32 PM
 #472

I made a few changes to the overview section to make the software work best for me,

Very nice!  Much more useful than the columns that you replaced.

Any chance of getting this in future release versions?  Code scares me, even when it's just a simple copy/paste exercise.
aarons6
Legendary
*
Offline Offline

Activity: 1736
Merit: 1006


View Profile
November 30, 2015, 10:49:28 PM
 #473

can someone point me to a howto or something so i can set this up on linux mint and browse with my browser from phone or other network pc?

i downloaded the source.. i setup the webserver, and installed the dependencies.sh
but where do i put these files? do i j ust throw the whole folder in /var/www/html?

EDIT, i did that and it worked.. lol.. easy.. but how do i open it up to listen on port so i can access it from phone
EDIT2, cksolo pool is missing from the drop down? is the source the same as the windows build?


You'll need to port forward to your machine with cryptoglance installed. Its different for every router manufacturer,  so google: ROUTERBRAND port forward

As for ckpool,  go into Settings in cryptoglance and enable updates

i did that, its 2.1 and says its up to date..
Mikestang
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000



View Profile
November 30, 2015, 10:58:41 PM
 #474

i did that, its 2.1 and says its up to date..

Click "nightly" on the app updates part of the options page, the save settings and it should prompt to update again, v2.1.0.28 is the most current version.
abokhalel2
Member
**
Offline Offline

Activity: 233
Merit: 10


View Profile
November 30, 2015, 11:39:52 PM
 #475

Nice contribution;
You may want to update your guide to be more accurate to avoid confusion.

 Corrections:
 on v2.1.0.28
 
1. js --> dashboard --> Rigs --> RigCollection.js

 3. includes --> classes --> miners --> abstract.php

This file needs couple changes. First, scroll to line number 20, and you will find this:
Code:
protected $_rigStatus = 'offline';

includes --> classes --> miners --> cgminer.php
 Now go to line number 25, and will will find this piece of code:
 'status' => $this->_rigStatus,
 
 Go to line number 611, you will fined this code:
 
 Finally, go to line number 623. you will find the following code:

Thanks for the correction, I didn't notice v2.1.0.28. I fixed the guide Wink
abokhalel2
Member
**
Offline Offline

Activity: 233
Merit: 10


View Profile
November 30, 2015, 11:47:17 PM
 #476

I made a few changes to the overview section to make the software work best for me,

Very nice!  Much more useful than the columns that you replaced.

Any chance of getting this in future release versions?  Code scares me, even when it's just a simple copy/paste exercise.

Thanks .. I hope too to see it in future releases.
cryptoglance (OP)
Sr. Member
****
Offline Offline

Activity: 298
Merit: 250


View Profile WWW
December 01, 2015, 03:25:22 AM
 #477

This gave me a good idea to have the ability to control what columns appear in overview. Might make it some kind of option... Going to put that on the plate

Mikestang
Legendary
*
Offline Offline

Activity: 1274
Merit: 1000



View Profile
December 02, 2015, 11:06:11 PM
Last edit: December 02, 2015, 11:44:38 PM by Mikestang
 #478

So I am having an issue with CG talking to my U3 that is now being controlled by an Antminer R1.  The R1 assigns port 4029 to the U3, but CG will not see the U3 no matter what I have done so far.  I have received some tips from Crazyguy here (I have posted some screen caps there as well) as to what may be the culprit, but I thought I would post here, too, and see if anyone else has already blazed this trail so I can just follow suit?  Otherwise I've got a bit of digging to do to figure this out.  Thanks.

Edit

I figured out how to see through the R1 to the U3 api, posting here as well in case anyone else runs into this problem.  You have to open port 4029 in the R1 lua interface under Network -> Firewall -> Traffic Rules.  There is already a rule existing for port 4028 (the R1 api port), so just make the same entry for port 4029 and you can access the U3 api.  Seems to me that they should have had this rule in the firmware already, but oh well, glad I got it going.




It's not hashing at the moment, but that's ok, this exercise was just to be able to monitor it via CG.
sixxkilur
Newbie
*
Offline Offline

Activity: 19
Merit: 0


View Profile WWW
December 03, 2015, 12:32:07 AM
 #479

This gave me a good idea to have the ability to control what columns appear in overview. Might make it some kind of option... Going to put that on the plate

Nice!
Ondart
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile
December 06, 2015, 04:47:07 PM
Last edit: December 06, 2015, 05:07:05 PM by Ondart
 #480

This is a pretty impressive tool. I've got it working on Ubuntu 15.10 (Wily) running lighttpd and php5. I've got v2.1.0.28 running and I successfully connected to the GHash.io Pool too. It took a minute or so for it to display the stats after initial pool configuration but its working nicely. The Android App is also impressive. I did notice on the Android App when you click the Navigation menu and select a menu item like Tools or Help the menu just goes away so those features don't seem to be working on Android.

I'm getting a low cost NUC soon to run as a full Bitcoin node and I intend to run ctyptoGlance on it with SSL and with my router configured with port forwarding for remote access. Thank you very much for such a useful tool. I am looking forward to future enhancements. And, I have sent a donation...  Grin

-Ondart

BTC: 171t96czWbGjYrccpgDjjgsD7HS3CCG135
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 32 33 34 35 36 »
  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!