Pages:
Author

Topic: cryptoGlance [v2.1] :: Open-source, self-hosted, multi-rig monitoring tool! - page 12. (Read 130293 times)

member
Activity: 78
Merit: 10
Hey cryptoglance,

I am curious about how cryptoGlance can pull in the specs of the Miners, like how the pool addresses, userids and password are configured, hash rate, fan speeds, etc., without authenticating to the Miner. Are these API calls from cryptoGlance to the miner basically publicly accessible to any systems on the local subnet? I haven't tried it yet but I expect that the options to change the pool configuration or reboot will prompt for the Miner userid and password? I am just curious about the behaviour of the Miner that cryptoGlance is leveraging.

-Ondart
member
Activity: 78
Merit: 10
Here are a couple of observations to help with your ongoing development of cryptoGlance:

- When I setup my GHash.IO Pool and configured the API on the GHash site to get my Userid, Key and Secret, I selected check boxes: 'Account Balance'; 'GHash.IO Hash Rate'; 'GHash.IO Workers'. The account balance does not display on the Dashboard; the Hash Rate, Workers and URL are displayed but there is no field or data shown for the balance. Is this by design or something that may need a future change?

- I use an Armory Wallet and keep my wallet with my private key on an relatively inexpensive Mini PC off-line (never touched the Internet) device. My Ubuntu computer only has Armory running with my public key(s) as a Watching Only wallet. When I go to cryptoGlance and attempt to set up my mining Wallet it asks for my public key. It looks as if Armory doesn't have a single public key for security reasons. It creates a new address for each transfer to the Wallet and there are as many addresses listed as one has received funds to the Wallet.

Reference: https://bitcointalksearch.org/topic/armory-wallet-question-1241860.

In this case it is not possible to use the cryptoGlance Wallet dashboard feature if one uses an Armory wallet. This doesn't sound like an easy resolution for that feature but I wanted to throw it out there for thought.

-Ondart
sr. member
Activity: 298
Merit: 250
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

Thank you Cheesy

We tried to deliver something useful to the bitcoin scene in the best way we know. Keep an eye out for new features Smiley
member
Activity: 78
Merit: 10
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
newbie
Activity: 19
Merit: 0
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!
legendary
Activity: 1274
Merit: 1000
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.
sr. member
Activity: 298
Merit: 250
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
member
Activity: 233
Merit: 10
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.
member
Activity: 233
Merit: 10
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
legendary
Activity: 1274
Merit: 1000
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.
legendary
Activity: 1736
Merit: 1006
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..
legendary
Activity: 1274
Merit: 1000
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.
newbie
Activity: 19
Merit: 0
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:
member
Activity: 233
Merit: 10
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:
          ''+ overview.algorithm +'' +
           ''+ hashrate_avg +'' +
           ''+ hashrate_5s +'' +
           ''+ active_pool_url +'' +
           ''+ uptime +'' +

To the following:
Code:
          ''+ overview.tempo +'' +
           ''+ overview.fano +'' +
           ''+ hashrate_avg +'' +
           ''+ hashrate_5s +'' +
           ''+ uptime +'' +

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

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

to the following:
Code:
               Name
               Temperature
               Fan Speed
               Hashrate avg
               Hashrate 5s
               Uptime

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
newbie
Activity: 19
Merit: 0
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.

http://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.
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
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
zOU
hero member
Activity: 728
Merit: 500
★ these are stars ★
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.

sr. member
Activity: 298
Merit: 250
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
newbie
Activity: 19
Merit: 0
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
Activity: 728
Merit: 500
★ these are stars ★
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)
Pages:
Jump to: