Pages:
Author

Topic: ANUBIS - a CGMINER Web Frontend - page 9. (Read 83190 times)

legendary
Activity: 1795
Merit: 1208
This is not OK.
August 19, 2012, 01:22:10 PM
Thanks!  Just sent a little BTC donation to your address, p_shep.  Was a good codebase to get started with and build upon.  Thanks for all your hard work!

Now I just need to add some more clients!

2 things:

1. config.inc.php is missing - had to copy from my version (mybe there's a better way of doing this)
2. For those upgrading from existing installation, you need to add the extra columns to the database.
ZPK
legendary
Activity: 1302
Merit: 1021
August 19, 2012, 09:29:46 AM
possible add history session's ? and refresh via websockets?
hero member
Activity: 518
Merit: 500
Manateeeeeeees
August 19, 2012, 02:15:12 AM
Thanks!  Just sent a little BTC donation to your address, p_shep.  Was a good codebase to get started with and build upon.  Thanks for all your hard work!

Now I just need to add some more clients!
legendary
Activity: 1795
Merit: 1208
This is not OK.
August 17, 2012, 10:24:37 AM
Great stuff!

It needed working on by someone who knows what they're doing Smiley
hero member
Activity: 518
Merit: 500
Manateeeeeeees
August 17, 2012, 12:39:02 AM
I decided to fork this project and put some work into it.  Here's the github: https://github.com/hank/ANUBIS

I added AJAX updating to the index page (would be nice to port that other places too) with a configuration option for the update timer (defaults to 5 seconds, access in the config page).  It keeps it in the configuration table of the database like it should.  I update the schema, so it should be plug-and-play.  I also made it so if you put in fan speeds of zero for yellow and red, your fan readout will always be green (I keep my fans at 100% all the time, and I hate seeing red).  Also, someone suggested making temp colors red on zero readings - I did this for at least some temp readouts, but I'm sure there's some I missed.

I also did a BUNCH of work to the CSS and images for the theme.  Here's what I came up with:



More pics at: http://imgur.com/a/bevKh

I hope you all enjoy!
full member
Activity: 174
Merit: 100
July 19, 2012, 01:57:35 AM
It would be nice if ANUBIS marked a GPU temp column as red if the reported temp value = 0.
donator
Activity: 686
Merit: 519
It's for the children!
July 04, 2012, 04:04:23 PM
Thank You for this.
newbie
Activity: 27
Merit: 0
June 23, 2012, 06:28:53 PM
Error in configtbl.sql.php: lines 36 and 29 are to be deleted.
legendary
Activity: 1795
Merit: 1208
This is not OK.
June 06, 2012, 12:07:08 PM
Hmmm, AJAX eh?...

A quick google shows that is indeed what I would need. Something new for me to learn.
sr. member
Activity: 252
Merit: 250
Inactive
June 06, 2012, 06:30:10 AM
Hashrate in the tab, that's a good one.

Regarding the auto-refresh: I'm not much of a web developer and I don't know how to just update fields, only the inelegant whole page refresh. Messy, clunky, awkward, resource hungry, inefficient whole page refresh.

If you want to do it yourself you can add:


just below:


of index.php

I'll look into putting the total hashrate in the title.


A possibly approach for ajaxiness.

1.  Make an emitter php.  Have it output raw, mutable data possibly in JSON.
2.  Include JQuery.  Have JQuery do the ajaxy stuff (so simple.  I want to have JQuery's baby.).
3.  Javascript in the presentation pages to initiate 2 on a timer.

legendary
Activity: 1795
Merit: 1208
This is not OK.
May 30, 2012, 11:12:54 AM
That's cool. The problem with blockchain.info is that it includes unconfirmed transactions and orphans in the balance totals so it is WAY off.

It does? Ah well. I may change it if something better comes along. It'll do for now.
(I find it useful anyway Smiley )
hero member
Activity: 658
Merit: 500
May 30, 2012, 10:40:51 AM
That's cool. The problem with blockchain.info is that it includes unconfirmed transactions and orphans in the balance totals so it is WAY off.
legendary
Activity: 1795
Merit: 1208
This is not OK.
May 29, 2012, 02:35:54 PM
Updated again.

V2.3

Adds an accounts page, so you can add bitcoin addresses and retrieve a summary of the balances.
hero member
Activity: 658
Merit: 500
May 25, 2012, 12:40:22 PM
What I've done is to put each miner in a separate sub page so that if one miner goes down it doesn't make the whole page fail to load or take forever to time out.

I also added

Quote

to the top to do the auto refresh.
legendary
Activity: 1795
Merit: 1208
This is not OK.
May 24, 2012, 01:46:43 PM
Hashrate in the tab, that's a good one.

Regarding the auto-refresh: I'm not much of a web developer and I don't know how to just update fields, only the inelegant whole page refresh. Messy, clunky, awkward, resource hungry, inefficient whole page refresh.

If you want to do it yourself you can add:


just below:


of index.php

I'll look into putting the total hashrate in the title.
hero member
Activity: 988
Merit: 1000
May 24, 2012, 01:30:00 PM
P_Shep - nice work, could you place the hashrate in the tab shown between "Anubis -" and "a cgminer..." and an autorefresh timer.

Thanks
legendary
Activity: 1795
Merit: 1208
This is not OK.
May 14, 2012, 10:28:49 PM
Updated again with device details / notifications / stats page

(Kano doesn't want the stats displayed, so don't tell him I show them anyway Smiley )

Oh, and config saving doesn't work in CGminer yet, so you'll have to wait till the next version 2.4.2 for that.

Edit: in fact I just changed it so it's disabled until the next version.
legendary
Activity: 1795
Merit: 1208
This is not OK.
May 12, 2012, 05:44:49 PM
OK, done. Sorry about that, I'll be more careful about that in future.
legendary
Activity: 1260
Merit: 1000
May 12, 2012, 05:26:59 PM
Well... I'm not sure if you can back out a merge on Github, but in either event, I would recommend remerging everything without carriage returns.

What text editor are you using?  You should be able to set it to save in UNIX format instead of DOS format.
legendary
Activity: 1795
Merit: 1208
This is not OK.
May 12, 2012, 05:21:29 PM
Ah, I was wondering what that could be, make sense. Yeah sorry about that, not sure what I can do about it now :/
Pages:
Jump to: